Changeset 1314


Ignore:
Timestamp:
04/05/16 16:05:18 (8 years ago)
Author:
jgipsl
Message:

Adapted libIGCM to run at climserv (IPSL cluster at Polytechinque). The same libIGCM_sys as for ciclad is used but some changes for the paths are done inside.

For ciclad the variable CENTER change to IPSL-ciclad to be different from the one used for climserv (IPSL-climserv).

The running queue at ciclad also changed in AA_job and some other jobs. Now the default queue is used but the old is kept in comment. This is done to have the same heading running at ciclad and climserv.

Location:
trunk/libIGCM
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_create_multi_se

    r1274 r1314  
    4444#-Q- ifort_CICLAD #PBS -m a 
    4545#-Q- ifort_CICLAD #PBS -j oe 
    46 #-Q- ifort_CICLAD #PBS -q h12 
     46#-Q- ifort_CICLAD ###PBS -q h12       # Queue for 12 hours at ciclad only 
    4747#-Q- ifort_CICLAD #PBS -S /bin/ksh 
    4848#-Q- default #!/bin/ksh 
  • trunk/libIGCM/AA_create_se

    r1309 r1314  
    4444#-Q- ifort_CICLAD #PBS -m a 
    4545#-Q- ifort_CICLAD #PBS -j oe 
    46 #-Q- ifort_CICLAD #PBS -q h12 
     46#-Q- ifort_CICLAD ###PBS -q h12       # Queue for 12 hours at ciclad only 
    4747#-Q- ifort_CICLAD #PBS -S /bin/ksh 
    4848#-Q- default #!/bin/ksh 
  • trunk/libIGCM/AA_create_ts

    r1306 r1314  
    4444#-Q- ifort_CICLAD #PBS -m a 
    4545#-Q- ifort_CICLAD #PBS -j oe 
    46 #-Q- ifort_CICLAD #PBS -q h12 
     46#-Q- ifort_CICLAD ###PBS -q h12       # Queue for 12 hours at ciclad only 
    4747#-Q- ifort_CICLAD #PBS -S /bin/ksh 
    4848#-Q- default #!/bin/ksh 
  • trunk/libIGCM/AA_job

    r1301 r1314  
    5959#-Q- ifort_CICLAD #PBS -m a 
    6060#-Q- ifort_CICLAD #PBS -j oe 
    61 #-Q- ifort_CICLAD #PBS -q h12 
     61#-Q- ifort_CICLAD ###PBS -q h12   # Queue for 12 hours at ciclad only 
    6262#-Q- ifort_CICLAD #PBS -o Script_Output_::Jobname::.000001 
    6363#-Q- ifort_CICLAD #PBS -S /bin/ksh 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys.ksh

    r1278 r1314  
    7272        . ${libIGCM}/libIGCM_sys/libIGCM_sys_obelix.ksh;; 
    7373    ciclad*) 
    74         [ ! X${TaskType} = Xchecking ] && echo "sys source ciclad lib." 
    75         CENTER=IPSL 
     74        [ ! X${TaskType} = Xchecking ] && echo "sys source ciclad lib for running at ciclad." 
     75        CENTER=IPSL-ciclad 
     76        SYSTEM=ifort_CICLAD 
     77        . ${libIGCM}/libIGCM_sys/libIGCM_sys_ciclad.ksh;; 
     78    camelot*|loholt1*|loholt2*|merlin*) 
     79        [ ! X${TaskType} = Xchecking ] && echo "sys source ciclad lib for running at climserv." 
     80        CENTER=IPSL-climserv 
    7681        SYSTEM=ifort_CICLAD 
    7782        . ${libIGCM}/libIGCM_sys/libIGCM_sys_ciclad.ksh;; 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_ciclad.ksh

    r1299 r1314  
    9696# Set environment tools (ferret, nco, cdo, rebuild, ...) 
    9797#==================================================== 
    98 . /home/igcmg/.atlas_env_ciclad_ksh 
     98if [ $CENTER == IPSL-ciclad ] ; then 
     99    # At ciclad 
     100    export PATH=${PATH}:/home/igcmg/rebuild/src_X64_CICLAD/modipsl_v2_2_3_netcdf4.2/bin/ 
     101    . /home/igcmg/.atlas_env_ciclad_ksh 
     102else 
     103    # At climserv use the same files stored at ciclad but adapt the path 
     104    export PATH=${PATH}:/ciclad-home/igcmg/rebuild/src_X64_CICLAD/modipsl_v2_2_3_netcdf4.2/bin/ 
     105    . /ciclad-home/igcmg/.atlas_env_ciclad_ksh 
     106fi 
     107 
    99108[ ! X${TaskType} = Xchecking ] && IGCM_debug_Print 1 "List of loaded modules:" 
    100109[ ! X${TaskType} = Xchecking ] && module list 
    101  
    102 export PATH=${PATH}:/home/igcmg/rebuild/src_X64_CICLAD/modipsl_v2_2_3_netcdf4.2/bin/ 
    103110 
    104111#==================================================== 
     
    134141#- RUN_DIR_PATH : Temporary working directory (=> TMP) 
    135142if [ X${PBS_JOBID} != X ] ; then 
    136   typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=/data/${LOGIN}/RUN_DIR/${PBS_JOBID}_${$}} 
     143    if [ $CENTER == IPSL-ciclad ] ; then 
     144        typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=/data/${LOGIN}/RUN_DIR/${PBS_JOBID}_${$}} 
     145    else 
     146        typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=/homedata/${LOGIN}/RUN_DIR/${PBS_JOBID}_${$}} 
     147    fi 
    137148else 
    138149  typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=/tmp/tmp$$} 
     
    184195    #==================================================== 
    185196    #- ARCHIVE (dedicated to large files) 
    186     ARCHIVE=${ARCHIVE:=/data/${LOGIN}} 
     197    if [ $CENTER == IPSL-ciclad ] ; then 
     198        # At ciclad 
     199        ARCHIVE=${ARCHIVE:=/data/${LOGIN}} 
     200    else 
     201        # At climserv 
     202        ARCHIVE=${ARCHIVE:=/homedata/${LOGIN}} 
     203    fi 
    187204  fi 
    188205 
Note: See TracChangeset for help on using the changeset viewer.