Changeset 5961


Ignore:
Timestamp:
10/25/21 15:33:17 (8 months ago)
Author:
acosce
Message:

fixe bug with new flags for compilation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v7/ICOLMDZORINCA_v7/compile_icolmdzorinca.sh

    r5958 r5961  
    394394echo gcm suffix = $suffix 
    395395 
    396 # Move executables to modipsl/bin folder 
    397 echo "Move gcm.e and ce0l executable to modipsl/bin" 
    398 if [ -f $modipsl/modeles/LMDZ/bin/gcm${suffix} ] ;  then 
    399     mv $modipsl/modeles/LMDZ/bin/gcm${suffix} $modipsl/bin/gcm_${resol_atm}_${optmode}_${optchimie}.e 
    400 else 
    401     echo "ERROR gcm${suffix} executable does not exist."  
    402     echo "THERE IS A PROBLEM IN LMDZ REGULAR LATLON COMPILATION - STOP" 
    403     echo "ALL INFORMATION IN FILE $outfile" 
    404     exit 
    405 fi 
    406  
    407 if [ -f $modipsl/modeles/LMDZ/bin/ce0l${suffix} ] ;  then 
    408     mv $modipsl/modeles/LMDZ/bin/ce0l${suffix} $modipsl/bin/ce0l_${resol_atm}_${optmode}_${optchimie}.e 
    409 else 
    410     echo "ERROR ce0l${suffix} executable does not exist."  
    411     echo "THERE IS A PROBLEM IN LMDZ REGULAR LATLON COMPILATION - STOP" 
    412     echo "ALL INFORMATION IN FILE $outfile" 
    413     exit 
    414 fi 
    415  
     396if [ $ico_only = no ] ; then  
     397    # Move executables to modipsl/bin folder 
     398    echo "Move gcm.e and ce0l executable to modipsl/bin" 
     399    if [ -f $modipsl/modeles/LMDZ/bin/gcm${suffix} ] ;  then 
     400        mv $modipsl/modeles/LMDZ/bin/gcm${suffix} $modipsl/bin/gcm_${resol_atm}_${optmode}_${optchimie}.e 
     401    else 
     402        echo "ERROR gcm${suffix} executable does not exist."  
     403        echo "THERE IS A PROBLEM TO MOVE LMDZ REGULAR LATLON EXECUTABLE - STOP" 
     404        echo "ALL INFORMATION IN FILE $outfile" 
     405        exit 
     406    fi 
     407fi  
     408 
     409if [ $ce0l = yes ] ; then  
     410 
     411    if [ -f $modipsl/modeles/LMDZ/bin/ce0l${suffix} ] ;  then 
     412        mv $modipsl/modeles/LMDZ/bin/ce0l${suffix} $modipsl/bin/ce0l_${resol_atm}_${optmode}_${optchimie}.e 
     413    else 
     414        echo "ERROR ce0l${suffix} executable does not exist."  
     415        echo "THERE IS A PROBLEM IN LMDZ REGULAR LATLON COMPILATION - STOP" 
     416        echo "ALL INFORMATION IN FILE $outfile" 
     417        exit 
     418    fi 
     419fi  
    416420 
    417421 
Note: See TracChangeset for help on using the changeset viewer.