Changeset 816


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

Location:
LMDZ4/trunk
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/bld.cfg

    r808 r816  
    6868bld::excl_dep        use::ioipsl
    6969bld::excl_dep        use::intersurf
     70bld::excl_dep        use::mod_prism_proto
     71bld::excl_dep        use::mod_prism_def_partition_proto
     72bld::excl_dep        use::mod_prism_get_proto
     73bld::excl_dep        use::mod_prism_put_proto
    7074
    7175# Don't generate interface files
  • LMDZ4/trunk/machine/arch-IA64_PLATINE.path

    r810 r816  
    11set NETCDF_LIBDIR=/applications/netcdf/lib
    22set NETCDF_INCDIR=/applications/netcdf/include
    3 set IOIPSL_INCDIR=$WORKDIR/IOIPSL_MPP/src
    4 set IOIPSL_LIBDIR=$WORKDIR/IOIPSL_MPP/src
    5 set ORCH_INCDIR=$WORKDIR/ORCHIDEE/lib
    6 set ORCH_LIBDIR=$WORKDIR/ORCHIDEE/lib
     3set IOIPSL_INCDIR=$LMDGCM/../../lib
     4set IOIPSL_LIBDIR=$LMDGCM/../../lib
     5set ORCH_INCDIR=$LMDGCM/../../lib
     6set ORCH_LIBDIR=$LMDGCM/../../lib
     7set OASIS_INCDIR=$LMDGCM/../../prism/SX/build/lib/psmile.$couple
     8set OASIS_LIBDIR=$LMDGCM/../../prism/SX/lib
     9
  • LMDZ4/trunk/machine/arch-SX8_MERCURE.fcm

    r783 r816  
    33%AR                  sxar
    44%MAKE                make
    5 %FFLAGS              -C vopt -ftrace -p -P openmp -Wf,-pvctl res=whole,-A dbl4,-init stack=nan,-init heap=nan,-ptr byte -EP -R5 -float0 -size_t64 -dw -Wf,"-pvctl loopcnt=999999 fullmsg noassume"
     5%FFLAGS              -C vopt -Wf,-pvctl res=whole,-A dbl4,-init stack=nan,-init heap=nan,-ptr byte -EP -R5 -float0 -size_t64 -dw -Wf,"-pvctl loopcnt=999999 fullmsg noassume"
    66%FPP_FLAGS           -P -traditional
    7 %FPP_DEF             NC_DOUBLE BLAS SGEMV=DGEMV SGEMM=DGEMM _OPENMP
    8 %LD_FLAGS            -ftrace -p -P openmp -size_t64 -lblas -Wl "-ZL 24G"
     7%FPP_DEF             NC_DOUBLE BLAS SGEMV=DGEMV SGEMM=DGEMM
     8%LD_FLAGS            -size_t64 -lblas
     9
  • LMDZ4/trunk/machine/arch-SX8_MERCURE.path

    r783 r816  
    1 set ARCH=SX6
    21set NETCDF_LIBDIR=/usr/local/SX8/soft/netcdf/lib
    32set NETCDF_INCDIR=/usr/local/SX8/soft/netcdf/include
    4 set IOIPSL_INCDIR=$WORKDIR/IOIPSL_MPP/src
    5 set IOIPSL_LIBDIR=$WORKDIR/IOIPSL_MPP/src
    6 set ORCH_INCDIR=$WORKDIR/ORCHIDEE/lib
    7 set ORCH_LIBDIR=$WORKDIR/ORCHIDEE/lib
     3set IOIPSL_INCDIR=$LMDGCM/../../lib
     4set IOIPSL_LIBDIR=$LMDGCM/../../lib
     5set ORCH_INCDIR=$LMDGCM/../../lib
     6set ORCH_LIBDIR=$LMDGCM/../../lib
     7set OASIS_INCDIR=$LMDGCM/../../prism/SX/build/lib/psmile.$couple
     8set OASIS_LIBDIR=$LMDGCM/../../prism/SX/lib
     9
  • 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.