Changeset 19464


Ignore:
Timestamp:
07/28/15 19:08:14 (10 years ago)
Author:
glperez
Message:

CHG: Jenkins script to only run for CPU numbers of power of 2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/jenkins/jenkins.sh

    r19458 r19464  
    185185if [ $MATLAB_TEST -eq 1 ]; then
    186186#Launch all tests on different cpus {{{
    187 for (( i=1;i<=$NUMCPUS_RUN;i++ ))
     187for (( i=1;i<=$NUMCPUS_RUN;i*=2 ))
    188188do
    189189        #Launch matlab and the nightly run script
     
    231231cd $ISSM_DIR/nightlylog/
    232232rm matlab_log.log
    233 for (( i=1;i<=$NUMCPUS_RUN;i++ ))
     233for (( i=1;i<=$NUMCPUS_RUN;i*=2 ))
    234234do
    235235        cat matlab_log$i.log >> matlab_log.log
     
    246246PYTHON_START_TIME=$(timer);
    247247export PYTHONSTARTUP=$ISSM_DIR/src/m/dev/devpath.py
    248 for (( i=1;i<=$NUMCPUS_RUN;i++ ))
     248for (( i=1;i<=$NUMCPUS_RUN;i*=2 ))
    249249do
    250250        cd $ISSM_DIR/test/NightlyRun
     
    258258cd $ISSM_DIR/nightlylog/
    259259rm python_log.log
    260 for (( i=1;i<=$NUMCPUS_RUN;i++ ))
     260for (( i=1;i<=$NUMCPUS_RUN;i*=2 ))
    261261do
    262262        echo "This is the concatenation phase for rank: python_log$i.log"
Note: See TracChangeset for help on using the changeset viewer.