Ignore:
Timestamp:
Jan 8, 2008, 6:43:33 PM (17 years ago)
Author:
lsce
Message:

Now the same on branch LMDZ4_V3_patches:
bld.cfg : Added variable FPP(default cpp). It is now possible to change fortran preprocessor which should be done in machine/arch-XXX.fcm, see for example machine/arch-ES_MOON.fcm. Removed variable cc never used.

makegcm_fcm : added libprefix(default ""), needed at some plateforms, for ex libsxioipsl.a instead of libioipsl.a.

JG

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/branches/LMDZ4_V3_patches/makegcm_fcm

    r845 r876  
    2626set parallel=false
    2727set io=ioipsl
     28set LIBPREFIX=""
    2829
    2930set LMDGCM=`/bin/pwd`
     
    193194   set CPP_KEY="$CPP_KEY CPP_VEGET"
    194195   set INCLUDE="${INCLUDE} -I${ORCH_INCDIR}"
    195    set LIB="${LIB} -L${ORCH_LIBDIR} -lsechiba -lparameters -lstomate -lparallel -lorglob"
     196   set LIB="${LIB} -L${ORCH_LIBDIR} -l${LIBPREFIX}sechiba -l${LIBPREFIX}parameters -l${LIBPREFIX}stomate -l${LIBPREFIX}parallel -l${LIBPREFIX}orglob"
    196197endif
    197198
     
    199200   set CPP_KEY="$CPP_KEY CPP_IOIPSL"
    200201   set INCLUDE="$INCLUDE -I${IOIPSL_INCDIR}"
    201    set LIB="$LIB -L${IOIPSL_LIBDIR} -lioipsl"
     202   set LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl"
    202203endif
    203204
Note: See TracChangeset for help on using the changeset viewer.