Changeset 1584
- Timestamp:
- 04/19/23 12:56:02 (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/ins_job
r1574 r1584 17 17 { 18 18 print - " 19 ins_job installs the jobs in the directories 20 which contain a file config.card 21 22 ins_job must be launched on the host 23 on which the job will be submitted 19 ins_job installs the jobs in the directories which contain a file config.card 20 21 ins_job also installs the jobs for post-processing in libIGCM folder. 22 23 ins_job must be launched on the host on which the job will be submitted. 24 24 25 25 Usage : … … 27 27 or on irene/TGCC : 28 28 ${b_n} [-h] [-v] [-e] [-p project] [-q type_of_node] [-c number of cores] 29 or on ada/IDRIS30 ${b_n} [-h] [-v] [-e] [- m MPI environment]29 or on jean-zay /IDRIS 30 ${b_n} [-h] [-v] [-e] [-p project] [-m MPI environment] 31 31 Options : 32 32 -h : help 33 33 -v : verbose mode 34 34 -e : turn on ensemble mode (hindcast/forecast or date restart) 35 -f : ins_job is force to create jobs even if they already exist 36 on irene only : 35 -f : ins_job force overwrite jobs if they already exist 36 37 More options on irene only : 37 38 -p project : add default project on irene 38 39 -q type_of_node : add default type of nodes for postprocessing on irene skylake/xlarge 39 40 -c number of cores : add default number of cores for postprocessing on irene 1-112 40 on ada only : 41 - m MPI environment : add default MPI environment (Intel MPI or IBM MPI) 41 42 More options on jean-zay only : 43 -p project : add default project on irene 44 -m MPI environment : add default MPI environment (Intel MPI or IBM MPI) 42 45 -t wall time : change default wall time 43 46 " … … 124 127 F_RCI=${libIGCM}'/run.card.init'; 125 128 [[ ! -f ${F_RCI} ]] && { print - "${F_RCI} unreachable"; exit 3; } 129 130 131 print "Start ins_job\n" 132 print "Create job in current folder and post-treatment jobs in libIGCM folder.\n" 133 134 if [ ${x_f} = 'false' ] ; then 135 answer="" 136 print "Do you want to overwrite existing jobs? Answer yes/no: (or hit enter for no) " 137 read answer 138 if ( [ X${answer} == Xyes ] || [ X${answer} == Xy ] ) ; then 139 x_f=true 140 fi 141 fi 142 143 if [ ${x_f} == 'false' ] ; then 144 print "The jobs will only be created if they don't already exist. No jobs will be overwritten.\n" 145 else 146 print "All existing jobs will be overwritten.\n" 147 fi 148 149 126 150 #- 127 151 # Accessing to functions (without stack) … … 136 160 TaskType=computing 137 161 # Source libIGCM 162 print "Source modules and functions from libIGCM:" 138 163 . ${libIGCM}/libIGCM_debug/libIGCM_debug.ksh 139 164 . ${libIGCM}/libIGCM_card/libIGCM_card.ksh … … 144 169 . ${libIGCM}/libIGCM_ensemble/libIGCM_ensemble.ksh 145 170 fi 171 146 172 147 173 #-
Note: See TracChangeset
for help on using the changeset viewer.