Changeset 6038 for CONFIG/UNIFORM


Ignore:
Timestamp:
01/07/22 13:52:30 (2 years ago)
Author:
acosce
Message:

Add error messages in compilation script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/IPSLCM5A2CHT.2/compile_ipslcm5a2cht.sh

    r6032 r6038  
    327327        mv $nemo_root/$cfg_wrk/BLD/bin/nemo.exe $modipsl/bin/opa_${resol_oce}_${optmode}_paleo 
    328328    fi 
     329else 
     330    echo "ERROR $nemo_root/$cfg_wrk/BLD/bin/nemo.exe does not exist"  
     331    echo "THERE IS A PROBLEM IN  NEMO COMPILATION - STOP" 
     332    exit 
    329333fi 
    330334 
     
    345349    # Test if compiling finished 
    346350    if [[ $? != 0 ]] ; then 
    347         echo "1- THERE IS A PROBLEM IN INCA COMPILATION - STOP" 
     351        echo "THERE IS A PROBLEM IN INCA COMPILATION - STOP" 
    348352        exit 
    349353    fi 
     
    353357        mv $modipsl/modeles/INCA/SIMULATIONS/${optchimie}/inca.dat $modipsl/bin/inca_${resol_atm}_${optmode}_${optchimie}.dat ; 
    354358    else 
    355         echo "2- THERE IS A PROBLEM IN INCA COMPILATION - STOP" 
     359        echo "ERROR $modipsl/modeles/INCA/SIMULATIONS/${optchimie}/inca.dat does not exist" 
     360        echo "THERE IS A PROBLEM IN INCA COMPILATION - STOP" 
    356361        exit     
    357362    fi 
Note: See TracChangeset for help on using the changeset viewer.