Changeset 1752 for LMDZ5/branches/testing/makelmdz_fcm
- Timestamp:
- Apr 30, 2013, 8:34:06 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing/makelmdz_fcm
r1707 r1752 158 158 159 159 ############################################################### 160 # mettre le chemin du fcm dans le path160 # path to fcm 161 161 ############################################################### 162 export PATH=${fcm_path}:${PATH} 163 164 echo "Chemin du fcm utlise :" 165 which fcm 162 # handle case when provided path to fcm was given as a relative 163 # path (from makelmdz_fcm script directory) and not an absolute path 164 if [[ ${fcm_path:0:1} != "/" ]] ; then 165 # prepend with makelmdz_fcm location 166 fcm_path=$(cd $(dirname $0) ; pwd)"/"${fcm_path} 167 fi 168 169 echo "Path to fcm:" 170 echo ${fcm_path} 166 171 167 172 ############################################################### … … 291 296 echo vous pouvez continuer en repondant oui. 292 297 echo "Voulez-vous vraiment continuer?" 298 echo "" 299 echo "WARNING: you are probably already compiling the model somewhere else." 300 echo "Wait until the first compilation is finished before launching this one." 301 echo "If you are sure that you are not compiling elsewhere, just answer " 302 echo "yes (or 'oui') to the question below to proceed." 303 echo "Do you wish to continue?" 293 304 read reponse 294 if [[ $reponse == "oui" ]]305 if [[ $reponse == "oui" || $reponse == "yes" ]] 295 306 then 296 307 \rm -f $LIBFGCM/grid/dimensions.h … … 433 444 434 445 rm -f $LIBOGCM/${arch}${SUFF_NAME}/.config/fcm.bld.lock 435 ./build_gcm 446 ./build_gcm ${fcm_path} 436 447 437 448 rm -rf tmp_src
Note: See TracChangeset
for help on using the changeset viewer.