source: issm/oecreview/Archive/19101-20495/ISSM-19469-19470.diff@ 20498

Last change on this file since 20498 was 20498, checked in by Mathieu Morlighem, 9 years ago

CHG: done with Archive/19101-20495

File size: 1.7 KB
  • ../trunk-jpl/jenkins/jenkins.sh

     
    184184#matlab tests
    185185if [ $MATLAB_TEST -eq 1 ]; then
    186186#Launch all tests on different cpus {{{
    187 for (( i=1;i<=$NUMCPUS_RUN;i*=2 ))
     187for (( i=1;i<=$NUMCPUS_RUN;i++ ))
    188188do
    189189        #Launch matlab and the nightly run script
    190190        cat > $ISSM_DIR/nightlylog/matlab_run$i.m << EOF
     
    230230#concatenate reports
    231231cd $ISSM_DIR/nightlylog/
    232232rm matlab_log.log
    233 for (( i=1;i<=$NUMCPUS_RUN;i*=2 ))
     233for (( i=1;i<=$NUMCPUS_RUN;i++ ))
    234234do
    235235        cat matlab_log$i.log >> matlab_log.log
    236236done
     
    245245#Launch all tests on different cpus {{{
    246246PYTHON_START_TIME=$(timer);
    247247export PYTHONSTARTUP=$ISSM_DIR/src/m/dev/devpath.py
    248 for (( i=1;i<=$NUMCPUS_RUN;i*=2 ))
     248for (( i=1;i<=$NUMCPUS_RUN;i++ ))
    249249do
    250250        cd $ISSM_DIR/test/NightlyRun
    251251        echo "--------------Running Python test for Rank $i---------------------"
     
    257257# concatenate reports
    258258cd $ISSM_DIR/nightlylog/
    259259rm python_log.log
    260 for (( i=1;i<=$NUMCPUS_RUN;i*=2 ))
     260for (( i=1;i<=$NUMCPUS_RUN;i++ ))
    261261do
    262262        echo "This is the concatenation phase for rank: python_log$i.log"
    263263        #cat python_log$i.log
  • ../trunk-jpl/jenkins/linux64_caladan

     
    8484NUMCPUS_INSTALL=4
    8585
    8686#number of cpus used in the nightly runs.
    87 NUMCPUS_RUN=4
     87NUMCPUS_RUN=2
    8888
    8989#Nightly run options. The matlab routine runme.m will be called
    9090#as follows: runme($MATLAB_NROPTIONS). The options must be understandable
Note: See TracBrowser for help on using the repository browser.