Changeset 122 for palm/trunk/SCRIPTS/mrun
- Timestamp:
- Oct 19, 2007 9:08:46 AM (17 years ago)
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.