[aspect-devel] compilation error

Lev Karatun lev.karatun at gmail.com
Wed Nov 2 09:55:49 PDT 2016


Hi Timo,

it's attached.

Best regards,
Lev Karatun.

2016-11-02 12:34 GMT-04:00 Timo Heister <heister at clemson.edu>:

> 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=c08Btfq4m9QEScXN3ZQwLZzzWQE7S8
> CYq1IYuzKV_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/
> _______________________________________________
> 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/464db05c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: detailed.log
Type: application/octet-stream
Size: 7573 bytes
Desc: not available
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20161102/464db05c/attachment-0001.obj>


More information about the Aspect-devel mailing list