Changeset 3736


Ignore:
Timestamp:
Jun 26, 2020, 12:54:29 PM (4 years ago)
Author:
idelkadi
Message:

Updating install_lmdz.sh script in order to run simulations with Cosp(v2) simulator.
Note that for the update for Jean-Zay, svn is used to download XIOS and that the model is compiled in dev mode with Cospv2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install/install_lmdz.sh

    r3735 r3736  
    734734  chmod u=rwx install_xios.bash
    735735   if [ ${hostname:0:5} = jean- ] ; then
    736     echo 'Need to work on install_xios implementation for jean-zay'
    737     exit
     736#    echo 'Need to work on install_xios implementation for jean-zay'
     737#    exit
     738   svn co http://forge.ipsl.jussieu.fr/ioserver/svn/XIOS/branchs/xios-2.5 XIOS
     739   cd XIOS/arch
     740   svn update
     741   cd ..
     742   ./make_xios --prod --arch $arch --job 4 > xios.log 2>&1
    738743   else
    739744     ./install_xios.bash -prefix $MODEL/modipsl/modeles \
     
    990995  rm -f compile.sh
    991996  echo resol=${grid_resolution} >> compile.sh
    992   echo ./$makelmdz $optim $OPT_MAKELMDZ -rrtm true $opt_cosp $opt_makelmdz_xios -d \$resol -v $veget_version -mem -parallel $parallel gcm >> compile.sh
    993   echo ./$makelmdz $optim $OPT_MAKELMDZ -rrtm true $opt_cosp $opt_makelmdz_xios -d \$resol -v $veget_version -mem -parallel $parallel gcm
     997  if [ ${hostname:0:5} = jean- -a "$cospv2" = 1 ] ; then
     998     echo ./$makelmdz -dev $optim $OPT_MAKELMDZ -rrtm true $opt_cosp $opt_makelmdz_xios -d \$resol -v $veget_version -mem -parallel $parallel gcm >> compile.sh
     999     echo ./$makelmdz -dev $optim $OPT_MAKELMDZ -rrtm true $opt_cosp $opt_makelmdz_xios -d \$resol -v $veget_version -mem -parallel $parallel gcm
     1000  else   
     1001    echo ./$makelmdz $optim $OPT_MAKELMDZ -rrtm true $opt_cosp $opt_makelmdz_xios -d \$resol -v $veget_version -mem -parallel $parallel gcm >> compile.sh
     1002    echo ./$makelmdz $optim $OPT_MAKELMDZ -rrtm true $opt_cosp $opt_makelmdz_xios -d \$resol -v $veget_version -mem -parallel $parallel gcm
     1003  fi
    9941004  chmod +x ./compile.sh
    9951005  if [ $bench != 0 ] ; then ./compile.sh > $lmdzlog 2>&1 ; fi
     
    11381148   fi
    11391149   if [ "$cospv2" = 1 -o "$cosp" = 1 -o "$cosp2" = 1 ] ; then
    1140       echo "ulimit -s 200000" >> bench.sh
     1150      if [ ${hostname:0:5} = jean- ] ; then   
     1151        chmod +x ../arch.env
     1152        ../arch.env     
     1153        echo "ulimit -s 2000000" >> bench.sh
     1154      else
     1155        echo "ulimit -s 200000" >> bench.sh           
     1156      fi       
    11411157   else
    11421158      echo "ulimit -s unlimited" >> bench.sh
Note: See TracChangeset for help on using the changeset viewer.