Changeset 4368 for LMDZ6/branches/Ocean_skin/build_gcm
- Timestamp:
- Dec 6, 2022, 12:01:16 AM (2 years ago)
- Location:
- LMDZ6/branches/Ocean_skin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Ocean_skin
- Property svn:mergeinfo changed
-
LMDZ6/branches/Ocean_skin/build_gcm
r3798 r4368 5 5 # the full path to where the 'fcm' command is to be found 6 6 7 if test -f '.lock' 8 then 9 echo 'ATTENTION: vous etes sans doute en train de compiler le modele par ailleurs' 10 echo "Attendez que la premiere compilation soit terminee pour relancer la suivante." 11 echo "Si vous etes sur que vous ne compilez pas le modele par ailleurs," 12 echo "vous pouvez continuer en repondant oui." 13 echo "Voulez-vous vraiment continuer?" 14 echo "" 7 if [[ -f '.lock' && $force_compile == false ]] 8 then 15 9 echo "WARNING: you are probably already compiling the model somewhere else." 16 10 echo "Wait until the first compilation is finished before launching this one." 17 echo "If you are sure that you are not compiling elsewhere, just answer " 18 echo "yes (or 'oui') to the question below to proceed." 19 echo "Do you wish to continue?" 20 read ouinon 21 if [[ $ouinon == "oui" || $ouinon == "yes" ]] 22 then 23 echo OK 24 else 25 exit 26 fi 27 else 28 echo "compiling..." > '.lock' 11 echo "If you are sure that you are not compiling elsewhere," 12 echo "run makelmdz_fcm with option -force_compile" 13 exit 1 29 14 fi 15 16 echo "compiling..." > '.lock' 30 17 31 18 job=1 … … 46 33 ${dirname}fcm build $* 47 34 48 err=$? 49 # Check error message from fcm build 50 if [ $err != 0 ] ; then 51 # ERROR IN COMPILING 52 echo ERROR IN COMPILING LMDZ : $err 53 exit 1 54 fi 35 build_command_status=$? 55 36 56 37 # cleanup 57 38 \rm -f '.lock' 58 39 40 exit $build_command_status 41
Note: See TracChangeset
for help on using the changeset viewer.