Ignore:
Timestamp:
05/10/23 12:56:33 (14 months ago)
Author:
cetlod
Message:

merge useless IPSLCM6.5.1 into IPSLCM6.5 CONFIG & restructuration of PARAM sub-directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/IPSLCM6.5/compile_ipslcm6.sh

    • Property svn:executable deleted
    r5122 r6443  
    66# 
    77date 
     8### 
    89#### 1  Set up the compiling options 
    910#### Define some directories 
     
    206207 
    207208## 2.3 Compile xios 
    208 cd $modipsl/modeles/XIOS 
     209xios_root=$modipsl/modeles/XIOS 
     210cd $xios_root 
    209211echo; echo "NOW COMPILE XIOS" 
    210212echo >> $outfile ; echo " NOW COMPILE XIOS"   >> $outfile  
     
    217219fi 
    218220# Move executables to modipsl/bin 
    219 if [ -f $modipsl/modeles/XIOS/bin/xios_server.exe ] ; then  
    220     mv $modipsl/modeles/XIOS/bin/xios_server.exe $modipsl/bin/xios_server_${optmode}.exe 
     221if [ -f $xios_root/bin/xios_server.exe ] ; then  
     222    mv $xios_root/bin/xios_server.exe $modipsl/bin/xios_server_${optmode}.exe 
    221223else 
    222224    echo "THERE IS A PROBLEM IN XIOS COMPILATION EXECUTABLE MISSING - STOP" 
     
    226228 
    227229## 2.4 Compile orchidee 
    228 cd $modipsl/modeles/ORCHIDEE 
     230orchidee_root=$modipsl/modeles/ORCHIDEE 
     231cd $orchidee_root 
    229232echo; echo "NOW COMPILE ORCHIDEE" 
    230233echo >> $outfile ; echo " NOW COMPILE ORCHIDEE"   >> $outfile  
     
    251254 
    252255 
    253 ## 2.5 Compile NEMO 
     256#### 2.5 Compile NEMO 
    254257nemo_root=$modipsl/modeles/NEMO 
    255258cfg_ref=ORCA2_ICE_PISCES 
    256259cfg_wrk=ORCA_ICE_TRC 
    257 addkeys="key_oasis3 key_top key_si3" 
     260addkeys="key_oasis3 key_top key_si3 key_isf" 
    258261delkeys="" 
    259262 
     
    319322# If necessary compile INCA modele with AER configuration  
    320323if [ ${aer} == y ] ;  then  
    321     cd $modipsl/modeles/INCA 
     324    inca_root=$modipsl/modeles/INCA 
     325    cd $inca_root 
    322326    #compile INCA regulat lat_lon chimie librairy  
    323327    echo; echo "NOW COMPILE INCA AER on resolution = ${resol_atm}" 
     
    332336 
    333337    echo "Move inca.dat modipsl/bin" 
    334     if [[ -f $modipsl/modeles/INCA/SIMULATIONS/AER/inca.dat ]] ;  then   
    335         mv $modipsl/modeles/INCA/SIMULATIONS/AER/inca.dat $modipsl/bin/inca_${resol_atm}_${optmode}_AER.dat ; 
     338    if [[ -f $inca_root/INCA/SIMULATIONS/AER/inca.dat ]] ;  then   
     339        mv $inca_root/SIMULATIONS/AER/inca.dat $modipsl/bin/inca_${resol_atm}_${optmode}_AER.dat ; 
    336340    else 
    337341        echo "THERE IS A PROBLEM IN INCA COMPILATION - STOP" 
     
    343347 
    344348# Compile LMDZ regular lat-lon executable 
    345 cd $modipsl/modeles/LMDZ 
     349lmdz_root=$modipsl/modeles/LMDZ 
    346350echo; echo "NOW COMPILE LMDZ REGULAR LAT-LON MODE. Resolution = ${resol_atm}" 
    347351echo >> $outfile ; echo " NOW COMPILE LMDZ REGULAR LAT-LON MODE. Resolution = ${resol_atm}"   >> $outfile  
     352 
     353echo >> $outfile ; echo cd $lmdz_root  >> $outfile 
     354echo >> $outfile ; echo cp $mysrc_path/LMDZ/arch-${fcm_arch}.fcm arch/.   >> $outfile 
     355echo >> $outfile 
     356cd $lmdz_root ; cp $mysrc_path/LMDZ/arch-${fcm_arch}.path arch/. 
    348357 
    349358# Check if the compilation of LMDZ was previsouly interupted prematured.  
     
    377386echo >> $outfile 
    378387echo "Move gcm.e executable to modipsl/bin" >> $outfile 
    379 echo ls -lrt $modipsl/modeles/LMDZ/bin   >> $outfile 
    380 ls -lrt $modipsl/modeles/LMDZ/bin  >> $outfile 
     388echo ls -lrt $lmdz_root/bin   >> $outfile 
     389ls -lrt $lmdz_root/bin  >> $outfile 
    381390echo >> $outfile 
    382391if [ ${aer} == n ] ;  then  
    383     suffix=_${resol_atm}_phylmd_para_mem_orch_couple.e 
    384 else 
    385     suffix=_${resol_atm}_phylmd_para_mem_orch_couple_inca.e 
     392    suffix=_${resol_atm}_phylmd_rrtm_para_mem_orch_couple.e 
     393else 
     394    suffix=_${resol_atm}_phylmd_rrtm_para_mem_orch_couple_inca.e 
    386395fi 
    387396echo gcm suffix = $suffix 
    388397 
    389 if [ -f $modipsl/modeles/LMDZ/bin/gcm${suffix} ] ;  then  
     398if [ -f $lmdz_root/bin/gcm${suffix} ] ;  then  
    390399    if [ ${aer} == n ] ;  then  
    391         mv $modipsl/modeles/LMDZ/bin/gcm${suffix} $modipsl/bin/gcm_${resol_atm}_${optmode}.e 
     400        mv $lmdz_root/bin/gcm${suffix} $modipsl/bin/gcm_${resol_atm}_${optmode}.e 
    392401    else 
    393         mv $modipsl/modeles/LMDZ/bin/gcm${suffix} $modipsl/bin/gcm_${resol_atm}_${optmode}_AER.e 
     402        mv $lmdz_root/bin/gcm${suffix} $modipsl/bin/gcm_${resol_atm}_${optmode}_AER.e 
    394403    fi 
    395404else 
     
    417426    echo >> $outfile 
    418427    echo "Move ce0l.e executable to modipsl/bin" >> $outfile 
    419     echo ls -lrt $modipsl/modeles/LMDZ/bin   >> $outfile 
    420     ls -lrt $modipsl/modeles/LMDZ/bin  >> $outfile 
     428    echo ls -lrt $lmdz_root/bin   >> $outfile 
     429    ls -lrt $lmdz_root/bin  >> $outfile 
    421430    echo >> $outfile 
    422431    suffix=_${resol_atm}_phylmd_seq.e 
    423432    echo ce0l suffix = $suffix 
    424433 
    425     if [ -f $modipsl/modeles/LMDZ/bin/ce0l${suffix} ] ;  then  
    426         mv $modipsl/modeles/LMDZ/bin/ce0l${suffix} $modipsl/bin/ce0l_${resol_atm}_${optmode}.e 
     434    if [ -f $lmdz_root/bin/ce0l${suffix} ] ;  then  
     435        mv $lmdz_root/bin/ce0l${suffix} $modipsl/bin/ce0l_${resol_atm}_${optmode}.e 
    427436    else 
    428437        echo "ERROR ce0l${suffix} executable does not exist."  
Note: See TracChangeset for help on using the changeset viewer.