Installation Errors on MacOS M1 Max chip

74 views
Skip to first unread message

Buhari Ibrahim

unread,
May 22, 2023, 6:44:17 PM5/22/23
to deal.II User Group
Hello everyone, 

I am new to dealii, I was trying to install on my MacOS M1 Max system by following guide in the link;

I think thing were going well until I received these errors which I tried to resolve but couldn't. Any pointers? Thank you.

Buhari.

Build FAST version in /Users/(username)/dealii-candi/tmp/build/p4est-2.3.2/FAST

/Users/(username)/dealii-candi/tmp/unpack/p4est-2.3.2/configure: line 4056: test: argument expected

configure: error: in `/Users/(username)/dealii-candi/tmp/build/p4est-2.3.2/FAST':

configure: error: Fortran 77 compiler cannot create executables

See `config.log' for more details

Error: Error in configure


Luca Heltai

unread,
May 23, 2023, 2:47:55 AM5/23/23
to Deal.II Users
Can you try to see if the mac binary pacakge which is available here:

https://github.com/dealii/dealii/releases/download/v9.4.0/dealii-9.4.0.ventura-m1.dmg

works for you?

Thanks,
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/6e8d3ea5-6a17-4431-a85a-f7f37ccfa0d3n%40googlegroups.com.

Buhari Ibrahim

unread,
May 23, 2023, 5:21:41 PM5/23/23
to dea...@googlegroups.com
Hello Luca,

That works very well. Thank you very much for your response.

Buhari.

Buhari Ibrahim

unread,
May 23, 2023, 8:14:55 PM5/23/23
to dea...@googlegroups.com
Hi Luca, as a follow up, I tried to go through the tutorial and build step-1 of the examples for instance, however, I run into this error;

(base) buhariibra@Bu-MacBook-Pro examples % ls

doxygen step-15 step-21 step-29 step-36 step-43 step-50 step-58 step-65 step-72 step-81

step-1 step-16 step-22 step-3 step-37 step-44 step-51 step-59 step-66 step-74 step-82

step-10 step-16b step-23 step-30 step-38 step-45 step-52 step-6 step-67 step-75 step-85

step-11 step-17 step-24 step-31 step-39 step-46 step-53 step-60 step-68 step-76 step-9

step-12 step-18 step-25 step-32 step-4 step-47 step-54 step-61 step-69 step-77

step-12b step-19 step-26 step-33 step-40 step-48 step-55 step-62 step-7 step-78

step-13 step-2 step-27 step-34 step-41 step-49 step-56 step-63 step-70 step-79

step-14 step-20 step-28 step-35 step-42 step-5 step-57 step-64 step-71 step-8

(base) buhariibra@Bu-MacBook-Pro examples % cd step-10

(base) buhariibra@Bu-MacBook-Pro step-10 % ls

CMakeLists.txt step-10.cc step-10.debug step-10.release

(base) buhariibra@Bu-MacBook-Pro step-10 % cmake .

CMake Warning:

  Ignoring extra path from command line:


   "."



CMake Error: The source directory "/Applications/deal.II.app/Contents/Resources/Libraries/share/deal.II/examples/step-10" does not appear to contain CMakeLists.txt.

Specify --help for usage, or press the help button on the CMake GUI.


It says it can’t find CMakelists.txt, but when I ls the content of ’step-1’ I see it listed there. Any idea what the problem might be? Sorry if this is a beginners level thing. Thank you.

Luca Heltai

unread,
May 28, 2023, 5:58:51 AM5/28/23
to Deal.II Users
The directory you showed seem to contain already two executables (step-10.debug and step-10.release). Does running any of those two work?

It’s possible that this is not the right directory (i.e., there may be a copy that was done in the wrong way).

I do not have the PC where I build the binary at my disposal now, but can you try to see if the examples directory is also in

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

(notice that this is not the same as the above)

If so, try building there.

L.
> To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/7AFEC3B7-F91E-4BAD-8FE9-D3F499E875D9%40umich.edu.

Buhari Ibrahim

unread,
May 28, 2023, 2:40:27 PM5/28/23
to dea...@googlegroups.com
Hi Luca,

Thanks for your input. Yes, you were right that there's another examples directory in /Applications/deal.II.app/Contents/Resources/Libraries/example. I tried building from there and it worked perfectly. Thank you very much.

Buhari.

Reply all
Reply to author
Forward
0 new messages