Changes between Version 13 and Version 14 of WorkingGroups/TAM/InstallationsMacInstosh/InstallMacIntelFortran
- Timestamp:
- 2009-09-18T13:47:04+02:00 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WorkingGroups/TAM/InstallationsMacInstosh/InstallMacIntelFortran
v13 v14 18 18 19 19 The 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 20 The linker (''ranlib'') does not find the objects associated to global variables defined in some modules of NEMO: 21 22 {{{ 23 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 22 24 Undefined symbols: 23 25 "_asmpar_mp_nitdin_r_", referenced from: … … 26 28 }}} 27 29 These 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 .30 The temporary solution is to add the option ''-c'' to ranlib: 29 31 {{{ 30 32 ranlib -c : … … 37 39 is not the default. 38 40 }}} 41 42 ==== Adding the option ''-c'' to ''ranlib'' in fcm==== 39 43 Yet no flags ranlib are available in fcm 1.3 . 40 44 The idea is then to put in your ''nemo.cfg''