Changeset 3213 for branches/2011/dev_NEMO_MERGE_2011/NEMOGCM
- Timestamp:
- 2011-12-12T13:43:24+01:00 (12 years ago)
- Location:
- branches/2011/dev_NEMO_MERGE_2011/NEMOGCM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/CONFIG/makenemo
r3201 r3213 134 134 echo "makenemo -n MY_CONFIG -d \"OPA_SRC LIM_SRC_2\""; 135 135 echo ""; 136 echo "Available configurations :"; cat ${CO MPIL_DIR}/cfg.txt;136 echo "Available configurations :"; cat ${CONFIG_DIR}/cfg.txt; 137 137 echo ""; 138 138 echo "Example to remove bad configuration "; … … 216 216 if [ "${NEW_CONF}" == help ] ; then 217 217 echo "Available configurations :" 218 cat ${CO MPIL_DIR}/cfg.txt218 cat ${CONFIG_DIR}/cfg.txt 219 219 exit 220 220 fi … … 252 252 . ${COMPIL_DIR}/Fmake_config.sh ${NEW_CONF} ${REF_CONF} 253 253 else 254 sed -e "/${NEW_CONF} /d" ${CO MPIL_DIR}/cfg.txt > ${COMPIL_DIR}/cfg.tmp255 \mv ${COMPIL_DIR}/cfg.tmp ${CO MPIL_DIR}/cfg.txt254 sed -e "/${NEW_CONF} /d" ${CONFIG_DIR}/cfg.txt > ${COMPIL_DIR}/cfg.tmp 255 \mv ${COMPIL_DIR}/cfg.tmp ${CONFIG_DIR}/cfg.txt 256 256 fi 257 257 258 258 #- 259 259 #- Save new configuration and directories names --- 260 echo ${NEW_CONF} ${TAB[*]} >> ${CO MPIL_DIR}/cfg.txt260 echo ${NEW_CONF} ${TAB[*]} >> ${CONFIG_DIR}/cfg.txt 261 261 262 262 #- -
branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/TOOLS/maketools
r2331 r3213 84 84 #- 85 85 #- Choice of the options --- 86 x_h=""; 86 87 x_n=""; 87 88 x_m=""; … … 92 93 do 93 94 case $V in 94 (h) echo "Usage : "${b_n} \ 95 (h) x_h=${OPTARG}; 96 echo "Usage : "${b_n} \ 95 97 " [-h] [-n name] [-m arch] [-j No] [-t tmpdir]"; 96 98 echo " -h : help"; 99 echo " -h institute : specific help for consortium members"; 97 100 echo " -n name : tool name, [-n help] to list existing tools"; 98 101 echo " -m arch : choose compiler, [-m help] to list exiting compilers"; … … 105 108 printf "%s\n" "Available tools :" `ls ${TOOLS_DIR}|grep -v COMPILE | grep -v maketools`; 106 109 echo ""; 107 . ${COMPIL_DIR}/Flist_archfile.sh ;110 . ${COMPIL_DIR}/Flist_archfile.sh ${x_h}; 108 111 echo ""; 109 112 echo "Default : previous tool and compiler"; … … 140 143 #- Check if the tool or the compiler exist or list it 141 144 [ "${NEW_CONF}" == help ] && printf "%s\n" "Available tools :" `ls ${TOOLS_DIR}|grep -v COMPILE | grep -v maketools` && exit 142 [ "${CMP_NAM}" == help ] && . ${COMPIL_DIR}/Flist_archfile.sh && exit145 [ "${CMP_NAM}" == help ] && . ${COMPIL_DIR}/Flist_archfile.sh all && exit 143 146 144 147 #- When used for the first time, choose a compiler ---
Note: See TracChangeset
for help on using the changeset viewer.