I followed your suggestion @Thodoros, but I had to change *.zshrc*, instead 
of .bash_profile. After I sourced, I tried some random examples and now 
they work fine :-)

As you said, this works also without the need to type
$ module load dealii

Thanks for your support

Il giorno mercoledì 24 febbraio 2021 alle 09:59:21 UTC+1 Marco ha scritto:

> I answered to Luca right after Thodoros' answer. I'm gonna try this asap, 
> thanks for the support.
>
> Cheers, 
> Marco
> Il giorno mercoledì 24 febbraio 2021 alle 09:57:14 UTC+1 Marco ha scritto:
>
>> Thanks for the reply.
>>
>> Yes, it is precisely what I wrote at the beginning of my terminal snippet 
>> above:
>> > $ module load dealii
>> > $ cd /Applications/deal.II.app/Contents/Resources/examples/step-1
>> > $ cmake . 
>>
>> Il giorno mercoledì 24 febbraio 2021 alle 09:44:12 UTC+1 
>> luca....@gmail.com ha scritto:
>>
>>> can you try running it after issuing the command 
>>>
>>> module load dealii 
>>>
>>> ? 
>>>
>>> I’m not sure why, but it looks like some paths are not set correctly. 
>>>
>>> L. 
>>>
>>> > On 23 Feb 2021, at 21:46, Marco <marco....@gmail.com> wrote: 
>>> > 
>>> > Dear all, 
>>> > 
>>> > I've just installed deal.ii on my macOS Catalina (10.15.7) following 
>>> the instructions here on GitHub. 
>>> > Then I opened the deal.II app, which gives a terminal bash and I tried 
>>> to test the step-1 example, but I get an error after the `make run`. 
>>> > 
>>> > Here's the sequence of commands I wrote from command line: 
>>> > 
>>> > $ module load dealii 
>>> > $ cd /Applications/deal.II.app/Contents/Resources/examples/step-1 
>>> > $ cmake . 
>>> > -- Autopilot invoked 
>>> > -- Run $ make info to print a detailed help message 
>>> > 
>>> > -- Configuring done 
>>> > 
>>> > -- Generating done 
>>> > 
>>> > -- Build files have been written to: 
>>> /Applications/deal.II.app/Contents/Resources/examples/step-1 
>>> > 
>>> > $ make 
>>> > 
>>> > [ 50%] Building CXX object CMakeFiles/step-1.dir/step-1.cc.o 
>>> > 
>>> > [100%] Linking CXX executable step-1 
>>> > 
>>> > [100%] Built target step-1 
>>> > 
>>> > $ make run 
>>> > 
>>> > [ 66%] Built target step-1 
>>> > [100%] Run step-1 with Debug configuration 
>>> > 
>>> > dyld: Library not loaded: @rpath/libmuelu-adapters.13.dylib 
>>> > 
>>> > Referenced from: 
>>> /Applications/deal.II.app/Contents/Resources/examples/step-1/./step-1 
>>> > 
>>> > Reason: image not found 
>>> > 
>>> > make[3]: *** [CMakeFiles/run] Abort trap: 6 
>>> > 
>>> > make[2]: *** [CMakeFiles/run.dir/all] Error 2 
>>> > 
>>> > make[1]: *** [CMakeFiles/run.dir/rule] Error 2 
>>> > 
>>> > make: *** [run] Error 2 
>>> > 
>>> > 
>>> > 
>>> > I've found similar issues on the web like this one, but I didn't 
>>> manage to come up with a solution, especially because "CMAKE_PREFIX_PATH 
>>> and DYLD_LIBRARY_PATH set to work with Deal.II", as written after opening 
>>> the terminal app. 
>>> > 
>>> > What am I missing? Any help is highly appreciated! 
>>> > 
>>> > Best, 
>>> > Marco 
>>> > 
>>> > -- 
>>> > 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/a61442f2-999c-4920-8f17-81295fb20751n%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/7965aab7-05aa-4549-9883-7537d7e9c798n%40googlegroups.com.

Reply via email to