New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
WorkingGroups/TAM/InstallationsMacInstosh/InstallMacIntelFortran (diff) – NEMO

Changes between Version 13 and Version 14 of WorkingGroups/TAM/InstallationsMacInstosh/InstallMacIntelFortran


Ignore:
Timestamp:
2009-09-18T13:47:04+02:00 (15 years ago)
Author:
chauvin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WorkingGroups/TAM/InstallationsMacInstosh/InstallMacIntelFortran

    v13 v14  
    1818 
    1919The actual version of ifort (11.1) contains a bug when compiled on Mac OS: 
    20 The linker (''ranlib'') does not find the objects associated to global variables defined in some modules of NEMO. 
    21 {{{ifort model.o libopa.a libioipsl.a  -L/usr/local/netcdf-3.6.1/intel/lib -lnetcdf -O3 -o  ../opa_exe.ORCA2_Z31.1.1 
     20The linker (''ranlib'') does not find the objects associated to global variables defined in some modules of NEMO: 
     21 
     22{{{ 
     23ifort model.o libopa.a libioipsl.a  -L/usr/local/netcdf-3.6.1/intel/lib -lnetcdf -O3 -o  ../opa_exe.ORCA2_Z31.1.1 
    2224Undefined symbols: 
    2325  "_asmpar_mp_nitdin_r_", referenced from: 
     
    2628 }}} 
    2729These particular modules contains only global variables, and no ''CONTAINS'' section (ie no subroutines). 
    28 The temporary solution is to add the option ''-c'' to ranlib. 
     30The temporary solution is to add the option ''-c'' to ranlib: 
    2931{{{ 
    3032ranlib -c : 
     
    3739             is not the default. 
    3840}}} 
     41 
     42==== Adding the option ''-c'' to ''ranlib'' in fcm==== 
    3943Yet no flags ranlib are available in fcm 1.3 . 
    4044The idea is then to put in your ''nemo.cfg''