Changeset 1137


Ignore:
Timestamp:
Mar 27, 2009, 5:37:10 PM (15 years ago)
Author:
jghattas
Message:

Adaptation de la compilation (utilisant fcm) conformement aux decisions prises lors de la reunion fcm autours des modeles.

  • makegcm_fcm => makelmdz_fcm
  • option -m => -arch
  • repertoire machine => arch


YM+JG

Location:
LMDZ4/branches/LMDZ4-dev
Files:
2 moved

Legend:

Unmodified
Added
Removed
  • LMDZ4/branches/LMDZ4-dev/makelmdz_fcm

    r1136 r1137  
    7474[-link LINKS]              : liens optionels avec d'autres librairies
    7575[-fcm_path path]           : chemin pour fcm (def: le chemin est suppose deja exister dans le PATH)
    76  -m arch                   : nom de l'architecture cible
     76 -arch nom_arch            : nom de l'architecture cible
    7777 exec                      : exécutable généré
    7878fin
     
    137137       set fcm_path=$2 ; shift ; shift ; goto top
    138138
    139      case -m
     139     case -arch
    140140       set arch=$2 ; shift ; shift ; goto top
    141141
     
    157157
    158158###############################################################
    159 # lecture des chemins propres � l'architecture de la machine #
     159# lecture des chemins propres a l'architecture de la machine #
    160160###############################################################
    161161
    162162rm -f ./arch.path
    163 ln -s ./machine/arch-${arch}.path ./arch.path
     163ln -s ./arch/arch-${arch}.path ./arch.path
    164164source arch.path
    165165
     
    352352
    353353
    354 ln -s machine/arch-${arch}.fcm arch.fcm
     354ln -s arch/arch-${arch}.fcm arch.fcm
    355355rm -f $LIBOGCM/${arch}${SUFF_NAME}/.config/fcm.bld.lock
    356356./build_gcm
Note: See TracChangeset for help on using the changeset viewer.