Changes between Version 8 and Version 9 of WorkingGroups/TAM/InstallationsMacInstosh/InstallMacIntelFortran
- Timestamp:
- 2009-09-18T13:39:27+02:00 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WorkingGroups/TAM/InstallationsMacInstosh/InstallMacIntelFortran
v8 v9 3 3 {{{}}} 4 4 5 == = Generic information for compiling with FCM ===5 == Generic information for compiling with FCM == 6 6 {{{ 7 7 Edit … … 14 14 $ ./fcmvmake.ksh -t $basepath -c $compil_target 15 15 }}} 16 17 ==== Generating static libraries with ifort ==== 18 The actual version of ifort (11.1) contains a bug when compiled on Mac OS: 19 The linker (''ranlib'') does not find the objects associated to parameters defined in some modules of NEMO. 20 These particular modules contains only parameters, and no ''CONTAINS'' section (ie no subroutines). 21 The temporary solution is to add the option ''-c'' to ranlib. 22 23 Yet no flags ranlib are available in fcm 1.3 . 24 The idea is then to put in your ''nemo.cfg'' 25 {{{ 26 bld::tool::ar ar_mac 27 bld::tool::arflags 28 }}} 29 and create a script ''ar_mac'' 30 {{{ 31 #!/bin/sh 32 ar rs $@ || exit 1 33 ranlib -c $1 || exit 1 34 }}} 35 36 37 38 39 40 16 41 17 42