Ignore:
Timestamp:
Jan 28, 2014 12:10:14 PM (11 years ago)
Author:
raasch
Message:

tasks_per_node must not be an integral divisor of numprocs any more

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/subjob

    r1275 r1279  
    2323# Current revisions:
    2424# ------------------
    25 #
     25# node calculation modified due to changes in mrun (tasks_per_node must not be
     26# an integral divisor of numprocs any more)
    2627#
    2728# Former revisions:
     
    558559 if (( tasks_per_node != 0 ))
    559560 then
    560     (( nodes = numprocs / ( tasks_per_node * threads_per_task ) ))
     561    (( nodes = ( numprocs - 1 ) / ( tasks_per_node * threads_per_task ) + 1 ))
    561562 fi
    562563
Note: See TracChangeset for help on using the changeset viewer.