Changeset 2302 for branches/nemo_v3_3_beta
- Timestamp:
- 2010-10-22T14:30:08+02:00 (14 years ago)
- Location:
- branches/nemo_v3_3_beta/NEMOGCM
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/nemo_v3_3_beta/NEMOGCM/CONFIG/makenemo
r2301 r2302 125 125 echo "./makenemo clean"; 126 126 echo ""; 127 echo "Example to add and remove keys "; 128 echo "./makenemo add_key \"key_iomput key_mpp_mpi\" del_key \"key_agrif\" "; 129 echo ""; 127 130 . ${COMPIL_DIR}/Flist_archfile.sh ; 128 131 echo ""; … … 143 146 shift $(($OPTIND-1)); 144 147 145 146 148 while [ ${#1} -gt 0 ] # Get clean, clean_config options 147 149 do 148 150 case "$1" in 149 151 clean) 150 echo "command $1"151 152 x_c="--$1" 152 153 ;; 153 154 clean_config) 154 echo "command $1"155 155 . ${COMPIL_DIR}/Fclean_config.sh 156 156 exit 157 ;; 158 add_key) 159 list_add_key=$2 160 export ${list_add_key} 161 shift 162 ;; 163 del_key) 164 list_del_key=$2 165 export ${list_del_key} 166 shift 157 167 ;; 158 168 *) … … 164 174 shift 165 175 done 176 166 177 167 178 #- … … 234 245 . ${COMPIL_DIR}/Fmake_bld.sh ${CONFIG_DIR} ${NEW_CONF} ${NEMO_TDIR} || exit 235 246 247 #- At this stage new configuration has been added, 248 #- We add or remove keys 249 if [ ${#list_add_key} -ne 0 ] ; then 250 . ${COMPIL_DIR}/Fadd_keys.sh ${list_add_key} 251 fi 252 253 if [ ${#list_del_key} -ne 0 ] ; then 254 . ${COMPIL_DIR}/Fdel_keys.sh 255 fi 256 236 257 #- At this stage the configuration has beeen chosen 237 258 #- We look after agrif … … 264 285 #add remove for clean option 265 286 if [ ${#x_c} -ne 0 ]; then 266 echo "cleaning ${NEW_CONF} WORK, BLD"267 287 rm -rf ${NEMO_TDIR}/${NEW_CONF}/WORK 268 288 rm -rf ${NEMO_TDIR}/${NEW_CONF}/BLD 269 289 rm -rf ${NEMO_TDIR}/${NEW_CONF}/EXP00/opa 270 290 rm -rf ${NEMO_TDIR}/${NEW_CONF}/EXP00/server.exe 291 echo "cleaning ${NEW_CONF} WORK, BLD" 271 292 fi 272 293
Note: See TracChangeset
for help on using the changeset viewer.