Ignore:
Timestamp:
Sep 4, 2015, 9:10:16 AM (9 years ago)
Author:
Ehouarn Millour
Message:
  • Correction of xml files to follow up on the new variables added in rev 2333.
  • Added option '-libphy' to makelmdz_fcm to generate a given physics package library (without compiling dynamics or a main program).

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/makelmdz_fcm

    r2336 r2358  
    3434job=1
    3535full=''
     36libphy=false
    3637
    3738LMDGCM=`/bin/pwd`
     
    9798[-j n]                     : active parallel compiling on ntask
    9899[-full]                    : full recompiling
     100[-libphy]                  : only compile physics package (no dynamics or main program)
    99101[-fcm_path path]           : path to the fcm tool (default: tools/fcm/bin)
    100102[-ext_src path]            : path to an additional set of routines to compile with the model
     
    171173      "-ext_src")
    172174          EXT_SRC=$2 ; shift ; shift ;;
     175
    173176      "-j")
    174177          job=$2 ; shift ; shift ;;
     178
    175179      "-full")
    176180          full="-full" ; shift ;;
     181
     182      "-libphy")
     183          libphy="true" ; shift ;;
    177184
    178185      "-arch")
     
    536543fi
    537544
     545if [[ $libphy == "true" ]]
     546then
     547  # special case where we compile only the physics
     548  DYN=$LMDGCM/.void_dir
     549  DYN_COMMON_PATH=$LMDGCM/.void_dir
     550  FILTRE_PATH=$LMDGCM/.void_dir
     551  DYN_PHYS_PATH=$LMDGCM/.void_dir
     552  DYN_PHYS_SUB_PATH=$LMDGCM/.void_dir
     553  #and there is no main program to generate
     554  code=""
     555  SUFF_NAME=""
     556else
     557  SUFF_NAME=${SUFF_NAME}.e
     558fi
     559
    538560cd $LMDGCM
    539561config_fcm="config.fcm"
     
    584606rm -rf config
    585607ln -s $LIBOGCM/${arch}${SUFF_NAME}/.config config
    586 ln -s $LIBOGCM/${arch}${SUFF_NAME}/.config/tmp tmp_src
     608ln -s $LIBOGCM/${arch}${SUFF_NAME}/.config/ppsrc tmp_src
    587609
    588610
Note: See TracChangeset for help on using the changeset viewer.