Changeset 4138


Ignore:
Timestamp:
Apr 15, 2019, 9:29:30 AM (6 years ago)
Author:
jgipsl
Message:

Add error handling in compilation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dynamico_lmdz/aquaplanet/IOIPSL/makeioipsl_fcm

    r4136 r4138  
    6969  then
    7070    ln -s $arch_default_path/arch-${arch}.path arch.path
     71  else
     72    echo No arch.path is found. Exit now.
     73    exit 1
    7174  fi
    7275       
     
    123126  ./build.sh --job $job
    124127fi
     128err=$?
     129
     130# Check error message from fcm build
     131if [ $err != 0 ] ; then
     132  # Error found
     133  echo makeioipsl_fcm: Error in compiling IOIPSL : $err 
     134  exit 1
     135fi
    125136
    126137# Link folders created during compilation to the base directory
     
    129140ln -s build/lib lib
    130141ln -s build/inc inc
     142
Note: See TracChangeset for help on using the changeset viewer.