Changeset 6570 for CONFIG


Ignore:
Timestamp:
07/25/23 12:03:57 (10 months ago)
Author:
acosce
Message:

update way to compile without key cpp for the coupling between pisces and inca

File:
1 edited

Legend:

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

    r6550 r6570  
    289289   delkeys="key_nosignedzero key_mpp_rep" 
    290290else 
    291    addkeys="key_top key_pisces key_age key_cfc key_cpl_carbon_cycle key_gas key_oasis3 key_transm_ocninca" 
     291   addkeys="key_top key_pisces key_age key_cfc key_cpl_carbon_cycle key_gas key_oasis3" 
    292292   if [ ${oceanbio} == y ] ; then 
    293293      if [ ${esmco2} == y ] ; then 
     
    295295           delkeys="key_nosignedzero key_mpp_rep" 
    296296        else 
    297            delkeys="key_nosignedzero key_mpp_rep key_transm_ocninca" 
     297           delkeys="key_nosignedzero key_mpp_rep" 
    298298        fi 
    299299      else 
    300          delkeys="key_nosignedzero key_mpp_rep key_cpl_carbon_cycle key_gas key_transm_ocninca" 
     300         delkeys="key_nosignedzero key_mpp_rep key_cpl_carbon_cycle key_gas" 
    301301      fi 
    302302   else 
    303       delkeys="key_nosignedzero key_mpp_rep key_top key_pisces key_cfc key_age key_cpl_carbon_cycle key_gas key_transm_ocninca" 
     303      delkeys="key_nosignedzero key_mpp_rep key_top key_pisces key_cfc key_age key_cpl_carbon_cycle key_gas" 
    304304   fi 
    305305fi 
     
    365365    cd $modipsl/modeles/INCA 
    366366    #compile INCA regulat lat_lon chimie library  
    367     echo; echo "NOW COMPILE INCA AER on resolution = ${resol_atm}" 
    368     if [ ${esmco2} == y ] ; then 
    369       echo ./makeinca_fcm -chimie ${optchimie} -$optmode -xios -parallel mpi_omp -j 8 -arch ${fcm_arch} -arch_path $arch_path $full_flag $full_inca -cplocninca >> $outfile 
    370            ./makeinca_fcm -chimie ${optchimie} -$optmode -xios -parallel mpi_omp -j 8 -arch ${fcm_arch} -arch_path $arch_path  $full_flag $full_inca -cplocninca >> $outfile 2>&1 
    371     else 
    372       echo ./makeinca_fcm -chimie ${optchimie} -$optmode -xios -parallel mpi_omp -j 8 -arch ${fcm_arch} -arch_path $arch_path $full_flag $full_inca >> $outfile  
    373            ./makeinca_fcm -chimie ${optchimie} -$optmode -xios -parallel mpi_omp -j 8 -arch ${fcm_arch} -arch_path $arch_path  $full_flag $full_inca >> $outfile 2>&1 
    374     fi 
     367    echo; echo "NOW COMPILE INCA ${optchimie} on resolution = ${resol_atm}" 
     368    echo ./makeinca_fcm -chimie ${optchimie} -$optmode -xios -parallel mpi_omp -j 8 -arch ${fcm_arch} -arch_path $arch_path $full_flag $full_inca -cplocninca >> $outfile 
     369         ./makeinca_fcm -chimie ${optchimie} -$optmode -xios -parallel mpi_omp -j 8 -arch ${fcm_arch} -arch_path $arch_path  $full_flag $full_inca -cplocninca >> $outfile 2>&1 
     370     
    375371    # Test if compiling finished 
    376372    if [[ $? != 0 ]] ; then 
     
    423419esac 
    424420 
    425  
    426  
    427421if [ ${esmchem} == n ] ;  then 
    428422    echo ./makelmdz_fcm -d ${resol_atm} -c OMCT -cosp true $opt_rad -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz gcm    >> $outfile 
     
    430424else 
    431425    #in esm aer case add chemistry option to lmdz compilation 
    432     if [ ${esmco2} == y ] ; then 
    433       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 
    434            ./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 
    435     else 
    436       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 
    437            ./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 
    438     fi 
     426    echo ./makelmdz_fcm -d ${resol_atm} -c OMCT -cosp true $opt_rad -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 
     427         ./makelmdz_fcm -d ${resol_atm} -c OMCT -cosp true $opt_rad -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 
    439428fi 
    440429 
     
    444433    exit 
    445434fi 
    446  
    447  
    448435 
    449436 
Note: See TracChangeset for help on using the changeset viewer.