Okay, here's what I did:
- installed the .dmg file

- I unpacked the .tar.gz 9.2.0 version and installed it in /usr/local/bin 
using the deal.II app terminal

Now, *from within the deal.II app* terminal, I can compile and run *also* 
step-(40, 17, ...) both from:

/Applications/deal.II.app/Contents/Resources/examples

and

/Desktop/dealii-9.2.0/examples/ (i.e. the source directory)


If I try to compile step-40 with a normal terminal window, I got the usual 
error 

*However, the deal.II library found at /usr/local/bin/deal_9.2.0 was 
configured with these options*

*      DEAL_II_WITH_PETSC = OFF*

*      DEAL_II_PETSC_WITH_COMPLEX = *

*      DEAL_II_WITH_P4EST = OFF*

*      DEAL_II_WITH_TRILINOS = OFF*

*  which conflict with the requirements.*

This is expected right? I mean, I should use the deal.II app terminal to 
compile my future own deal.II projects, right?


Thanks for your patience.
Best, Lukas



Il giorno mercoledì 17 marzo 2021 alle 12:55:38 UTC+1 bob bill ha scritto:

> I compiled successfully the library within the deal.II app terminal. Then 
> I compiled step-1, and after make run I obtain the following
>
> */usr/local/bin/deal_9.3.0-pre/include/deal.II/base/config.h:503:1: error: 
> static_assert failed due to requirement '107000 == 100000 * 1 + 100 * 74 + 
> 0' "The version number of boost that you are compiling with does not match 
> the version number of boost found during deal.II's configuration step. This 
> leads to difficult to understand bugs and is not supported. Please check 
> that you have set up your application with the same version of boost as 
> deal.II."*
> which I believe is due to the fact that the .dmg refers to version *9.2.0*, 
> while the GitHub version is *9.3.0*. 
>
> Should I just install the 9.2.0 version (i.e. unpack the 
> dealii-9.2.0.tar.gz and compile within the deal.II app terminal as before) 
> in order to fix this?
>
> Thanks,
> Lukas
>
>
> Il giorno mercoledì 17 marzo 2021 alle 11:41:09 UTC+1 luca....@gmail.com 
> ha scritto:
>
>> If you install the dmg package, and compile the library just like you did 
>> before *within the terminal that opens when you click on the deal.II app*, 
>> the compilation process would find correctly all the installed libraries. 
>>
>> Best, 
>> Luca. 
>>
>> > On 17 Mar 2021, at 10:08, bob bill <vef...@gmail.com> wrote: 
>> > 
>> > Thanks for your answer. 
>> > 
>> > > My personal option is to install the dmg, then recompile the library 
>> (to have the master version). 
>> > 
>> > So I have to install the dmg, even if I still have the library 
>> installed from GitHub with the command line procedure ? 
>> > 
>> > If so, once I installed the dmg successfully , how can I "recompile the 
>> library"? 
>> > 
>> > 
>> > Best, 
>> > Lukas 
>> > 
>> > Il giorno mercoledì 17 marzo 2021 alle 07:57:14 UTC+1 
>> luca....@gmail.com ha scritto: 
>> > 
>> > 
>> >> Il giorno 16 mar 2021, alle ore 23:56, bob bill <vef...@gmail.com> ha 
>> scritto: 
>> >> 
>> >> 1) If I install dealii by using the prepackaged .dmg file, will I have 
>> all the libraries to compile and run step-40? 
>> >> 
>> > 
>> > Yes. 
>> > 
>> >> 2) Is there a way to install dealii and have all those libraries? I've 
>> seen the MacOS instructions, but I can't find a workaround for my problem. 
>> Should I install PETSc (and the others) manually on my laptop? 
>> >> 
>> >> 
>> > The dmg contains all of the supported external libraries. My personal 
>> option is to install the dmg, then recompile the library (to have the 
>> master version). 
>> > 
>> > Best, 
>> > Luca. 
>> > 
>> > 
>> > 
>> > -- 
>> > 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+un...@googlegroups.com. 
>> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/dealii/b0f44c4d-9e57-4e6b-9b83-36b6c13de71dn%40googlegroups.com.
>>  
>>
>>
>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/5ba8c193-2b59-4698-a54e-6eb2efca2203n%40googlegroups.com.

Reply via email to