[deal.II] Re: error running after update
Daniel, Denis, Thanks for all your help. I did re-install the current development version. Problem was with the new update on command line tools in XCode, so with the current development version and downgrading the command line tools and xcode for now has worked. On Tuesday, April 24, 2018 at 11:07:00 PM UTC+1, Denis Davydov wrote: > > p.s. given recent updates to petsc/slepc 3.9 you would need to install a > current development version of deal.II, i.e. > spack install dealii@develop > The soon-to-be-release 9.0 will support new petsc/slepc. > > On Wednesday, April 25, 2018 at 12:04:06 AM UTC+2, Denis Davydov wrote: >> >> @Jane >> >> If you need to get it going soon, try following >> https://github.com/dealii/dealii/wiki/deal.II-in-Spack >> Roughly it's only 3 steps (assuming that you have XCode and command-line >> tools): >> 1. install gcc with spack >> 2. configure gfortran to be used with clang >> http://spack.readthedocs.io/en/latest/getting_started.html#mixed-toolchains >> >> 3. install dealii >> >> Let me know if you have issues, I am running this setup on the latest >> XCode/ Apple's clang without issues. >> >> @Daniel >> >> It's used from the pre-build app by Luca >> >> Denis. >> >> On Tuesday, April 24, 2018 at 5:36:21 PM UTC+2, Daniel Arndt wrote: >>> >>> Jane, >>> >>> this looks like you are using a compiler (clang on macOS?) that doesn't >>> define std::auto_ptr anymore and the used boost library doesn't detect this. >>> A recent developer version (there will soon be a release) should >>> circumvent the problem. >>> How did you install deal.II? Are you using spack directly or a >>> pre-compiled package? >>> If you are using spack directly you should just rerun it to get a recent >>> developer version. >>> >>> Best, >>> Daniel >>> >>> >>> Am Dienstag, 24. April 2018 16:14:51 UTC+2 schrieb Jane Lee: Hi all, I'm unfortunately not very good with computers and the nitty gritty details of the things that go on behind the program. I'm running dealii-9.0 instead of 8.5.1 because i did a system update and 8.5.1 wasn't working. I stupidly did a minor update forgetting that i had issues after updates previously, and the same code which i was running fine just before the update and restart is now not working when 'make run' is done. The error is a bit too complicated for me to understand... can anyone help? Am desperate to get things up and running In file included from /Applications/deal.II-9.0-spack.app/Contents/Resources/include/deal.II/base/convergence_table.h:21: In file included from /Applications/deal.II-9.0-spack.app/Contents/Resources/include/deal.II/base/table_handler.h:31: In file included from /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/serialization/map.hpp:24: In file included from /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/archive/detail/basic_iarchive.hpp:23: In file included from /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/scoped_ptr.hpp:14: */Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/smart_ptr/scoped_ptr.hpp:74:31: **error: * * no template named 'auto_ptr' in namespace 'std'* explicit scoped_ptr( std::auto_ptr p ) BOOST_NOEXCEPT : px( p.release() ) * ~^* In file included from /Users/janelee/Documents/fullmodel/full_solver/final/stokes.cc:7: In file included from /Applications/deal.II-9.0-spack.app/Contents/Resources/include/deal.II/base/convergence_table.h:21: In file included from /Applications/deal.II-9.0-spack.app/Contents/Resources/include/deal.II/base/table_handler.h:31: In file included from /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/serialization/map.hpp:24: In file included from /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/archive/detail/basic_iarchive.hpp:28: In file included from /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/archive/detail/helper_collection.hpp:27: In file included from /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/smart_ptr/shared_ptr.hpp:28: */Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/smart_ptr/detail/shared_count.hpp:402:33: **error: * * no template named 'auto_ptr' in namespace 'std'* explicit shared_count( std::auto_ptr & r ): pi_( new sp_counted_i... * ~^* In file included from /Users/janelee/Documents/fullmodel/full_solver/final/stokes.cc:7: In file inclu
[deal.II] Re: error running after update
p.s. given recent updates to petsc/slepc 3.9 you would need to install a current development version of deal.II, i.e. spack install dealii@develop The soon-to-be-release 9.0 will support new petsc/slepc. On Wednesday, April 25, 2018 at 12:04:06 AM UTC+2, Denis Davydov wrote: > > @Jane > > If you need to get it going soon, try following > https://github.com/dealii/dealii/wiki/deal.II-in-Spack > Roughly it's only 3 steps (assuming that you have XCode and command-line > tools): > 1. install gcc with spack > 2. configure gfortran to be used with clang > http://spack.readthedocs.io/en/latest/getting_started.html#mixed-toolchains > > 3. install dealii > > Let me know if you have issues, I am running this setup on the latest > XCode/ Apple's clang without issues. > > @Daniel > > It's used from the pre-build app by Luca > > Denis. > > On Tuesday, April 24, 2018 at 5:36:21 PM UTC+2, Daniel Arndt wrote: >> >> Jane, >> >> this looks like you are using a compiler (clang on macOS?) that doesn't >> define std::auto_ptr anymore and the used boost library doesn't detect this. >> A recent developer version (there will soon be a release) should >> circumvent the problem. >> How did you install deal.II? Are you using spack directly or a >> pre-compiled package? >> If you are using spack directly you should just rerun it to get a recent >> developer version. >> >> Best, >> Daniel >> >> >> Am Dienstag, 24. April 2018 16:14:51 UTC+2 schrieb Jane Lee: >>> >>> Hi all, >>> I'm unfortunately not very good with computers and the nitty gritty >>> details of the things that go on behind the program. >>> I'm running dealii-9.0 instead of 8.5.1 because i did a system update >>> and 8.5.1 wasn't working. >>> I stupidly did a minor update forgetting that i had issues after updates >>> previously, and the same code which i was running fine just before the >>> update and restart is now not working when 'make run' is done. >>> The error is a bit too complicated for me to understand... >>> can anyone help? Am desperate to get things up and running >>> >>> In file included from >>> /Applications/deal.II-9.0-spack.app/Contents/Resources/include/deal.II/base/convergence_table.h:21: >>> >>> In file included from >>> /Applications/deal.II-9.0-spack.app/Contents/Resources/include/deal.II/base/table_handler.h:31: >>> >>> In file included from >>> /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/serialization/map.hpp:24: >>> >>> In file included from >>> /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/archive/detail/basic_iarchive.hpp:23: >>> >>> In file included from >>> /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/scoped_ptr.hpp:14: >>> >>> */Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/smart_ptr/scoped_ptr.hpp:74:31: >>> >>> **error: * >>> >>> * no template named 'auto_ptr' in namespace 'std'* >>> >>> explicit scoped_ptr( std::auto_ptr p ) BOOST_NOEXCEPT : px( >>> p.release() ) >>> >>> * ~^* >>> >>> In file included from >>> /Users/janelee/Documents/fullmodel/full_solver/final/stokes.cc:7: >>> >>> In file included from >>> /Applications/deal.II-9.0-spack.app/Contents/Resources/include/deal.II/base/convergence_table.h:21: >>> >>> In file included from >>> /Applications/deal.II-9.0-spack.app/Contents/Resources/include/deal.II/base/table_handler.h:31: >>> >>> In file included from >>> /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/serialization/map.hpp:24: >>> >>> In file included from >>> /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/archive/detail/basic_iarchive.hpp:28: >>> >>> In file included from >>> /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/archive/detail/helper_collection.hpp:27: >>> >>> In file included from >>> /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/smart_ptr/shared_ptr.hpp:28: >>> >>> */Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/smart_ptr/detail/shared_count.hpp:402:33: >>> >>> **error: * >>> >>> * no template named 'auto_ptr' in namespace 'std'* >>> >>> explicit shared_count( std::auto_ptr & r ): pi_( new >>> sp_counted_i... >>> >>> * ~^* >>> >>> In file included from >>> /Users/janelee/Documents/fullmodel/full_solver/final/stokes.cc:7: >>> >>> In file included from >>> /Applications/deal.II-9.0-spack.app/Contents/Resources/include/deal.II/base/convergence_table.h:21: >>> >>> In file included from >>> /Applications/deal.II-9.0-spack.app/Contents/Resources/include/deal.II/base/table_handler.h:31: >>> >>> In file included from >>> /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/serialization/map.hpp:24: >>> >>> In file included from >>> /Applications/deal.II-9.0-spack.app/Contents/Res
[deal.II] Re: error running after update
@Jane If you need to get it going soon, try following https://github.com/dealii/dealii/wiki/deal.II-in-Spack Roughly it's only 3 steps (assuming that you have XCode and command-line tools): 1. install gcc with spack 2. configure gfortran to be used with clang http://spack.readthedocs.io/en/latest/getting_started.html#mixed-toolchains 3. install dealii Let me know if you have issues, I am running this setup on the latest XCode/ Apple's clang without issues. @Daniel It's used from the pre-build app by Luca Denis. On Tuesday, April 24, 2018 at 5:36:21 PM UTC+2, Daniel Arndt wrote: > > Jane, > > this looks like you are using a compiler (clang on macOS?) that doesn't > define std::auto_ptr anymore and the used boost library doesn't detect this. > A recent developer version (there will soon be a release) should > circumvent the problem. > How did you install deal.II? Are you using spack directly or a > pre-compiled package? > If you are using spack directly you should just rerun it to get a recent > developer version. > > Best, > Daniel > > > Am Dienstag, 24. April 2018 16:14:51 UTC+2 schrieb Jane Lee: >> >> Hi all, >> I'm unfortunately not very good with computers and the nitty gritty >> details of the things that go on behind the program. >> I'm running dealii-9.0 instead of 8.5.1 because i did a system update and >> 8.5.1 wasn't working. >> I stupidly did a minor update forgetting that i had issues after updates >> previously, and the same code which i was running fine just before the >> update and restart is now not working when 'make run' is done. >> The error is a bit too complicated for me to understand... >> can anyone help? Am desperate to get things up and running >> >> In file included from >> /Applications/deal.II-9.0-spack.app/Contents/Resources/include/deal.II/base/convergence_table.h:21: >> >> In file included from >> /Applications/deal.II-9.0-spack.app/Contents/Resources/include/deal.II/base/table_handler.h:31: >> >> In file included from >> /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/serialization/map.hpp:24: >> >> In file included from >> /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/archive/detail/basic_iarchive.hpp:23: >> >> In file included from >> /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/scoped_ptr.hpp:14: >> >> */Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/smart_ptr/scoped_ptr.hpp:74:31: >> >> **error: * >> >> * no template named 'auto_ptr' in namespace 'std'* >> >> explicit scoped_ptr( std::auto_ptr p ) BOOST_NOEXCEPT : px( >> p.release() ) >> >> * ~^* >> >> In file included from >> /Users/janelee/Documents/fullmodel/full_solver/final/stokes.cc:7: >> >> In file included from >> /Applications/deal.II-9.0-spack.app/Contents/Resources/include/deal.II/base/convergence_table.h:21: >> >> In file included from >> /Applications/deal.II-9.0-spack.app/Contents/Resources/include/deal.II/base/table_handler.h:31: >> >> In file included from >> /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/serialization/map.hpp:24: >> >> In file included from >> /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/archive/detail/basic_iarchive.hpp:28: >> >> In file included from >> /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/archive/detail/helper_collection.hpp:27: >> >> In file included from >> /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/smart_ptr/shared_ptr.hpp:28: >> >> */Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/smart_ptr/detail/shared_count.hpp:402:33: >> >> **error: * >> >> * no template named 'auto_ptr' in namespace 'std'* >> >> explicit shared_count( std::auto_ptr & r ): pi_( new >> sp_counted_i... >> >> * ~^* >> >> In file included from >> /Users/janelee/Documents/fullmodel/full_solver/final/stokes.cc:7: >> >> In file included from >> /Applications/deal.II-9.0-spack.app/Contents/Resources/include/deal.II/base/convergence_table.h:21: >> >> In file included from >> /Applications/deal.II-9.0-spack.app/Contents/Resources/include/deal.II/base/table_handler.h:31: >> >> In file included from >> /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/serialization/map.hpp:24: >> >> In file included from >> /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/archive/detail/basic_iarchive.hpp:28: >> >> In file included from >> /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/archive/detail/helper_collection.hpp:27: >> >> */Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/smart_ptr/shared_ptr.hpp:255:65: >> >> **error: * >> >> * no member named 'auto_ptr' in namespace 'st
[deal.II] Re: error running after update
Jane, this looks like you are using a compiler (clang on macOS?) that doesn't define std::auto_ptr anymore and the used boost library doesn't detect this. A recent developer version (there will soon be a release) should circumvent the problem. How did you install deal.II? Are you using spack directly or a pre-compiled package? If you are using spack directly you should just rerun it to get a recent developer version. Best, Daniel Am Dienstag, 24. April 2018 16:14:51 UTC+2 schrieb Jane Lee: > > Hi all, > I'm unfortunately not very good with computers and the nitty gritty > details of the things that go on behind the program. > I'm running dealii-9.0 instead of 8.5.1 because i did a system update and > 8.5.1 wasn't working. > I stupidly did a minor update forgetting that i had issues after updates > previously, and the same code which i was running fine just before the > update and restart is now not working when 'make run' is done. > The error is a bit too complicated for me to understand... > can anyone help? Am desperate to get things up and running > > In file included from > /Applications/deal.II-9.0-spack.app/Contents/Resources/include/deal.II/base/convergence_table.h:21: > > In file included from > /Applications/deal.II-9.0-spack.app/Contents/Resources/include/deal.II/base/table_handler.h:31: > > In file included from > /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/serialization/map.hpp:24: > > In file included from > /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/archive/detail/basic_iarchive.hpp:23: > > In file included from > /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/scoped_ptr.hpp:14: > > */Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/smart_ptr/scoped_ptr.hpp:74:31: > > **error: * > > * no template named 'auto_ptr' in namespace 'std'* > > explicit scoped_ptr( std::auto_ptr p ) BOOST_NOEXCEPT : px( > p.release() ) > > * ~^* > > In file included from > /Users/janelee/Documents/fullmodel/full_solver/final/stokes.cc:7: > > In file included from > /Applications/deal.II-9.0-spack.app/Contents/Resources/include/deal.II/base/convergence_table.h:21: > > In file included from > /Applications/deal.II-9.0-spack.app/Contents/Resources/include/deal.II/base/table_handler.h:31: > > In file included from > /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/serialization/map.hpp:24: > > In file included from > /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/archive/detail/basic_iarchive.hpp:28: > > In file included from > /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/archive/detail/helper_collection.hpp:27: > > In file included from > /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/smart_ptr/shared_ptr.hpp:28: > > */Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/smart_ptr/detail/shared_count.hpp:402:33: > > **error: * > > * no template named 'auto_ptr' in namespace 'std'* > > explicit shared_count( std::auto_ptr & r ): pi_( new > sp_counted_i... > > * ~^* > > In file included from > /Users/janelee/Documents/fullmodel/full_solver/final/stokes.cc:7: > > In file included from > /Applications/deal.II-9.0-spack.app/Contents/Resources/include/deal.II/base/convergence_table.h:21: > > In file included from > /Applications/deal.II-9.0-spack.app/Contents/Resources/include/deal.II/base/table_handler.h:31: > > In file included from > /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/serialization/map.hpp:24: > > In file included from > /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/archive/detail/basic_iarchive.hpp:28: > > In file included from > /Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/archive/detail/helper_collection.hpp:27: > > */Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/smart_ptr/shared_ptr.hpp:255:65: > > **error: * > > * no member named 'auto_ptr' in namespace 'std'* > > template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr... > > * ~^* > > */Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/smart_ptr/shared_ptr.hpp:255:75: > > **error: * > > * 'T' does not refer to a value* > > ...class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, > R > > > * ^* > > */Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/smart_ptr/shared_ptr.hpp:255:17: > > **note: * > > declared here > > template< class T, class R > struct sp_enable_if_auto_ptr< std::au