Ignore:
Timestamp:
Oct 24, 2024, 1:10:52 PM (4 weeks ago)
Author:
afalco
Message:

ICOSA_LMDZ: overall compilation stops when compilation of a module fails.
Errors from internal calls in compilation scripts are transferred to the scripts above.
AF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/makelmdz_fcm

    r3481 r3484  
    180180
    181181      "-adjnt")
    182           echo "not operational ... work to be done here ";exit
     182          echo "not operational ... work to be done here ";exit 1
    183183          opt_dep="$opt_dep adjnt" ; adjnt="-ladjnt -ldyn3d "
    184184          optim="$optim -Dadj" ; shift ;;
     
    350350    echo "newstart or start2archive utilities should be run in serial!"
    351351    echo " Compile without -parallel [mpi|omp|mpi_omp] option!"
    352     exit
     352    exit 1
    353353fi
    354354
     
    397397   echo "Option -v $veget does not exist"
    398398   echo "Use ./makelmdz_fcm -h for more information"
    399    exit
     399   exit 1
    400400fi
    401401
     
    549549    \rm -f $LIBFGCM/grid/dimensions.h
    550550  else
    551     exit
     551    exit 1
    552552  fi
    553553fi
     
    585585  else
    586586    echo "Error: you should not use the -s # option with -p $physique"
    587     exit
     587    exit 1
    588588  fi
    589589fi
     
    618618    echo "Error: a 1D model compiled with xios should also be compiled with "
    619619    echo "       -parallel mpi option!"
    620     exit
     620    exit 1
    621621   fi
    622622  else
     
    626626    echo "Error: a 1D model should not be compiled with "
    627627    echo "       -parallel [mpi|omp|mpi_omp] option!"
    628     exit
     628    exit 1
    629629   fi
    630630  fi # of if [[ $io == "xios" ]]
     
    807807rm -f $LIBOGCM/${arch}${SUFF_NAME}/.config/fcm.bld.lock
    808808./build_gcm ${fcm_path} -j $job $full
     809if [ $? != 0 ]; then # check if fcm command worked
     810    exit 1
     811fi
    809812
    810813rm -rf tmp_src
Note: See TracChangeset for help on using the changeset viewer.