Re: [deal.II] Building issue: undefined reference to SolutionTransfer

2018-04-24 Thread Jie Cheng
Hi Timo

Thanks for your help! I disabled DEAL_II_WITH_THREADS and now it runs fine!
Just out of curiosity, what do I lose with it disabled? What additional
library do I need to build if I want to have it? (Internet is banned on the
cluster I use, everything has to be built from source.)

Best
Jie

On Tue, Apr 24, 2018 at 12:01 PM Timo Heister  wrote:

> can you post your detailed.log?
>
> If a tutorial like step-1 crashes, please
> 1. check the dynamic libraries by doing "ldd step-1" and post the
> output. Maybe you have conflicting libraries you are linking.
> 2. run under gdb: "gdb step-1" then "run" then "backtrace" to see
> where you crash.
>
>
> On Mon, Apr 23, 2018 at 8:49 PM, Jie Cheng  wrote:
> > Hi Wolfgang
> >
> > Sorry for not updating this issue for so long. I've been developing on my
> > local machine until recently I started to test my code on cluster again.
> > This issue has not been resolved, linking to SolutionTransfer will fail
> if I
> > build static library (solution_transfer is compiled). But now I tried to
> > build shared libraries instead. I did a minimum build of dealii (using
> all
> > of the default building options), configuration, compiling and linking
> went
> > smoothly without any error. But I could not run any tutorial, all of them
> > gave me segmentation fault immediately (no useful info, only segment
> fault).
> > I was not even able to run a "hello world" problem if I link it with
> dealii.
> > Building in debug mode did not help. I completely have no clue how this
> > could happen. Can you please point me a direction to understand the
> problem?
> >
> > The source code I used is up-to-date (SHA: 3d0c7ab699dace76);
> > System is Scientific Linux 6.9 (Carbon)
> > gcc version is 7.3.0
> >
> > I've attached my CMakeCache and summary.log.
> >
> > Thank you!
> > Jie
> >
> >
> > --
> > The deal.II project is located at
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.dealii.org_=DwIBaQ=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw=TjzN-LMQUtQJoM1bxgcw94aP7tCtQ2r10bl2qQSpDPw=POnss3ormS1XXiqg54YqF_mukzlGpflHaAItgpvWE3Y=
> > For mailing list/forum options, see
> >
> https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_forum_dealii-3Fhl-3Den=DwIBaQ=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw=TjzN-LMQUtQJoM1bxgcw94aP7tCtQ2r10bl2qQSpDPw=GYouR_JzJGhPjFcghkqeOFIAY5ZDJ9D4zi4F_JqIRlo=
> > ---
> > You received this message because you are subscribed to the Google Groups
> > "deal.II User Group" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to dealii+unsubscr...@googlegroups.com.
> > For more options, visit
> https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout=DwIBaQ=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw=TjzN-LMQUtQJoM1bxgcw94aP7tCtQ2r10bl2qQSpDPw=rxGsQICkV6INJ7F-q3Zq9rk0AX9DimjYhTfWbSoLGIg=
> .
>
>
>
> --
> Timo Heister
> http://www.math.clemson.edu/~heister/
>
> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see
> https://groups.google.com/d/forum/dealii?hl=en
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "deal.II User Group" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/dealii/Ea-kSSnwLYg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> dealii+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[deal.II] Candi -ubuntu 17.10.1

2018-04-24 Thread feapman
Dear Prof. Bangerth, dear Dr. Köcher, dear Dealii Team,

I would like to know, In Ubuntu *17.10.1*,  can I use Candi. sh during 
installation without any bugs? 


Best regards,

Yaakov

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[deal.II] Re: error running after update

2018-04-24 Thread Denis Davydov
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 
>>> 

[deal.II] Re: error running after update

2018-04-24 Thread Denis Davydov
@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 

[deal.II] Release preparations

2018-04-24 Thread Matthias Maier
All,
 

we would like to start the release process for deal.II 9.0 soon. Please let us 
know if you have any last minute things that need to be addressed (bugs,
 
documentation issues, configuration problems, etc.).
 

If you are running the current development version, please update your local
 
working copy and test if everything compiles, especially if you are running a   
 
less common configuration (mac, old compilers, etc.).   
 

Thanks!

Matthias (on behalf of the whole developer team)

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[deal.II] Publications based on deal.II

2018-04-24 Thread Wolfgang Bangerth


All,

as you may know, we try to list all publications based on deal.II at
 http://dealii.org/publications.html
We use this list to justify the effort we spend on writing this 
software, both to our universities as well as the funding agencies that 
support its development.


In anticipation of the next release, we would like to update this page. 
If you have (or know of) a publication that uses deal.II for numerical 
results and that isn't already listed, please let us know so we can put 
it on there. For this purpose, publications also include MSc, Diploma or 
PhD theses, or anything else that may seem appropriate.


Thanks!
  Wolfgang

--

Wolfgang Bangerth  email: bange...@colostate.edu
   www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [deal.II] Modify quadrature weights on a per-cell basis?

2018-04-24 Thread Wolfgang Bangerth

On 04/24/2018 10:05 AM, Timo Heister wrote:

There are a few exceptions like get_function_values() that depend on
the quadrature weights,


Nah, that's not actually true :-) It's really only the JxW functions 
that make use of the quadrature weights.


Best
 W.

--

Wolfgang Bangerth  email: bange...@colostate.edu
   www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [deal.II] Modify quadrature weights on a per-cell basis?

2018-04-24 Thread Timo Heister
> I'm wondering if it's possible/straightforward to have per-cell quadrature
> weights? I want to keep the quadrature positions the same but update the
> quadrature weights.

If you only have a few different sets of quadratures, I would think
having one fe_values object for each quadrature might be an easy
solution.

If not, here is something else to try:
I think none of the data inside fe_values except .JxW() depends on the
quadrature weights, just the locations. So to change the weights you
could use

fe_values.JxW(q)/old_weight[q]*new_weight[q]

instead of

fe_values.JxW(q)

There are a few exceptions like get_function_values() that depend on
the quadrature weights, but if you only want to do assembly, this hack
should work.

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

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [deal.II] Building issue: undefined reference to SolutionTransfer

2018-04-24 Thread Timo Heister
can you post your detailed.log?

If a tutorial like step-1 crashes, please
1. check the dynamic libraries by doing "ldd step-1" and post the
output. Maybe you have conflicting libraries you are linking.
2. run under gdb: "gdb step-1" then "run" then "backtrace" to see
where you crash.


On Mon, Apr 23, 2018 at 8:49 PM, Jie Cheng  wrote:
> Hi Wolfgang
>
> Sorry for not updating this issue for so long. I've been developing on my
> local machine until recently I started to test my code on cluster again.
> This issue has not been resolved, linking to SolutionTransfer will fail if I
> build static library (solution_transfer is compiled). But now I tried to
> build shared libraries instead. I did a minimum build of dealii (using all
> of the default building options), configuration, compiling and linking went
> smoothly without any error. But I could not run any tutorial, all of them
> gave me segmentation fault immediately (no useful info, only segment fault).
> I was not even able to run a "hello world" problem if I link it with dealii.
> Building in debug mode did not help. I completely have no clue how this
> could happen. Can you please point me a direction to understand the problem?
>
> The source code I used is up-to-date (SHA: 3d0c7ab699dace76);
> System is Scientific Linux 6.9 (Carbon)
> gcc version is 7.3.0
>
> I've attached my CMakeCache and summary.log.
>
> Thank you!
> Jie
>
>
> --
> The deal.II project is located at 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.dealii.org_=DwIBaQ=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw=TjzN-LMQUtQJoM1bxgcw94aP7tCtQ2r10bl2qQSpDPw=POnss3ormS1XXiqg54YqF_mukzlGpflHaAItgpvWE3Y=
> For mailing list/forum options, see
> https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_forum_dealii-3Fhl-3Den=DwIBaQ=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw=TjzN-LMQUtQJoM1bxgcw94aP7tCtQ2r10bl2qQSpDPw=GYouR_JzJGhPjFcghkqeOFIAY5ZDJ9D4zi4F_JqIRlo=
> ---
> You received this message because you are subscribed to the Google Groups
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dealii+unsubscr...@googlegroups.com.
> For more options, visit 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout=DwIBaQ=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw=TjzN-LMQUtQJoM1bxgcw94aP7tCtQ2r10bl2qQSpDPw=rxGsQICkV6INJ7F-q3Zq9rk0AX9DimjYhTfWbSoLGIg=.



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

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[deal.II] Re: error running after update

2018-04-24 Thread Daniel Arndt
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< 

[deal.II] error running after update

2018-04-24 Thread 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::auto_ptr...

*^*

*/Applications/deal.II-9.0-spack.app/Contents/Resources/spack/view/include/boost/smart_ptr/shared_ptr.hpp:255:81:
 
**error: *

*  expected ';' at end of declaration*

  ...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:82:
 
**error: *

*  expected unqualified-id*

  ...class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R 
>

*