Changeset 5006


Ignore:
Timestamp:
Jul 3, 2024, 7:58:27 PM (6 months ago)
Author:
abarral
Message:

load env in era2gcm_tuto.sh
fix jeanzay detection
minor bugfix

Location:
BOL/LMDZ_Setup_amaury
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • BOL/LMDZ_Setup_amaury/DEF/guide.def

    r4615 r5006  
    33guide_u=y
    44guide_v=y
    5 guide_T=y
     5guide_T=n
    66guide_P=n
    77guide_Q=n
  • BOL/LMDZ_Setup_amaury/era2gcm_tuto.sh

    r4993 r5006  
    11#!/bin/bash
     2
     3. lmdz_env.sh
    24
    35#-----------------------------------------------------------------------------
     
    4446#@JZ ERA5_PATH="/gpfsstore/rech/psl/rpsl376/ergon/ERA5/"
    4547#@JZ ERAI_PATH="/gpfsstore/rech/psl/rpsl376/ergon/ERAI/"
     48#@ADS ERA5_PATH="/lus/work/CT1/cad15221/abarral/ERA_TMP/"  # /!\ temp for test only !
     49#@ADS ERAI_PATH=""  # /!\ temp for tests only!
     50#@ADS echo "/!\ Nudging files are not available on Adastra for now !"; exit 1  # comment this line for tests
    4651#@ADS SCRATCH=$SCRATCHDIR
    4752
     
    239244if [ "$guide_t" = "y" ] ; then
    240245
    241 cat <<eod>| tmp_t.jnl
     246cat << eod >| tmp_t.jnl
    242247set memory/size=512
    243248
     
    263268if [ "$guide_q" = "y" ] ; then
    264269
    265 cat <<eod>| tmp_q.jnl
     270cat << eod >| tmp_q.jnl
    266271set memory/size=512
    267272
     
    275280eod
    276281
    277 ferret -nojnl <<eod
     282ferret -nojnl << eod
    278283go tmp_q.jnl
    279284quit
  • BOL/LMDZ_Setup_amaury/lmdz_env.sh

    r5000 r5006  
    1111  if grep -q "Adastra" /etc/motd; then
    1212    hostname="adastra"
     13  elif which idrquota &> /dev/null; then
     14    hostname="jean-zay"
    1315  else
    1416    hostname=$(hostname)
     
    3638      #   idrproj -d newproj   redefinit "newproj" en tant que  projet actif,
    3739      #        alors $STORE, $WORK etc vont designer les espaces de "newproj")
    38       account=$(idrproj | grep active | awk '{ print $1}')
     40      account="lmd"  # $(idrproj | grep active | awk '{ print $1}') doesn't work on compute nodes
    3941      root_dir="$WORK/LMDZ_Setup";
    4042      ARCH="X64_JEANZAY"
  • BOL/LMDZ_Setup_amaury/reb.sh

    r4986 r5006  
    6666eod
    6767
    68   echo "Submitting the rebuild job $job"
     68  echo "Submitting the rebuild job $job using <$SUBMITCMD \"$job\">"
    6969  $SUBMITCMD "$job"
    7070done
  • BOL/LMDZ_Setup_amaury/script_SIMU

    r5000 r5006  
    306306   if [ -f u.nc ] ; then
    307307      echo PROBLEME D EFFACEMENT DES FICHIERS DE REANALYSES
    308       exit
     308      exit 1
    309309   fi
    310310   for var in u v T hur ; do $GET $ERADIR/$year/$month/$var.nc $var.nc ; done
  • BOL/LMDZ_Setup_amaury/setup.sh

    r5000 r5006  
    703703function message_post_submit {
    704704  if [[ $ok_guide = "y" && $init = 1 ]]; then
     705    cd "$local"
    705706    enable_platform era2gcm_tuto.sh
    706707    echo "Once initialisation is finished, you have to create nudging files"
Note: See TracChangeset for help on using the changeset viewer.