Changeset 6648


Ignore:
Timestamp:
10/12/23 10:02:45 (8 months ago)
Author:
aclsce
Message:

Added cleaning of oasis in case of full option is activated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v7/IPSLCM7/compile_ipslcm7.sh

    r6642 r6648  
    3434full_orch="" 
    3535full_dyna="" 
     36full_oasis=n 
    3637# choose radiative code compilation option  
    3738rad=rrtm 
     
    117118        "-resol_atm")  regular_latlon=yes ; resol_atm=$2 ; shift ; shift ;; 
    118119        "-subconfig")  subconfig=$2 ; shift ; shift ;; 
    119         "-full")       full_flag="-full"; full_nemo=y ; full_xios="--full" ; full_lmdz="-full" ; full_orch="-full" ; shift ;; 
     120        "-full")       full_flag="-full"; full_nemo=y ; full_xios="--full" ; full_lmdz="-full" ; full_orch="-full" ; full_oasis=y ; shift ;; 
    120121        "-full_xios")  full_xios="--full" ; shift ;;  # Note only full_xios is using double dash: --full 
    121122        "-full_lmdz")  full_lmdz="-full"  ; shift ;; 
     
    123124        "-full_nemo")  full_nemo=y ; shift ;; 
    124125        "-full_inca")  full_inca="-clean"; shift ;; 
    125         "-full_dyna")  full_dyna="-full" ; shift ;;      
     126        "-full_dyna")  full_dyna="-full" ; shift ;; 
     127        "-full_oasis") full_oasis=y ; shift ;; 
    126128        "-cleannemo")  full_nemo=y ; shift ;; 
    127129        "-rad")        rad=$2; shift ; shift ;; 
     
    141143echo "   resol_atm=${resol_atm}, nemotop=${nemotop}" >> $outfile  
    142144echo "   optmode = $optmode, parallel = $parallel, fcm_arch = $fcm_arch " >> $outfile  
    143 echo "   full_flag=$full_flag, full_xios=$full_xios, full_lmdz=$full_lmdz, full_orch=$full_orch, full_nemo=$full_nemo, full_dyna=$full_dyna" >> $outfile  
     145echo "   full_flag=$full_flag, full_xios=$full_xios, full_lmdz=$full_lmdz, full_orch=$full_orch, full_nemo=$full_nemo, full_dyna=$full_dyna, full_oasis=$full_oasis" >> $outfile  
    144146echo "   compinca=$compinca compnemo=$compnemo compoasis=$compoasis compdyna=$compdyna complmdz=y comporch=y compxios=y" >> $outfile 
    145147echo >> $outfile 
     
    244246if [ $compoasis == y ] ; then 
    245247## 2.2 Compile oasis3-mct 
     248if [ $full_oasis == y ] ; then 
     249    rm -rf $modipsl/oasis3-mct/BLD 
     250fi 
    246251cd $modipsl/oasis3-mct/util/make_dir 
    247252echo; echo "NOW COMPILE OASIS3-MCT" 
Note: See TracChangeset for help on using the changeset viewer.