Problem installing deal.ll with (ARM M2)

Hi, I’m new to ASPECT, and I’ve been trying to make a local installation following the instructions in the wiki. However, I haven’t been able to install deal.II on a laptop running under macOS 14.5 (Apple M2 chip). The installation attempt finishes with this error (the log file is attached):

“Build FAST version in /Users/juandavidhernandez/dealii-candi/tmp/build/p4est-2.3.6/FAST
configure: error: in /Users/juandavidhernandez/dealii-candi/tmp/build/p4est-2.3.6/FAST': configure: error: Fortran 77 compiler cannot create executables See config.log’ for more details
Error: Error in configure”

I have no problem running aspect via Docker, but ideally I’d like to use multiple processors while running ASPECT, and I’m not sure whether this would be possible using Docker. If you have any ideas on how to solve this, I’d really appreciate it.

Thanks!

Best,
Juan

config.log (12.9 KB)

@jdavidhm90 The error message you show actually has all of the information you need to figure out what is happening. Specifically, if you look through the file the error message mentions and that you attach, it says this at the end:

configure:4387: checking whether the Fortran 77 compiler works
configure:4409: mpif77   conftest.f  >&5
ld: library not found for -ld_classic
collect2: error: ld returned 1 exit status
configure:4413: $? = 1
configure:4451: result: no
configure: failed program was:
|       program main
| 
|       end
configure:4456: error: in `/Users/juandavidhernandez/dealii-candi/tmp/build/p4est-2.3.6/FAST':
configure:4458: error: Fortran 77 compiler cannot create executables

The question is why the library d_classic does not exist on your system. I don’t know the answer, but perhaps the person who administers the system the system can help? Or if you run the system, what does the internet say about this error?

Best
W.

Like this: Library not found for -ld_classic - iOS - Solar2D Game Engine

Hi Wolfgang! I forgot to mention that I had tried to reinstall/update XCode, which seems to be the usual cause for this problem, but that didn’t work. Instead, I more or less followed the instructions here:

There was some troubleshooting regarding the error “in-source builds are not allowed,” but other than that, I managed to install and run the aspect.

Thanks for your response :slight_smile:

Juan