Changeset 3201
- Timestamp:
- 2011-12-07T16:07:49+01:00 (13 years ago)
- 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 2 2 GYRE_LOBSTER OPA_SRC TOP_SRC 3 3 ORCA2_LIM3 OPA_SRC LIM_SRC_3 4 ORCA2_LIM OPA_SRC LIM_SRC_2 NST_SRC5 4 POMME OPA_SRC NST_SRC 6 5 AMM12 OPA_SRC … … 8 7 ORCA2_OFF_PISCES OPA_SRC OFF_SRC TOP_SRC 9 8 AMM12_PISCES OPA_SRC TOP_SRC 9 ORCA2_LIM OPA_SRC LIM_SRC_2 NST_SRC -
branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/CONFIG/makenemo
r3198 r3201 77 77 #- 78 78 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 --- 101 81 x_d=""; 102 82 x_h=""; … … 110 90 x_s=NEMO; 111 91 x_v=1; 92 93 #- Local variables --- 94 b_n=$(basename ${0}) 95 OPTIND=1 96 MAIN_DIR=$(cd $(dirname "$0"); pwd) 97 MAIN_DIR=${MAIN_DIR%/SETTE*} 98 MAIN_DIR=${MAIN_DIR%/TOOLS*} 99 MAIN_DIR=${MAIN_DIR%/CONFIG*} 100 export MAIN_DIR 101 # 102 export CONFIG_DIR=${MAIN_DIR}/CONFIG 103 export TOOLS_DIR=${MAIN_DIR}/TOOLS 104 export COMPIL_DIR=${MAIN_DIR}/TOOLS/COMPILE 105 export NEMO_DIR=${MAIN_DIR}/${x_s} 106 export AGRIFUSE=10 107 declare -a TAB 108 #- 109 #- FCM and functions location --- 110 export PATH=${MAIN_DIR}/EXTERNAL/fcm/bin:$PATH 111 112 #- 113 #- Choice of the options --- 112 114 while getopts :hd:n:r:m:j:e:s:v:t: V 113 115 do … … 122 124 echo " -d dir : choose NEMO sub-directories"; 123 125 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]"; 128 130 echo " -t dir : temporary directory for compilation" 129 131 echo "";
Note: See TracChangeset
for help on using the changeset viewer.