Ignore:
Timestamp:
01/11/23 16:54:06 (18 months ago)
Author:
tlurton
Message:

Some config commits to support IPSLESM/CO2AER runs with transfer of species from PISCES to INCA (DMS only for the moment).

File:
1 edited

Legend:

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

    r6299 r6309  
    7171         [ESMCO2] Compile IPSLCM6 for CO2 interactif ocean/atmosphere. 
    7272         [ESMAER] Compile IPSLCM6 for AER interactif on atmosphere 
    73          [ESMCO2AER] Compile IPSLCM6 for both interactive CO2 and AER. 
     73         [ESMCO2AER] Compile IPSLCM6 for both interactive CO2 and AER, and also with transfer of species from PISCES to INCA. 
    7474         [-full] Full recompilation of all components. This option can be added to all other options. 
    7575         [-cleannemo] Full recompilation of NEMO component  only. 
     
    279279   delkeys="key_nosignedzero key_mpp_rep" 
    280280else 
    281    addkeys="key_top key_pisces key_age key_cfc key_cpl_carbon_cycle key_gas key_oasis3" 
     281   addkeys="key_top key_pisces key_age key_cfc key_cpl_carbon_cycle key_gas key_oasis3 key_transm_ocninca" 
    282282   if [ ${oceanbio} == y ] ; then 
    283283      if [ ${esmco2} == y ] ; then 
    284          delkeys="key_nosignedzero key_mpp_rep" 
     284        if [ ${esmaer} == y ] ; then 
     285           delkeys="key_nosignedzero key_mpp_rep" 
     286        else 
     287           delkeys="key_nosignedzero key_mpp_rep key_transm_ocninca" 
     288        fi 
    285289      else 
    286          delkeys="key_nosignedzero key_mpp_rep key_cpl_carbon_cycle key_gas" 
     290         delkeys="key_nosignedzero key_mpp_rep key_cpl_carbon_cycle key_gas key_transm_ocninca" 
    287291      fi 
    288292   else 
    289       delkeys="key_nosignedzero key_mpp_rep key_top key_pisces key_cfc key_age key_cpl_carbon_cycle key_gas" 
     293      delkeys="key_nosignedzero key_mpp_rep key_top key_pisces key_cfc key_age key_cpl_carbon_cycle key_gas key_transm_ocninca" 
    290294   fi 
    291295fi 
     
    350354if [ ${esmaer} == y ] ;  then  
    351355    cd $modipsl/modeles/INCA 
    352     #compile INCA regulat lat_lon chimie librairy  
     356    #compile INCA regulat lat_lon chimie library  
    353357    echo; echo "NOW COMPILE INCA AER on resolution = ${resol_atm}" 
    354     echo ./makeinca_fcm -chimie AER -$optmode -xios -parallel mpi_omp -j 8 -arch ${fcm_arch}  -arch_path $arch_path $full_flag $full_inca >> $outfile  
    355     ./makeinca_fcm -chimie AER -$optmode -xios -parallel mpi_omp -j 8 -arch ${fcm_arch} -arch_path $arch_path  $full_flag $full_inca >> $outfile 2>&1 
    356  
     358    if [ ${esmco2} == y ] ; then 
     359      echo ./makeinca_fcm -chimie AER -$optmode -xios -parallel mpi_omp -j 8 -arch ${fcm_arch} -arch_path $arch_path $full_flag $full_inca -cplocninca >> $outfile 
     360      ./makeinca_fcm -chimie AER -$optmode -xios -parallel mpi_omp -j 8 -arch ${fcm_arch} -arch_path $arch_path  $full_flag $full_inca -cplocninca >> $outfile 2>&1 
     361    else 
     362      echo ./makeinca_fcm -chimie AER -$optmode -xios -parallel mpi_omp -j 8 -arch ${fcm_arch} -arch_path $arch_path $full_flag $full_inca >> $outfile  
     363      ./makeinca_fcm -chimie AER -$optmode -xios -parallel mpi_omp -j 8 -arch ${fcm_arch} -arch_path $arch_path  $full_flag $full_inca >> $outfile 2>&1 
     364    fi 
    357365    # Test if compiling finished 
    358366    if [[ $? != 0 ]] ; then 
     
    409417else 
    410418    #in esm aer case add chemistry option to lmdz compilation 
    411     echo ./makelmdz_fcm -d ${resol_atm} -c OMCT -cosp true $opt_rad -$optmode -mem -parallel $parallel -chimie INCA -io xios -v orchidee2.1 -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz gcm    >> $outfile 
    412     ./makelmdz_fcm -d ${resol_atm} -c OMCT -cosp true $opt_rad -$optmode -mem -parallel $parallel -chimie INCA -io xios -v orchidee2.1 -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz gcm    >> $outfile 2>&1 
     419    if [ ${esmco2} == y ] ; then 
     420      echo ./makelmdz_fcm -d ${resol_atm} -c OMCT -cosp true -rrtm true -$optmode -mem -parallel $parallel -chimie INCA -cplocninca -io xios -v orchidee2.1 -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz gcm    >> $outfile 
     421      ./makelmdz_fcm -d ${resol_atm} -c OMCT -cosp true -rrtm true -$optmode -mem -parallel $parallel -chimie INCA -cplocninca -io xios -v orchidee2.1 -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz gcm    >> $outfile 2>&1 
     422    else 
     423      echo ./makelmdz_fcm -d ${resol_atm} -c OMCT -cosp true -rrtm true -$optmode -mem -parallel $parallel -chimie INCA -io xios -v orchidee2.1 -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz gcm    >> $outfile 
     424      ./makelmdz_fcm -d ${resol_atm} -c OMCT -cosp true -rrtm true -$optmode -mem -parallel $parallel -chimie INCA -io xios -v orchidee2.1 -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz gcm    >> $outfile 2>&1 
     425    fi 
    413426fi 
    414427 
Note: See TracChangeset for help on using the changeset viewer.