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 8 and Version 9 of WorkingGroups/TAM/InstallationsMacInstosh/InstallMacIntelFortran


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

--

Legend:

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

    v8 v9  
    33{{{}}} 
    44 
    5 === Generic information for compiling with FCM === 
     5== Generic information for compiling with FCM == 
    66{{{ 
    77Edit  
     
    1414$ ./fcmvmake.ksh -t $basepath -c $compil_target  
    1515}}} 
     16 
     17==== Generating static libraries with ifort ==== 
     18The actual version of ifort (11.1) contains a bug when compiled on Mac OS: 
     19The linker (''ranlib'') does not find the objects associated to parameters defined in some modules of NEMO. 
     20These particular modules contains only parameters, and no ''CONTAINS'' section (ie no subroutines). 
     21The temporary solution is to add the option ''-c'' to ranlib. 
     22 
     23Yet no flags ranlib are available in fcm 1.3 . 
     24The idea is then to put in your ''nemo.cfg'' 
     25{{{ 
     26bld::tool::ar ar_mac 
     27bld::tool::arflags  
     28}}} 
     29and create a script ''ar_mac'' 
     30{{{ 
     31#!/bin/sh 
     32ar rs $@ || exit 1 
     33ranlib -c $1 || exit 1 
     34}}} 
     35 
     36 
     37 
     38 
     39 
     40 
    1641 
    1742