Changeset 1598 for palm/trunk
- Timestamp:
- May 29, 2015 6:45:40 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mrun
r1550 r1598 22 22 # Current revisions: 23 23 # ------------------ 24 # 24 # bugfix for creating hostfile in openmp-mode if run on one node 25 25 # 26 26 # Former revisions: … … 3485 3485 cp $hostfile hostfile 3486 3486 (( ii = $numprocs / $threads_per_task )) 3487 [[ $ii = 0 ]] && (( ii = 1 )) 3487 3488 else 3488 3489 (( ii = 1 )) … … 3492 3493 (( ii = ii + 1 )) 3493 3494 done 3495 if (( $numprocs / $threads_per_task == 0 )) 3496 then 3497 echo $localhost_realname >> hostfile 3498 fi 3494 3499 fi 3495 3500 eval zeile=\"`head -n $ii hostfile`\" … … 3498 3503 3499 3504 (( ii = $numprocs / $threads_per_task )) 3505 [[ $ii = 0 ]] && (( ii = 1 )) 3500 3506 export OMP_NUM_THREADS=$threads_per_task 3501 3507
Note: See TracChangeset
for help on using the changeset viewer.