Ignore:
Timestamp:
Feb 11, 2014, 11:42:52 AM (11 years ago)
Author:
acaubel
Message:

AC : Modified to run with Oasis-MCT as coupler in IPSLCM6 coupled configuration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/makelmdz_fcm

    r1907 r1965  
    6666[-p PHYS]                  : set of physical parametrizations (in libf/phyPHYS), (default: lmd)
    6767[-prod / -dev / -debug]    : compilation mode production (default) / developement / debug
    68 [-c false/MPI1/MPI2]       : coupling with ocean model : MPI1/MPI2/false (default: false)
     68[-c false/MPI1/OMCT]       : coupling with ocean model : MPI1/OMCT/false (default: false)
    6969[-v false/orchidee2.0/orchidee1.9/true] : version of the vegetation model to include (default: false)
    7070          false       : no vegetation model
     
    231231if [[ "$couple" != "false" ]]
    232232then
    233    CPP_KEY="$CPP_KEY CPP_COUPLE"
    234    INCLUDE="$INCLUDE -I${OASIS_INCDIR}"
    235    LIB="$LIB -L${OASIS_LIBDIR} -lpsmile.${couple} -lmpp_io"
     233    if [[ "$couple" == "MPI1" ]]
     234    then
     235        CPP_KEY="$CPP_KEY CPP_COUPLE"
     236        export OASIS_INCDIR=$LMDGCM/../../prism/X64/build/lib/psmile.MPI1
     237        export OASIS_LIBDIR=$LMDGCM/../../prism/X64/lib
     238        INCLUDE="$INCLUDE -I${OASIS_INCDIR}"
     239        LIB="$LIB -L${OASIS_LIBDIR} -lpsmile.MPI1 -lmpp_io"
     240    else
     241        CPP_KEY="$CPP_KEY CPP_COUPLE CPP_OMCT"
     242        INCLUDE="$INCLUDE -I${OASIS_INCDIR}"
     243        LIB="$LIB -L${OASIS_LIBDIR} -lpsmile.MPI1 -lscrip -lmct -lmpeu"
     244    fi
    236245fi
    237246
Note: See TracChangeset for help on using the changeset viewer.