[aspect-devel] compilation error

John Naliboff jbnaliboff at ucdavis.edu
Wed Nov 2 23:35:06 PDT 2016


Hi Lev,

Does dealii example-32 compile with your latest dealii update?  That is a good indicator to see if the problem lies directly with the dealii installation, independent of ASPECT.

Cheers,
John

*************************************************
John Naliboff
Assistant Project Scientist, CIG
Earth & Planetary Sciences Dept., UC Davis



> On Nov 2, 2016, at 9:36 AM, Lev Karatun <lev.karatun at gmail.com> wrote:
> 
> Hi John,
> 
> I'm using the latest version of dealII (commit 0e395a1 - 16 hours ago), updated it just before updating aspect. Trilinos version is 11.12.1. I donwnloaded aspect into a separate empty directory, it doesn't compile from there.
> 
> Best regards,
> Lev Karatun.
> 
> 2016-11-02 12:00 GMT-04:00 John Naliboff <jbnaliboff at ucdavis.edu <mailto:jbnaliboff at ucdavis.edu>>:
> 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 <mailto:Aspect-devel at geodynamics.org>
>> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel <http://lists.geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel>
> 
> _______________________________________________
> Aspect-devel mailing list
> Aspect-devel at geodynamics.org <mailto:Aspect-devel at geodynamics.org>
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel <http://lists.geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel>
> 
> _______________________________________________
> Aspect-devel mailing list
> Aspect-devel at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20161102/067bf9f2/attachment-0001.html>


More information about the Aspect-devel mailing list