-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"unable to link a simple MPI-IO C program" on MacOS Ventura 13.1 Apple M1 chip #316
Comments
Hi Agi, Are you following the instructions at https://github.com/dealii/dealii/wiki/Apple-ARM-M1-OSX? |
Hi Timo, Yes, I was following the wiki page. (Indeed, in the spring with some sweat and tears I made it work, but after some updates deal.ii stopped working). So I didn't do that before trying to install deal.ii with candi. And during installation it seems it finds the homebrew locations of everything: CC variable not set, but default mpicc found. Ági |
I would strongly advise against using GCC (by exporting gcc-11 settings). |
I am might be wrong, but if I don't export gcc, then the mpicxx version remains the Apple clang version 14, correct? I tried installing with that too (that's where I copied the Compiler Variables section) and got the same error. |
I had some progress. Because I had mpicc, mpicxx, mpifort both in homebrew and in my /usr/local/bin there was problem with different versions. So I exported CC, CXX, FF and FC to the /usr/local/bin/ versions of mpi. This helped with installing hdf5 and p4est, but now I have a problem with trillions. I am a bit confused why does this happen. I have macOS-arm64 architecture. (I attach the log file) |
Hello!
I am trying to install deal.ii for ASPECT using candi on my mac. I run into a problem during the hdf5 installation:
checking whether a simple MPI-IO C program can be linked... no
configure: error: unable to link a simple MPI-IO C program
Failure with exit status: 1
Exit message: There was a problem configuring hdf5 1.10.7.
I reinstalled homebrew, tried both the deal.ii version 9.3 and 9.4. If I try to compile withouth hdf5 (./candi.sh -j 8 --packages="p4est trilinos dealii"), then I get MPI error for the p4est installation:
Build FAST version in /Users/kiraly/dealii-candi/tmp/build/p4est-2.3.2/FAST
/Users/kiraly/dealii-candi/tmp/unpack/p4est-2.3.2/configure: line 4056: test: argument expected
configure: WARNING: unknown Fortran name-mangling scheme
configure: WARNING: unknown Fortran name-mangling scheme
configure: error: MPI C test failed
Error: Error in configure
Does anyone have some ideas what can I do?
Thanks,
Ági
The text was updated successfully, but these errors were encountered: