I'm also able to run step-20 succesfully, both in debug and release modes.

El dimarts, 3 desembre de 2019 11:33:40 UTC-5, Ester Comellas va escriure:
>
> Hi,
>
> I got deal.II-9.1.1 to work on macOS Catalina using the link Luca 
> provided. I'm running my parallel code using mpirun and everything works 
> smoothly.
>
> I don't recall the details, but I remember having some issues with XCode 
> during the installation. I thought it had automatically updated correctly, 
> but on closer inspection there was an error message (nothing an online 
> search couldn't solve).
>
> Ester
>
>
> El dimarts, 3 desembre de 2019 11:08:57 UTC-5, luca.heltai va escriure:
>>
>> I have not updated to the latest version yet. They changed clang, xcode, 
>> and a few other things. I’m assuming that the package I built on catalina 
>> is no longer functional. 
>>
>> I’ll get to it as quickly as I can. 
>>
>> In the mean time, can you try to see if you can install deal.II using 
>> spack? 
>>
>> L. 
>>
>> > On 2 Dec 2019, at 17:24, Alberto Salvadori <[email protected]> 
>> wrote: 
>> > 
>> > Dear community, 
>> > Luca in particular 
>> > 
>> > I have installed the package for Mac OS Catalina that was pointed out. 
>> > In running the examples I noticed some unexpected errors 
>> > 
>> > Illegal instruction: 4 
>> > 
>> > See below. 
>> > 
>> > Needless to say, the very same error comes out in running my own code. 
>> > Any help is appreciated 
>> > 
>> > Perhaps you may also address me on this: when running my old deal.ii 
>> 8.5.1 version, it does not work anymore. 
>> > The application just does not open and if I attempt at running via 
>> command line, I get this: 
>> > 
>> > 
>> /Applications/deal.II-8.5.1.app/Contents/Resources/opt/openmpi-1.10.2/bin/mpirun
>>  
>> -np 4 ./m4_code ../input/SE_trivial_battery_m 
>> > dyld: Library not loaded: 
>> /Applications/deal.II.app/Contents/Resources/opt/openmpi-1.10.2/lib/libopen-rte.12.dylib
>>  
>>
>> >   Referenced from: 
>> /Applications/deal.II-8.5.1.app/Contents/Resources/opt/openmpi-1.10.2/bin/mpirun
>>  
>>
>> >   Reason: image not found 
>> > Abort trap: 6 
>> > tests-MacBook-Pro:Release albertosalvadori$ 
>> > 
>> > Any suggestions on how to sort this issue out? 
>> > Thank you, 
>> > 
>> > Alberto 
>> > 
>> > --- 
>> > 
>> > 
>> > bash-3.2$ which cmake 
>> > /Applications/deal.II.app/Contents/Resources/Libraries/bin/cmake 
>> > bash-3.2$ cmake -G 'Unix Makefiles' . 
>> > -- The C compiler identification is AppleClang 11.0.0.11000033 
>> > -- The CXX compiler identification is AppleClang 11.0.0.11000033 
>> > -- Check for working C compiler: 
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
>>  
>>
>> > -- Check for working C compiler: 
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
>>  
>> -- works 
>> > -- Detecting C compiler ABI info 
>> > -- Detecting C compiler ABI info - done 
>> > -- Detecting C compile features 
>> > -- Detecting C compile features - done 
>> > -- Check for working CXX compiler: 
>> /Applications/deal.II.app/Contents/Resources/spack/opt/spack/darwin-catalina-haswell/clang-11.0.0-apple/openmpi-3.1.4-qcsz2fblznqlgt3j4u7dctfjag4kapar/bin/mpic++
>>  
>>
>> > -- Check for working CXX compiler: 
>> /Applications/deal.II.app/Contents/Resources/spack/opt/spack/darwin-catalina-haswell/clang-11.0.0-apple/openmpi-3.1.4-qcsz2fblznqlgt3j4u7dctfjag4kapar/bin/mpic++
>>  
>> -- works 
>> > -- Detecting CXX compiler ABI info 
>> > -- Detecting CXX compiler ABI info - done 
>> > -- Detecting CXX compile features 
>> > -- Detecting CXX compile features - done 
>> > -- Autopilot invoked 
>> > ### 
>> > # 
>> > #  Project  step-20  set up with  deal.II-9.1.1  found at 
>> > #      /Applications/deal.II.app/Contents/Resources/Libraries 
>> > # 
>> > #  CMAKE_BUILD_TYPE:          Debug 
>> > # 
>> > #  You can now run 
>> > #       $ make                - to compile and link the program 
>> > #       $ make run            - to (compile, link and) run the program 
>> > # 
>> > #       $ make sign           - to sign the executable with the 
>> supplied OSX developer key 
>> > # 
>> > #       $ make debug          - to switch the build type to 'Debug' 
>> > #       $ make release        - to switch the build type to 'Release' 
>> > # 
>> > #       $ make edit_cache     - to change (cached) configuration 
>> variables 
>> > #                               and rerun the configure and generate 
>> phases of CMake 
>> > # 
>> > #       $ make strip_comments - to strip the source files in this 
>> > #                               directory off their comments; this is 
>> irreversible 
>> > #       $ make clean          - to remove the generated executable as 
>> well as 
>> > #                               all intermediate compilation files 
>> > #       $ make runclean       - to remove all output generated by the 
>> program 
>> > #       $ make distclean      - to clean the directory from _all_ 
>> generated 
>> > #                               files (includes clean, runclean and the 
>> removal 
>> > #                               of the generated build system) 
>> > #       $ make info           - to view this message again 
>> > # 
>> > #  Have a nice day! 
>> > # 
>> > ### 
>> > -- Configuring done 
>> > -- Generating done 
>> > -- Build files have been written to: 
>> /Users/albertosalvadori/Codes/dealii-9.1.1/deal.II/examples/step-20 
>> > bash-3.2$ make release 
>> > Scanning dependencies of target release 
>> > [100%] Switching CMAKE_BUILD_TYPE to Release 
>> > -- Autopilot invoked 
>> > -- Run   $ make info  to print a detailed help message 
>> > -- Configuring done 
>> > -- Generating done 
>> > -- Build files have been written to: 
>> /Users/albertosalvadori/Codes/dealii-9.1.1/deal.II/examples/step-20 
>> > *** 
>> > *** Switched to Release mode. Now recompile with:  $ make 
>> > *** 
>> > [100%] Built target release 
>> > bash-3.2$ make 
>> > Scanning dependencies of target step-20 
>> > [ 50%] Building CXX object CMakeFiles/step-20.dir/step-20.cc.o 
>> > [100%] Linking CXX executable step-20 
>> > [100%] Built target step-20 
>> > bash-3.2$ ./step-20 
>> > Illegal instruction: 4 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > Alberto Salvadori 
>> >  Dipartimento di Ingegneria Meccanica e Industriale (DIMI) 
>> >  Universita` di Brescia, via Branze 43, 25123 Brescia 
>> >  Italy 
>> >  tel 030 3711239 
>> >  fax 030 3711312 
>> > 
>> > e-mail: 
>> >  [email protected] 
>> > web-page: 
>> >  http://m4lab.unibs.it/faculty.html 
>> > 
>> > 
>> > 
>> > On Fri, Oct 25, 2019 at 2:35 PM luca.heltai <[email protected]> 
>> wrote: 
>> > Dear Ester, 
>> > 
>> > please take a look at the release page: 
>> > 
>> > https://github.com/dealii/dealii/releases/tag/v9.1.1 
>> > 
>> > There is a package for Mac OS Catalina. In Catalina, permissions are 
>> much more restrictive, and you’ll have to explicitly enable the application 
>> to run (the first time), by right clicking on it, and selecting “open” 
>> (which pops up a dialog asking if you are sure about opening the app, and 
>> giving you some instruction on how to allow deal.II to run on your system. 
>> > 
>> > L. 
>> > 
>> > 
>> > 
>> > > On 21 Oct 2019, at 13:39, Ester Comellas <[email protected]> 
>> wrote: 
>> > > 
>> > > Hi, 
>> > > 
>> > > I'm pretty new to macOS and updated the system when prompted to do 
>> so, and several software stopped working! Among them, deal.ii. I tried 
>> reinstalling CMake, Xcode and deal.ii, but can't get it to work. Xcode and 
>> CMake seem to be working fine. Deal.ii appears to be installed correctly 
>> but, when I try to open it, a system window pops up saying deal.II.app 
>> couldn't be opened. Any ideas on what may be wrong and how I can fix this? 
>> I'm on macOS Catalina Version 10.15. 
>> > > 
>> > > Thanks, 
>> > > Ester 
>> > > 
>> > > -- 
>> > > 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 [email protected]. 
>> > > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/dealii/e1edaedd-f3b4-44ef-9543-f5a52b8d2972%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 [email protected]. 
>> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/dealii/CB27B768-395C-4148-A540-C2886D241A06%40gmail.com.
>>  
>>
>> > 
>> > 
>> > Informativa sulla Privacy: http://www.unibs.it/node/8155 
>> > 
>> > -- 
>> > 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 [email protected]. 
>> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/dealii/CABcATpd7eSGU6Fg%2Bx6RSGMUjdDNW32d-FCKRC%3DChxLqmqqzCuA%40mail.gmail.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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/261ea307-d720-46dc-b9d3-c4e981ca6ca2%40googlegroups.com.

Reply via email to