Changeset 3484 for trunk/LMDZ.COMMON
- Timestamp:
- Oct 24, 2024, 1:10:52 PM (4 weeks ago)
- Location:
- trunk/LMDZ.COMMON
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/build_gcm
r1019 r3484 5 5 # the full path to where the 'fcm' command is to be found 6 6 7 if test -f '.lock' 7 if test -f '.lock' 8 8 then 9 9 echo 'ATTENTION: vous etes sans doute en train de compiler le modele par ailleurs' … … 19 19 echo "Do you wish to continue?" 20 20 read ouinon 21 if [[ $ouinon == "oui" || $ouinon == "yes" ]] 21 if [[ $ouinon == "oui" || $ouinon == "yes" ]] 22 22 then 23 echo OK 23 echo OK 24 24 else 25 25 exit … … 45 45 # run "fcm build" command 46 46 ${dirname}fcm build $* 47 if [ $? != 0 ]; then # check if fcm command worked 48 exit 1 49 fi 50 47 51 48 52 # cleanup 49 \rm -f '.lock' 53 \rm -f '.lock' 50 54 -
trunk/LMDZ.COMMON/makelmdz_fcm
r3481 r3484 180 180 181 181 "-adjnt") 182 echo "not operational ... work to be done here ";exit 182 echo "not operational ... work to be done here ";exit 1 183 183 opt_dep="$opt_dep adjnt" ; adjnt="-ladjnt -ldyn3d " 184 184 optim="$optim -Dadj" ; shift ;; … … 350 350 echo "newstart or start2archive utilities should be run in serial!" 351 351 echo " Compile without -parallel [mpi|omp|mpi_omp] option!" 352 exit 352 exit 1 353 353 fi 354 354 … … 397 397 echo "Option -v $veget does not exist" 398 398 echo "Use ./makelmdz_fcm -h for more information" 399 exit 399 exit 1 400 400 fi 401 401 … … 549 549 \rm -f $LIBFGCM/grid/dimensions.h 550 550 else 551 exit 551 exit 1 552 552 fi 553 553 fi … … 585 585 else 586 586 echo "Error: you should not use the -s # option with -p $physique" 587 exit 587 exit 1 588 588 fi 589 589 fi … … 618 618 echo "Error: a 1D model compiled with xios should also be compiled with " 619 619 echo " -parallel mpi option!" 620 exit 620 exit 1 621 621 fi 622 622 else … … 626 626 echo "Error: a 1D model should not be compiled with " 627 627 echo " -parallel [mpi|omp|mpi_omp] option!" 628 exit 628 exit 1 629 629 fi 630 630 fi # of if [[ $io == "xios" ]] … … 807 807 rm -f $LIBOGCM/${arch}${SUFF_NAME}/.config/fcm.bld.lock 808 808 ./build_gcm ${fcm_path} -j $job $full 809 if [ $? != 0 ]; then # check if fcm command worked 810 exit 1 811 fi 809 812 810 813 rm -rf tmp_src
Note: See TracChangeset
for help on using the changeset viewer.