Changeset 377 for palm/trunk/SCRIPTS
- Timestamp:
- Sep 4, 2009 11:09:00 AM (15 years ago)
- Location:
- palm/trunk/SCRIPTS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mrun
r376 r377 293 293 transfer_problems=false 294 294 usern=$LOGNAME 295 use_openmp=false 295 296 working_directory=`pwd` 296 297 TOPT="" … … 1136 1137 tasks_per_node=1 1137 1138 fi 1139 1140 # SETTINGS FOR SUBJOB-COMMAND 1141 if [[ $(echo $host | cut -c1-5) = lcsgi ]] 1142 then 1143 (( tp1 = tasks_per_node * threads_per_task )) 1144 TOPT="-T $tp1" 1145 else 1146 TOPT="-T $tasks_per_node" 1147 fi 1138 1148 OOPT="-O $threads_per_task" 1139 TOPT="-T $tasks_per_node"1140 1149 1141 1150 # GESAMTZAHL DER KNOTEN BESTIMMEN … … 3168 3177 # export MPI_DSM_DISTRIBUTE=1 3169 3178 # MPI_DSM_CPULIST: pin MPI processes to cores 3170 export MPI_DSM_CPULIST="0,1,4,5,2,3,6,7:allhosts" 3179 if [[ $use_openmp = false ]] 3180 then 3181 export MPI_DSM_CPULIST="0,1,4,5,2,3,6,7:allhosts" 3182 fi 3171 3183 # MPI_IB_RAILS: use both IB rails on ICE2 3172 3184 export MPI_BUFS_PER_HOST=512 -
palm/trunk/SCRIPTS/subjob
r376 r377 498 498 if (( tasks_per_node != 0 )) 499 499 then 500 (( nodes = numprocs / ( tasks_per_node * threads_per_task ) )) 500 if [[ $(echo $remote_host | cut -c1-5) = lcsgi ]] 501 then 502 (( nodes = numprocs / tasks_per_node )) 503 else 504 (( nodes = numprocs / ( tasks_per_node * threads_per_task ) )) 505 fi 501 506 fi 502 507
Note: See TracChangeset
for help on using the changeset viewer.