Changes between Initial Version and Version 1 of Ticket #296
- Timestamp:
- Feb 6, 2021, 1:18:38 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #296 – Description
initial v1 3 3 Mac OS 10.15.7 4 4 gcc10.2 (this version is also used to build mpicc) 5 ulimit -n 1000 6 ulimit -s 16383 7 LIBRARY_PATH, LD_LIBRARY_PATH, and various FLAGS are set to (I believe) the appropriate directories.5 `ulimit -n 1000` 6 `ulimit -s 16383` 7 `LIBRARY_PATH`, `LD_LIBRARY_PATH`, and various FLAGS are set to (I believe) the appropriate directories. 8 8 9 9 I then try to compile with 10 11 {{{ 10 12 make -f makefile gcc=10.2 FC=gfortran ncf=yes -I/dir/of/eccodes/build/include/grib_api.mod 13 }}} 14 11 15 12 16 which results in the error 13 17 18 19 {{{ 14 20 clang: error: unable to execute command: Illegal instruction: 4 15 21 clang: error: clang integrated assembler command failed due to signal (use -v to see invocation) … … 21 27 clang: note: diagnostic msg: Error generating preprocessed source(s) - no preprocessable inputs. 22 28 make: *** [com_mod.o] Error 1 29 }}} 30 23 31 24 32 Experimenting with various flags and compilers (i.e. gcc, gfortran, mpicc, mpif90) has not helped so far, and the answers found from Google are either too complex for me to understand, or too specific to seem applicable. What I can tell is it has something to do with wrong compiler options and/or Mac compatibility with 32-bit operations, but what these are exactly I can't determine. I'm hoping someone else has had this issue (or a similar one) as well and can advise!