Dear Bob,

The dmg package comes already with deal.II 9.2 installed, so your compilation 
is not necessary.

As far as your problem is concerned, can you try to start from a clean 
directory? Remove everything except the cc file and the CMakeLists.txt file and 
try again. 

Step 40 works for me using the installation from the dmg file directly. 

Luca

> Il giorno 17 mar 2021, alle ore 16:36, bob bill <vef...@gmail.com> ha scritto:
> 
> Okay, here's what I did:
> 1) installed the .dmg file
> 2) 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 step-40 and all 
> the others that are located at 
> 
> /Applications/deal.II.app/Contents/Resources/examples
> 
> 
> But if I try to compile step-40 (always within the deal.II app terminal) 
> located at 
> 
> /Desktop/dealii-9.2.0/examples/ (i.e. the source directory, not in the folder 
> above)
> 
> I got this 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.
> 
> 
> The problem is that it's not using the "setup 
> /Applications/deal.II.app/Contents/Resources/Libraries", but this is 
> happening for step-40 only! Indeed, if I try to compile step-50( 17,56,...) 
> it compiles, since it's using the correct setup. 
> 
> How is this possible?
> 
> 
> 
> Thanks for your patience.
> Best, 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/f2f27bf5-f891-40c8-8c42-fd9956cc1c4fn%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/AADD4623-360C-46BB-AEC9-1CFA51866605%40gmail.com.

Reply via email to