Changes between Initial Version and Version 1 of Ticket #296


Ignore:
Timestamp:
Feb 6, 2021, 1:18:38 PM (3 years ago)
Author:
pesei
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #296 – Description

    initial v1  
    33Mac OS 10.15.7
    44gcc10.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.
    88
    99I then try to compile with
     10
     11{{{
    1012make -f makefile gcc=10.2 FC=gfortran ncf=yes -I/dir/of/eccodes/build/include/grib_api.mod
     13}}}
     14
    1115
    1216which results in the error
    1317
     18
     19{{{
    1420clang: error: unable to execute command: Illegal instruction: 4
    1521clang: error: clang integrated assembler command failed due to signal (use -v to see invocation)
     
    2127clang: note: diagnostic msg: Error generating preprocessed source(s) - no preprocessable inputs.
    2228make: *** [com_mod.o] Error 1
     29}}}
     30
    2331
    2432Experimenting 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!
hosted by ZAMG