Ignore:
Timestamp:
11/27/08 12:35:45 (16 years ago)
Author:
mmaipsl
Message:

Christian Laguerre, MM : correction on obelix calculator.

IGCM arborescence has been installed for ORCHIDEE on this cluster.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • branches/AllPostFred/libIGCM_sys/libIGCM_sys_obelix.ksh

    r20 r33  
    6666# Host and user names  
    6767# $hostname ou hostname  
    68 typeset -r HOST=$( hostname ) 
     68if [ X${HOST} == X ] ; then 
     69    typeset HOST=$( hostname ) 
     70fi 
    6971# $username ou whoami 
    7072typeset -r LOGIN=$( whoami ) 
     
    102104#==================================================== 
    103105#- SUBMIT_DIR : submission dir 
    104 typeset -r SUBMIT_DIR=${SUBMIT_DIR:=${PBS_O_WORKDIR}} 
     106if [ X${PBS_O_WORKDIR} != X ] ; then 
     107    typeset -r SUBMIT_DIR=${SUBMIT_DIR:=${PBS_O_WORKDIR}} 
     108else 
     109    typeset -r SUBMIT_DIR=${SUBMIT_DIR:=${PWD}} 
     110fi 
    105111#==================================================== 
    106112#- ARCHIVE 
    107 typeset -r ARCHIVE=/home/scratch01/${LOGIN} 
     113typeset -r ARCHIVE=/home/orchidee01 
    108114 
    109115#==================================================== 
    110116#- IN 
    111 typeset -r R_IN=${R_IN:=${ARCHIVE}/${LOGIN}/IGCM} 
     117typeset -r R_IN=${R_IN:=${ARCHIVE}/mmancip/IGCM} 
    112118 
    113119#==================================================== 
     
    428434        echo "IGCM_sys_Qsub :" $@ 
    429435    fi 
     436#    /usr/local/bin/qsub -q short -o ${Script_Output} -N ${config_UserChoices_JobName}.${CumulPeriod} < $1 
    430437    /usr/local/bin/qsub -o ${Script_Output} -N ${config_UserChoices_JobName}.${CumulPeriod} < $1 
    431438    if [ $? -gt 0 ] ; then 
Note: See TracChangeset for help on using the changeset viewer.