Changeset 848 for palm/trunk/SCRIPTS/mrun
- Timestamp:
- Mar 12, 2012 7:49:32 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mrun
r847 r848 252 252 # 28/02/12 - BjornM - further adjustments for namelist file check 253 253 # 09/03/12 - Siggi - -T option not obligatory for lcflow 254 # 12/03/12 - Siggi - tasks_per_node divisor check not for lcflow 254 255 255 256 … … 1188 1189 locat=tasks_per_node; (( iec = 0 )); exit 1189 1190 fi 1190 (( ival = $tasks_per_node )) 1191 (( pes = numprocs )) 1192 # if [[ $(echo $package_list | grep -c dvrp_graphics+1PE) = 1 ]] 1193 # then 1194 # (( pes = pes - 1 )) 1195 # fi 1196 (( ii = pes / ival )) 1197 if (( pes - ii * ival > 0 )) 1198 then 1199 printf "\n" 1200 printf "\n +++ tasks per node (option \"-T\") must be an integral" 1201 printf "\n divisor of the total number of processors (option \"-X\")" 1202 printf "\n values of this mrun-call: \"-T $tasks_per_node\" \"-X $numprocs\"" 1203 locat=tasks_per_node; (( iec = 0 )); exit 1191 if [[ $host != lcflow ]] 1192 then 1193 (( ival = $tasks_per_node )) 1194 (( pes = numprocs )) 1195 # if [[ $(echo $package_list | grep -c dvrp_graphics+1PE) = 1 ]] 1196 # then 1197 # (( pes = pes - 1 )) 1198 # fi 1199 (( ii = pes / ival )) 1200 if (( pes - ii * ival > 0 )) 1201 then 1202 printf "\n" 1203 printf "\n +++ tasks per node (option \"-T\") must be an integral" 1204 printf "\n divisor of the total number of processors (option \"-X\")" 1205 printf "\n values of this mrun-call: \"-T $tasks_per_node\" \"-X $numprocs\"" 1206 locat=tasks_per_node; (( iec = 0 )); exit 1207 fi 1204 1208 fi 1205 1209
Note: See TracChangeset
for help on using the changeset viewer.