New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 3201 for branches/2011/dev_NEMO_MERGE_2011 – NEMO

Ignore:
Timestamp:
2011-12-07T16:07:49+01:00 (12 years ago)
Author:
rblod
Message:

Final (?) commit for ticket #894

Location:
branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/CONFIG
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/CONFIG/cfg.txt

    r3197 r3201  
    22GYRE_LOBSTER OPA_SRC TOP_SRC 
    33ORCA2_LIM3 OPA_SRC LIM_SRC_3 
    4 ORCA2_LIM OPA_SRC LIM_SRC_2 NST_SRC 
    54POMME OPA_SRC NST_SRC 
    65AMM12 OPA_SRC 
     
    87ORCA2_OFF_PISCES OPA_SRC OFF_SRC TOP_SRC 
    98AMM12_PISCES OPA_SRC TOP_SRC 
     9ORCA2_LIM OPA_SRC LIM_SRC_2 NST_SRC 
  • branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/CONFIG/makenemo

    r3198 r3201  
    7777#- 
    7878 
    79 #- Local variables --- 
    80 b_n=$(basename ${0}) 
    81 OPTIND=1 
    82 MAIN_DIR=$(cd $(dirname "$0"); pwd) 
    83 MAIN_DIR=${MAIN_DIR%/SETTE*} 
    84 MAIN_DIR=${MAIN_DIR%/TOOLS*} 
    85 MAIN_DIR=${MAIN_DIR%/CONFIG*} 
    86 export MAIN_DIR 
    87 # 
    88 export CONFIG_DIR=${MAIN_DIR}/CONFIG 
    89 export TOOLS_DIR=${MAIN_DIR}/TOOLS 
    90 export COMPIL_DIR=${MAIN_DIR}/TOOLS/COMPILE 
    91 export NEMO_DIR=${MAIN_DIR}/${x_s} 
    92 export AGRIFUSE=10 
    93  
    94 declare -a TAB 
    95 #- 
    96 #- FCM and functions location --- 
    97 export PATH=${MAIN_DIR}/EXTERNAL/fcm/bin:$PATH 
    98  
    99 #- 
    100 #- Choice of the options --- 
     79#- 
     80#- Initialization of the options --- 
    10181x_d=""; 
    10282x_h=""; 
     
    11090x_s=NEMO; 
    11191x_v=1; 
     92 
     93#- Local variables --- 
     94b_n=$(basename ${0}) 
     95OPTIND=1 
     96MAIN_DIR=$(cd $(dirname "$0"); pwd) 
     97MAIN_DIR=${MAIN_DIR%/SETTE*} 
     98MAIN_DIR=${MAIN_DIR%/TOOLS*} 
     99MAIN_DIR=${MAIN_DIR%/CONFIG*} 
     100export MAIN_DIR 
     101# 
     102export CONFIG_DIR=${MAIN_DIR}/CONFIG 
     103export TOOLS_DIR=${MAIN_DIR}/TOOLS 
     104export COMPIL_DIR=${MAIN_DIR}/TOOLS/COMPILE 
     105export NEMO_DIR=${MAIN_DIR}/${x_s} 
     106export AGRIFUSE=10 
     107declare -a TAB 
     108#- 
     109#- FCM and functions location --- 
     110export PATH=${MAIN_DIR}/EXTERNAL/fcm/bin:$PATH 
     111 
     112#- 
     113#- Choice of the options --- 
    112114while getopts :hd:n:r:m:j:e:s:v:t: V 
    113115do 
     
    122124   echo " -d dir       : choose NEMO sub-directories"; 
    123125   echo " -r conf      : choose reference configuration"; 
    124     echo " -s Path      : choose alternative location for NEMO main directory"; 
    125     echo " -e Path      : choose alternative location for MY_SRC directory"; 
    126     echo " -j No        : number of processes used to compile (0=nocompilation)"; 
    127     echo " -v No        : set verbosity level for compilation [0-3]"; 
     126        echo " -s Path      : choose alternative location for NEMO main directory"; 
     127        echo " -e Path      : choose alternative location for MY_SRC directory"; 
     128        echo " -j No        : number of processes used to compile (0=nocompilation)"; 
     129        echo " -v No        : set verbosity level for compilation [0-3]"; 
    128130   echo " -t dir       : temporary directory for compilation" 
    129131   echo ""; 
Note: See TracChangeset for help on using the changeset viewer.