Changeset 5093 for LMDZ6/branches/Amaury_dev/build_gcm
- Timestamp:
- Jul 21, 2024, 1:07:18 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/build_gcm
r4103 r5093 5 5 # the full path to where the 'fcm' command is to be found 6 6 7 if [[ -f '.lock' && $force_compile == false ]]8 then9 echo "WARNING: you are probably already compiling the model somewhere else."10 echo "Wait until the first compilation is finished before launching this one."11 echo "If you are sure that you are not compiling elsewhere,"12 echo "run makelmdz_fcm with option -force_compile"13 exit 114 fi15 16 7 echo "compiling..." > '.lock' 17 8 18 job=119 9 dirname="" #path to where the fcm command will be found 20 10 if (( $# >= 1 )) ; then … … 31 21 32 22 # run "fcm build" command 33 ${dirname}fcm build $* 23 echo "Running <${dirname}fcm build " "$@" ">" 24 "${dirname}fcm" build "$@" 34 25 35 26 build_command_status=$? 36 27 37 28 # cleanup 38 \rm -f '.lock' 29 rm -f '.lock' 39 30 40 31 exit $build_command_status
Note: See TracChangeset
for help on using the changeset viewer.