[aspect-devel] compilation error

Timo Heister heister at clemson.edu
Wed Nov 2 09:34:19 PDT 2016


Can you please post your detailed.log from your deal.II build
directory? That will show us what compiler/settings you are using.

On Wed, Nov 2, 2016 at 12:00 PM, John Naliboff <jbnaliboff at ucdavis.edu> wrote:
> Hi Lev,
>
> What Trilinos and dealii version are you using?  If you are using the
> development version of dealii, when was the last update?  Also, did you do
> 'make distclean' before reconfiguring and compiling ASPECT?  I'm not sure
> what the error below is related to, but the aforementioned information is
> always helpful when debugging an installation issue.
>
> Cheers,
> John
>
>
> *************************************************
> John Naliboff
> Assistant Project Scientist, CIG
> Earth & Planetary Sciences Dept., UC Davis
>
> On 11/02/2016 06:45 AM, Lev Karatun wrote:
>
> Hi,
>
> I was trying to update Aspect to the latest version and got the following
> error:
>
> [  0%] Building CXX object CMakeFiles/aspect.dir/source/simulator/core.cc.o
> In file included from
> /home/lev/aspect/aspect_debug/include/aspect/simulator.h:30,
>                  from
> /home/lev/aspect/aspect_debug/source/simulator/core.cc:22:
> /home/lev/aspect/dealii_debug/include/deal.II/lac/trilinos_block_vector.h:
> In member function ‘void std::vector<_Tp, _Alloc>::resize(size_t, _Tp) [with
> _Tp = dealii::TrilinosWrappers::Vector, _Alloc =
> std::allocator<dealii::TrilinosWrappers::Vector>]’:
> /home/lev/aspect/dealii_debug/include/deal.II/lac/trilinos_block_vector.h:399:
> warning: ‘dealii::TrilinosWrappers::Vector::Vector()’ is deprecated
> (declared at
> /home/lev/aspect/dealii_debug/include/deal.II/lac/trilinos_vector.h:770)
> In file included from /home/lev/aspect/trilinos/include/Amesos.h:34,
>                  from
> /home/lev/aspect/dealii_debug/include/deal.II/lac/trilinos_solver.h:34,
>                  from
> /home/lev/aspect/dealii_debug/include/deal.II/lac/generic_linear_algebra.h:143,
>                  from
> /home/lev/aspect/aspect_debug/include/aspect/global.h:35,
>                  from
> /home/lev/aspect/aspect_debug/include/aspect/simulator.h:42,
>                  from
> /home/lev/aspect/aspect_debug/source/simulator/core.cc:22:
> /home/lev/aspect/trilinos/include/Amesos_BaseSolver.h: At global scope:
> /home/lev/aspect/trilinos/include/Amesos_BaseSolver.h:410: warning: unused
> parameter ‘paramList’
> /home/lev/aspect/trilinos/include/Amesos_BaseSolver.h:432: warning: unused
> parameter ‘TimingParameterList’
> In file included from
> /home/lev/aspect/dealii_debug/include/deal.II/base/parameter_handler.h:24,
>                  from
> /home/lev/aspect/aspect_debug/include/aspect/simulator.h:26,
>                  from
> /home/lev/aspect/aspect_debug/source/simulator/core.cc:22:
> /home/lev/aspect/dealii_debug/include/deal.II/bundled/boost/smart_ptr/scoped_ptr.hpp:
> In copy constructor ‘dealii::std_cxx11::unique_ptr<dealii::Mapping<2, 2>
>>::unique_ptr(const dealii::std_cxx11::unique_ptr<dealii::Mapping<2, 2>
>>&)’:
> /home/lev/aspect/dealii_debug/include/deal.II/base/std_cxx11/unique_ptr.h:60:
> instantiated from ‘aspect::Simulator<dim>::Simulator(ompi_communicator_t*,
> dealii::ParameterHandler&) [with int dim = 2]’
> /home/lev/aspect/aspect_debug/source/simulator/core.cc:2471:   instantiated
> from here
> /home/lev/aspect/dealii_debug/include/deal.II/bundled/boost/smart_ptr/scoped_ptr.hpp:47:
> error: ‘boost::scoped_ptr<T>::scoped_ptr(const boost::scoped_ptr<T>&) [with
> T = dealii::Mapping<2, 2>]’ is private
> /home/lev/aspect/dealii_debug/include/deal.II/base/std_cxx11/unique_ptr.h:60:
> error: within this context
> /home/lev/aspect/aspect_debug/source/simulator/core.cc: In constructor
> ‘aspect::Simulator<dim>::Simulator(ompi_communicator_t*,
> dealii::ParameterHandler&) [with int dim = 2]’:
> /home/lev/aspect/aspect_debug/source/simulator/core.cc:2471:   instantiated
> from here
> /home/lev/aspect/aspect_debug/source/simulator/core.cc:218: note:
> synthesized method ‘dealii::std_cxx11::unique_ptr<dealii::Mapping<2, 2>
>>::unique_ptr(const dealii::std_cxx11::unique_ptr<dealii::Mapping<2, 2> >&)’
> first required here
> In file included from
> /home/lev/aspect/dealii_debug/include/deal.II/base/parameter_handler.h:24,
>                  from
> /home/lev/aspect/aspect_debug/include/aspect/simulator.h:26,
>                  from
> /home/lev/aspect/aspect_debug/source/simulator/core.cc:22:
> /home/lev/aspect/dealii_debug/include/deal.II/bundled/boost/smart_ptr/scoped_ptr.hpp:
> In copy constructor ‘dealii::std_cxx11::unique_ptr<dealii::Mapping<3, 3>
>>::unique_ptr(const dealii::std_cxx11::unique_ptr<dealii::Mapping<3, 3>
>>&)’:
> /home/lev/aspect/dealii_debug/include/deal.II/base/std_cxx11/unique_ptr.h:60:
> instantiated from ‘aspect::Simulator<dim>::Simulator(ompi_communicator_t*,
> dealii::ParameterHandler&) [with int dim = 3]’
> /home/lev/aspect/aspect_debug/source/simulator/core.cc:2471:   instantiated
> from here
> /home/lev/aspect/dealii_debug/include/deal.II/bundled/boost/smart_ptr/scoped_ptr.hpp:47:
> error: ‘boost::scoped_ptr<T>::scoped_ptr(const boost::scoped_ptr<T>&) [with
> T = dealii::Mapping<3, 3>]’ is private
> /home/lev/aspect/dealii_debug/include/deal.II/base/std_cxx11/unique_ptr.h:60:
> error: within this context
> /home/lev/aspect/aspect_debug/source/simulator/core.cc: In constructor
> ‘aspect::Simulator<dim>::Simulator(ompi_communicator_t*,
> dealii::ParameterHandler&) [with int dim = 3]’:
> /home/lev/aspect/aspect_debug/source/simulator/core.cc:2471:   instantiated
> from here
> /home/lev/aspect/aspect_debug/source/simulator/core.cc:218: note:
> synthesized method ‘dealii::std_cxx11::unique_ptr<dealii::Mapping<3, 3>
>>::unique_ptr(const dealii::std_cxx11::unique_ptr<dealii::Mapping<3, 3> >&)’
> first required here
> /home/lev/aspect/dealii_debug/include/deal.II/bundled/boost/system/error_code.hpp:
> At global scope:
> /home/lev/aspect/dealii_debug/include/deal.II/bundled/boost/system/error_code.hpp:221:
> warning: ‘boost::system::posix_category’ defined but not used
> /home/lev/aspect/dealii_debug/include/deal.II/bundled/boost/system/error_code.hpp:222:
> warning: ‘boost::system::errno_ecat’ defined but not used
> /home/lev/aspect/dealii_debug/include/deal.II/bundled/boost/system/error_code.hpp:223:
> warning: ‘boost::system::native_ecat’ defined but not used
> make[2]: *** [CMakeFiles/aspect.dir/source/simulator/core.cc.o] Error 1
> make[1]: *** [CMakeFiles/aspect.dir/all] Error 2
> make: *** [all] Error 2
>
> Tips on how to solve it would be appreciated.
>
> Best regards,
> Lev Karatun.
>
>
> _______________________________________________
> Aspect-devel mailing list
> Aspect-devel at geodynamics.org
> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.geodynamics.org_cgi-2Dbin_mailman_listinfo_aspect-2Ddevel&d=CwIFaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=c08Btfq4m9QEScXN3ZQwLZzzWQE7S8CYq1IYuzKV_Zk&m=sG5zs-MssNAki6AoJRSXnOd8lnZ2bTe7bzYIj6rACMg&s=lWFdAvA2UoEemNQpJUKtwxvxX8EQ0yAK-8FTD4Ql1Wk&e= 
>
>
>
> _______________________________________________
> Aspect-devel mailing list
> Aspect-devel at geodynamics.org
> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.geodynamics.org_cgi-2Dbin_mailman_listinfo_aspect-2Ddevel&d=CwIGaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=R5lvg9JC99XvuTgScgbY_QFS80R7PEA2q0EPwDy7VQw&m=OIIEI8hxr1JRrRi4Ei99VvnoHw-rMaGpCXN5gB4y0KY&s=deLeS1iORFsQapfDDlK1jY2ggkY2jGekbwNjNh4PxfA&e=



-- 
Timo Heister
http://www.math.clemson.edu/~heister/


More information about the Aspect-devel mailing list