Changeset 122
- Timestamp:
- Oct 19, 2007 9:08:46 AM (17 years ago)
- Location:
- palm/trunk/SCRIPTS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mrun
r118 r122 132 132 # 15/10/07 - Siggi - Preliminary adjustments for lctit, based on Jin's 133 133 # suggestions 134 # 19/10/07 - Marcus - further adjustments for lctit: add new optional 135 # argument -g group_number, admit all sla* node_usage 136 # queues 134 137 135 138 … … 169 172 fromhost="" 170 173 global_revision="" 174 group_number=none 171 175 host="" 172 176 host_file="" … … 355 359 # SHELLSCRIPT-OPTIONEN EINLESEN UND KOMMANDO NEU ZUSAMMENSETZEN, FALLS ES 356 360 # FUER FOLGEJOBS BENOETIGT WIRD 357 while getopts :a:AbBc:Cd:D:F G:h:H:i:IkK:m:M:n:o:Op:P:q:r:R:s:St:T:u:U:vxX:Y option361 while getopts :a:AbBc:Cd:D:Fg:G:h:H:i:IkK:m:M:n:o:Op:P:q:r:R:s:St:T:u:U:vxX:Y option 358 362 do 359 363 case $option in … … 367 371 (D) cpp_opts="$cpp_opts $OPTARG"; mc="$mc -D$OPTARG";; 368 372 (F) job_on_file="-D"; mc="$mc -F";; 373 (g) group_number=$OPTARG; mc="$mc -g$OPTARG";; 369 374 (G) global_revision=$OPTARG; mc="$mc -G'$OPTARG'";; 370 375 (h) host=$OPTARG; mc="$mc -h$OPTARG";; … … 1023 1028 fi 1024 1029 fi 1025 if [[ $node_usage != shared && $node_usage != not_shared && $node_usage != sla3]]1030 if [[ $node_usage != shared && $node_usage != not_shared && "$(echo $node_usage | cut -c1-3)" != "sla" ]] 1026 1031 then 1027 1032 printf "\n" … … 2792 2797 mpirun -np $numprocs a.out $ROPTS 2793 2798 else 2799 (( mem_tsubame = 31.0 / $tasks_per_node )) 2800 echo "Memory for Tsubame in GB:", $mem_tsubame 2794 2801 # n1ge -fore -g 1S060156 -mpi $numprocs -mem 4 -N palm -q $queue a.out $ROPTS 2795 /n1ge/TITECH_GRID/tools/bin/n1ge -fore -g 4S070143 -mpi $numprocs -smp 16 -mem 1.75-N palm -rt 21600 -q $queue a.out $ROPTS2802 /n1ge/TITECH_GRID/tools/bin/n1ge -fore -g $group_number -mpi ${numprocs}:$tasks_per_node -mem $mem_tsubame -N palm -rt 21600 -q $queue a.out $ROPTS 2796 2803 fi 2797 2804 … … 3730 3737 fi 3731 3738 3732 subjob $job_on_file -h $host -u $remote_username -q $queue -m $memory -N $node_usage -t $cpumax $XOPT $TOPT $OOPT -n $fname -v $jobfile3739 subjob $job_on_file -h $host -u $remote_username -g $group_number -q $queue -m $memory -N $node_usage -t $cpumax $XOPT $TOPT $OOPT -n $fname -v $jobfile 3733 3740 rm -rf $jobfile 3734 3741 -
palm/trunk/SCRIPTS/subjob
r118 r122 87 87 # 15/10/07 - Siggi - preliminary adjustments for lctit based on Jin's 88 88 # suggestions 89 89 # 19/10/07 - Marcus- add new optional argument -g group_number 90 90 91 91 92 92 # VARIABLENVEREINBARUNGEN + DEFAULTWERTE 93 93 delete_dayfile=false 94 group_number=none 94 95 locat=normal 95 96 no_default_queue=none … … 190 191 191 192 # PROZEDUROPTIONEN EINLESEN 192 while getopts :c:dD h:m:n:N:O:q:t:T:u:vX: option193 while getopts :c:dDg:h:m:n:N:O:q:t:T:u:vX: option 193 194 do 194 195 case $option in … … 196 197 (d) delete_dayfile=true;; 197 198 (D) no_submit=true;; 199 (g) group_number=$OPTARG; 198 200 (h) remote_host=$OPTARG;; 199 201 (m) memory=$OPTARG;; … … 747 749 # OPTIONEN FUER SUBMIT-KOMMANDO ZUSAMMENSTELLEN 748 750 # submcom="$submcom -N $job_name -sgeout $remote_dayfile -q default" 749 submcom="$submcom -g 4SO7O143 -N $job_name -rt 4320 -sgeout $remote_dayfile -q sla3"751 submcom="$submcom -g $group_number -N $job_name -rt 4320 -sgeout $remote_dayfile -q $node_usage " 750 752 751 753 else
Note: See TracChangeset
for help on using the changeset viewer.