[Users] Compiling Cactus on M1 Mac
Garrison, David
Garrison at uhcl.edu
Wed Dec 22 01:07:35 CST 2021
I get the error when I try to compile the code. It is coming from the external library thorns.
Running any thorn-provided configuration scripts...
********************************************************************************
Running configuration script for thorn FFTW3:
Can't exec "bash": Bad CPU type in executable at /Users/garrison/Applications/Cactus/repos/flesh/lib/sbin/ConfigScriptParser.pl line 36.
CST error 1:
-> Configuration script for thorn FFTW3 failed to start: Bad CPU type in executable
readline() on closed filehandle $lines at /Users/garrison/Applications/Cactus/repos/flesh/lib/sbin/ConfigScriptParser.pl line 40.
CST error 2:
-> Configuration script for thorn FFTW3 failed to execute: Bad file descriptor
(no error message)
Finished running configuration script for thorn FFTW3.
********************************************************************************
Running configuration script for thorn FORTRAN:
Found an ANSI-like Fortran cpp
Finished running configuration script for thorn FORTRAN.
********************************************************************************
Running configuration script for thorn MPI:
MPI selected, but MPI_DIR is not set. Computing settings...
Found MPI compiler wrapper at /usr/local/bin/mpic++!
Installing MPI into /Users/garrison/Applications/Cactus/configs/specgrmhd/scratch/external/MPI
MPI was manually configured.
Finished running configuration script for thorn MPI.
********************************************************************************
Running configuration script for thorn OPENBLAS:
Can't exec "bash": Bad CPU type in executable at /Users/garrison/Applications/Cactus/repos/flesh/lib/sbin/ConfigScriptParser.pl line 36.
CST error 3:
-> Configuration script for thorn OPENBLAS failed to start: Bad CPU type in executable
readline() on closed filehandle $lines at /Users/garrison/Applications/Cactus/repos/flesh/lib/sbin/ConfigScriptParser.pl line 40.
CST error 4:
-> Configuration script for thorn OPENBLAS failed to execute: Bad file descriptor
(no error message)
Finished running configuration script for thorn OPENBLAS.
********************************************************************************
Running configuration script for thorn VECTORS:
Can't exec "bash": Bad CPU type in executable at /Users/garrison/Applications/Cactus/repos/flesh/lib/sbin/ConfigScriptParser.pl line 36.
CST error 5:
-> Configuration script for thorn VECTORS failed to start: Bad CPU type in executable
readline() on closed filehandle $lines at /Users/garrison/Applications/Cactus/repos/flesh/lib/sbin/ConfigScriptParser.pl line 40.
CST error 6:
-> Configuration script for thorn VECTORS failed to execute: Bad file descriptor
(no error message)
Finished running configuration script for thorn VECTORS.
********************************************************************************
Running configuration script for thorn ZLIB:
Can't exec "bash": Bad CPU type in executable at /Users/garrison/Applications/Cactus/repos/flesh/lib/sbin/ConfigScriptParser.pl line 36.
CST error 7:
-> Configuration script for thorn ZLIB failed to start: Bad CPU type in executable
readline() on closed filehandle $lines at /Users/garrison/Applications/Cactus/repos/flesh/lib/sbin/ConfigScriptParser.pl line 40.
CST error 8:
-> Configuration script for thorn ZLIB failed to execute: Bad file descriptor
(no error message)
Finished running configuration script for thorn ZLIB.
********************************************************************************
Running configuration script for thorn HDF5:
Can't exec "bash": Bad CPU type in executable at /Users/garrison/Applications/Cactus/repos/flesh/lib/sbin/ConfigScriptParser.pl line 36.
CST error 9:
-> Configuration script for thorn HDF5 failed to start: Bad CPU type in executable
readline() on closed filehandle $lines at /Users/garrison/Applications/Cactus/repos/flesh/lib/sbin/ConfigScriptParser.pl line 40.
CST error 10:
-> Configuration script for thorn HDF5 failed to execute: Bad file descriptor
(no error message)
Finished running configuration script for thorn HDF5.
********************************************************************************
Running configuration script for thorn LAPACK:
Can't exec "bash": Bad CPU type in executable at /Users/garrison/Applications/Cactus/repos/flesh/lib/sbin/ConfigScriptParser.pl line 36.
CST error 11:
-> Configuration script for thorn LAPACK failed to start: Bad CPU type in executable
readline() on closed filehandle $lines at /Users/garrison/Applications/Cactus/repos/flesh/lib/sbin/ConfigScriptParser.pl line 40.
CST error 12:
-> Configuration script for thorn LAPACK failed to execute: Bad file descriptor
(no error message)
Finished running configuration script for thorn LAPACK.
Checking consistency...
Argument "1.0D-5" isn't numeric in addition (+) at /Users/garrison/Applications/Cactus/lib/sbin/CST line 793.
Argument "1.0D-5" isn't numeric in addition (+) at /Users/garrison/Applications/Cactus/lib/sbin/CST line 794.
------------------------------------------------------
There were 12 errors during execution of the CST
These must be corrected before compilation can proceed
------------------------------------------------------
------------------------------------------------------
Warnings were generated during execution of the CST
------------------------------------------------------
CST error 1:
-> Configuration script for thorn FFTW3 failed to start: Bad CPU type in executable
CST error 2:
-> Configuration script for thorn FFTW3 failed to execute: Bad file descriptor
(no error message)
CST error 3:
-> Configuration script for thorn OPENBLAS failed to start: Bad CPU type in executable
CST error 4:
-> Configuration script for thorn OPENBLAS failed to execute: Bad file descriptor
(no error message)
CST error 5:
-> Configuration script for thorn VECTORS failed to start: Bad CPU type in executable
CST error 6:
-> Configuration script for thorn VECTORS failed to execute: Bad file descriptor
(no error message)
CST error 7:
-> Configuration script for thorn ZLIB failed to start: Bad CPU type in executable
CST error 8:
-> Configuration script for thorn ZLIB failed to execute: Bad file descriptor
(no error message)
CST error 9:
-> Configuration script for thorn HDF5 failed to start: Bad CPU type in executable
CST error 10:
-> Configuration script for thorn HDF5 failed to execute: Bad file descriptor
(no error message)
CST error 11:
-> Configuration script for thorn LAPACK failed to start: Bad CPU type in executable
CST error 12:
-> Configuration script for thorn LAPACK failed to execute: Bad file descriptor
(no error message)
------------------------------------------------------
> On Dec 21, 2021, at 9:59 PM, Roland Haas <rhaas at illinois.edu> wrote:
>
> Hello DG,
>
>> Has anyone had success getting the Einstein Toolkit to compile on a
>> M1 powered Mac? I get "Bad CPU type in executable” when I try.
> The newest version (2021_11) may work (if you follow the instructions at
> the top of the new user tutorial
> https://raw.githubusercontent.com/nds-org/jupyter-et/master/tutorial-server/notebooks/CactusTutorial.ipynb to install homebrew or macports and some of the support packages).
>
> Do you get this error when trying to run or while compiling?
>
> Yours,
> Roland
>
> --
> My email is as private as my paper mail. I therefore support encrypting
> and signing email messages. Get my PGP key from http://keys.gnupg.net.
--
David Garrison, Ph.D.
Interim Associate Dean for the College of Science and Engineering, Professor and Former Chair of Physics
University of Houston-Clear Lake
Bayou 3611
Houston, TX 77058
Tel: 281-283-3796
Fax: 281-283-3709
http://sce.uhcl.edu/garrison
http://www.uhcl.edu/physics
"If we knew what it was we were doing, it would not be called research,
would it?" ‹ Albert Einstein.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/users/attachments/20211222/c2268387/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1650 bytes
Desc: not available
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20211222/c2268387/attachment-0001.bin
More information about the Users
mailing list