Ignore:
Timestamp:
06/07/24 12:29:42 (5 weeks ago)
Author:
snguyen
Message:

change for the declaration of RUN_DIR_PATH on jean-zay. ksh version on RH 9.2 does not allow local variables anymore.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_jeanzay.ksh

    r1632 r1639  
    159159#==================================================== 
    160160#- RUN_DIR_PATH : Temporary working directory (=> TMP) 
    161 typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=${SCRATCH}/RUN_DIR/${SLURM_JOBID}_${$}} 
     161typeset RUN_DIR_PATH=${RUN_DIR_PATH:=${SCRATCH}/RUN_DIR/${SLURM_JOBID}_${$}} 
    162162 
    163163#==================================================== 
     
    222222  #- they are not store in rech but in another partition  
    223223  if [ X${DataProject} = Xfor  ]; then 
    224       typeset -r RUN_DIR_PATH=$SCRATCH/RUN_DIR/${SLURM_JOBID}_${$} 
     224      RUN_DIR_PATH=$SCRATCH/RUN_DIR/${SLURM_JOBID}_${$} 
    225225  else 
    226       typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=/gpfsscratch/rech/${DataProject}/${LOGIN}/RUN_DIR/${SLURM_JOBID}_${$}} 
     226      RUN_DIR_PATH=${RUN_DIR_PATH:=/gpfsscratch/rech/${DataProject}/${LOGIN}/RUN_DIR/${SLURM_JOBID}_${$}} 
    227227  fi 
    228228 
Note: See TracChangeset for help on using the changeset viewer.