Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • util/src/dynamicANOVA.sh.in

    rb7fafb r46cd68  
    125125        cpus=`cat /proc/cpuinfo | grep processor | wc -l`
    126126        echo "localhost" >$PBS_NODEFILE
    127         while [ $i -lt $cpus ]; do      # add one localhost per cpu to machines file
     127        while [ $i -lt $cpus ]; do      # add one localhost per cpu to machines file
    128128                echo "localhost" >>$PBS_NODEFILE
    129129                let i=$i+1
     
    243243  done
    244244
    245   # go through all groups and run the job
    246   olddivisor=$divisor
    247   if [ $divisor -gt $frag ]; then
    248         divisor=$frag
     245        # go through all groups and run the job
     246        olddivisor=$divisor
     247        if [ $divisor -gt $frag ]; then
     248          divisor=$frag
    249249  fi
    250250  grp=0;
     
    256256    let grp=$grp+1
    257257        done
    258         divisor=$olddivisor     
     258  divisor=$olddivisor
    259259
    260260# wait till all ProcRuns files are gone
Note: See TracChangeset for help on using the changeset viewer.