[aspect-devel] compilation error
Timo Heister
heister at clemson.edu
Thu Nov 3 05:21:33 PDT 2016
> This may not help but as a last attempt, try building with CXX11 support.
> The cmake flag is:
>
> -DDEAL_II_WITH_CXX11=ON
This is on by default so I assume it got disabled automatically
because his compiler is too old to support it.
On Thu, Nov 3, 2016 at 8:19 AM, Timo Heister <heister at clemson.edu> wrote:
> Lev, John,
>
> this is a bug in ASPECT when compiling with an old compiler without
> c++11 support. We will get this fixed as soon as possible.
>
>
>
> On Thu, Nov 3, 2016 at 2:35 AM, John Naliboff <jbnaliboff at ucdavis.edu> wrote:
>> 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>:
>>>
>>> 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=syxgWvWwIaL0Qr_hsPI90TnRuFsyMyEcb4OEIwaMybE&s=G5gPR8_CRWvpRyCcP0237nJcyqAG7xa2si02at4gU5o&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=CwIFaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=c08Btfq4m9QEScXN3ZQwLZzzWQE7S8CYq1IYuzKV_Zk&m=syxgWvWwIaL0Qr_hsPI90TnRuFsyMyEcb4OEIwaMybE&s=G5gPR8_CRWvpRyCcP0237nJcyqAG7xa2si02at4gU5o&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=CwIFaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=c08Btfq4m9QEScXN3ZQwLZzzWQE7S8CYq1IYuzKV_Zk&m=syxgWvWwIaL0Qr_hsPI90TnRuFsyMyEcb4OEIwaMybE&s=G5gPR8_CRWvpRyCcP0237nJcyqAG7xa2si02at4gU5o&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=hQ2ClMQtaiXOLdBNbZSCUQKZqCsXZT517zxswRk1j-s&s=XRsatNYOGKjztBbXCCQNnZADxPi7Ehgp7vphUTYhDSc&e=
>
>
> --
> Timo Heister
> http://www.math.clemson.edu/~heister/
--
Timo Heister
http://www.math.clemson.edu/~heister/
More information about the Aspect-devel
mailing list