Changeset 1437 for trunk/libIGCM/ins_job


Ignore:
Timestamp:
04/11/18 18:15:06 (6 years ago)
Author:
jgipsl
Message:

For Irene:

  • ins_job now ask for project id. gch0316 for the grand challenge is the default.
  • headers for more post-processing jobs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/ins_job

    r1401 r1437  
    204204  # let check minimum/maximum value 1/${ProjectCoreMax} 
    205205 
     206elif [ X"${SYSTEM}" == "Xirene" ] ; then 
     207  if ( ! ${x_p} ) ; then 
     208    ProjectID=$( ccc_myproject | gawk '{ if ( $3 ~ /^project$/ && $4 !~ /^tgcc/ ) { print $4 } }' | head -n 1 ) 
     209    ProjectID=${ProjectID:="gch0316"} 
     210    answer="" 
     211    print - "Hit Enter or give project ID (default is ${ProjectID}), possible projects are $( echo $( ccc_myproject | gawk '{ if ( $3 ~ /^project$/ && $4 !~ /^tgcc/ ) { print $4 } }' | sort -u ) ) :" 
     212    read answer 
     213 
     214    if [ "X${answer}" != "X" ] ; then 
     215      ProjectID=${answer} 
     216    fi 
     217 
     218  fi # if ( ! ${x_p} ) 
     219 
     220  echo  ProjectID is ${ProjectID} at Irene  
     221 
    206222elif [ X"${SYSTEM}" == "Xada" ] ; then 
    207223  if ( ! ${x_m} ) ; then 
Note: See TracChangeset for help on using the changeset viewer.