Ignore:
Timestamp:
Jul 17, 2007, 5:28:50 PM (17 years ago)
Author:
lsce
Message:

JG+AC : Modifications needed for the use of makegcm_fcm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/makegcm_fcm

    r783 r816  
    2424set veget=false
    2525set chimie=false
    26 set psmile=false
    2726set parallel=false
    2827set io=ioipsl
     
    6059[-p PHYS]              : compilation avec la physique libf/phyPHYS, (def: lmd)
    6160[-debug]               : compile avec options debug.
    62 [-c false/true]        : couplé océan : mpi1/mpi2/false (def: false)
     61[-c false/MPI1/MPI2]   : couplé océan : MPI1/MPI2/false (def: false)
    6362[-v false/true]        : avec ou sans végétation (def: false)
    6463[-chimie SCHEMA/false] : nom du schéma chimique ou false (def)
     
    163162if ( "$couple" != 'false' ) then
    164163   set CPP_KEY="$CPP_KEY CPP_COUPLE"
    165    set CPP_KEY="$CPP_KEY CPP_PSMILE"
    166    set INCLUDE="$INCLUDE -I${OASIS_INCDIR}.$couple"
    167    set LIB="$LIB -L${OASIS_LIBDIR} -loasis.$couple"
     164   set INCLUDE="$INCLUDE -I${OASIS_INCDIR}"
     165   set LIB="$LIB -L${OASIS_LIBDIR} -lpsmile.${couple} -lmpp_io"
    168166endif
    169167
     
    175173   set CPP_KEY="$CPP_KEY CPP_VEGET"
    176174   set INCLUDE="${INCLUDE} -I${ORCH_INCDIR}"
    177    set LIB="${LIB} -L${ORCH_LIBDIR} -lsechiba -lparameters -lstomate -lparallel"
     175   set LIB="${LIB} -L${ORCH_LIBDIR} -lsechiba -lparameters -lstomate -lparallel -lorglob"
    178176endif
    179177
     
    311309  set SUFF_NAME=${SUFF_NAME}_inca
    312310endif
    313  
    314 #########################################################
    315 # On adapte certains include à F90 (mener a disparaitre)
    316 #########################################################
    317 #sed -e 's/^c/\!/' $libf/grid/dimensions.h >! $libf/grid/dimensions90.tmp
    318 #if ( ! -f $libf/grid/dimensions90.h || `diff $libf/grid/dimensions90.tmp $libf/grid/dimensions90.h | wc -w` ) then
    319 #      \mv $libf/grid/dimensions90.tmp $libf/grid/dimensions90.h
    320 #endif
    321 #awk 'BEGIN {} { sub ("^c","\!") ; if ($0 ~ /^     s/) {if (NR > 1) print p0," &"; sub ("     s","     \\&")} else { if (NR > 1) print p0  } p0=$0 } END { print p0}' $libf/dyn3d/paramet.h >! $libf/dyn3d/paramet90.tmp
    322 #if ( ! -f $libf/dyn3d/paramet90.h || `diff $libf/dyn3d/paramet90.tmp $libf/dyn3d/paramet90.h | wc -w` ) then
    323 #      \mv $libf/dyn3d/paramet90.tmp $libf/dyn3d/paramet90.h
    324 #endif
    325 #awk 'BEGIN {} { sub ("^c","\!") ; if ($0 ~ /^     \./) {if (NR > 1) print p0," &"; sub ("     \.","     \\&")} else { if (NR > 1) print p0  } p0=$0 } END { print p0}' $libf/dyn3d/control.h >! $libf/dyn3d/control.tmp
    326 #if ( ! -f $libf/dyn3d/control.inc  || `diff $libf/dyn3d/control.tmp $libf/dyn3d/control.inc | wc -w` ) then
    327 #      \mv $libf/dyn3d/control.tmp $libf/dyn3d/control.inc
    328 #endif
    329 #awk 'BEGIN {} { sub ("^c","\!") ; if ($0 ~ /^     S/) {if (NR > 1) print p0," &"; sub ("     S","     \\&")} else { if (NR > 1) print p0  } p0=$0 } END { print p0}' $libf/phylmd/YOMCST.h >! $libf/phylmd/YOMCST.tmp
    330 #if ( ! -f $libf/phylmd/YOMCST.inc  || `diff $libf/phylmd/YOMCST.tmp $libf/phylmd/YOMCST.inc | wc -w` ) then
    331 #      \mv $libf/phylmd/YOMCST.tmp $libf/phylmd/YOMCST.inc
    332 #endif
    333 #awk 'BEGIN {} { sub ("^c","\!") ; if ($0 ~ /^     S/) {if (NR > 1) print p0," &"; sub ("     S","     \\&")} else { if (NR > 1) print p0  } p0=$0 } END { print p0}' $libf/phylmd/clesphys.h >! $libf/phylmd/clesphys.tmp
    334 #if ( ! -f $libf/phylmd/clesphys.inc  || `diff $libf/phylmd/clesphys.tmp $libf/phylmd/clesphys.inc | wc -w` ) then
    335 #      \mv $libf/phylmd/clesphys.tmp $libf/phylmd/clesphys.inc
    336 #endif
    337 
    338 #########################################################
    339311
    340312cd $LMDGCM
Note: See TracChangeset for help on using the changeset viewer.