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

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

CHG: done with Archive/19101-20495

File size: 1.7 KB
RevLine 
[20498]1Index: ../trunk-jpl/jenkins/jenkins.sh
2===================================================================
3--- ../trunk-jpl/jenkins/jenkins.sh (revision 19469)
4+++ ../trunk-jpl/jenkins/jenkins.sh (revision 19470)
5@@ -184,7 +184,7 @@
6 #matlab tests
7 if [ $MATLAB_TEST -eq 1 ]; then
8 #Launch all tests on different cpus {{{
9-for (( i=1;i<=$NUMCPUS_RUN;i*=2 ))
10+for (( i=1;i<=$NUMCPUS_RUN;i++ ))
11 do
12 #Launch matlab and the nightly run script
13 cat > $ISSM_DIR/nightlylog/matlab_run$i.m << EOF
14@@ -230,7 +230,7 @@
15 #concatenate reports
16 cd $ISSM_DIR/nightlylog/
17 rm matlab_log.log
18-for (( i=1;i<=$NUMCPUS_RUN;i*=2 ))
19+for (( i=1;i<=$NUMCPUS_RUN;i++ ))
20 do
21 cat matlab_log$i.log >> matlab_log.log
22 done
23@@ -245,7 +245,7 @@
24 #Launch all tests on different cpus {{{
25 PYTHON_START_TIME=$(timer);
26 export PYTHONSTARTUP=$ISSM_DIR/src/m/dev/devpath.py
27-for (( i=1;i<=$NUMCPUS_RUN;i*=2 ))
28+for (( i=1;i<=$NUMCPUS_RUN;i++ ))
29 do
30 cd $ISSM_DIR/test/NightlyRun
31 echo "--------------Running Python test for Rank $i---------------------"
32@@ -257,7 +257,7 @@
33 # concatenate reports
34 cd $ISSM_DIR/nightlylog/
35 rm python_log.log
36-for (( i=1;i<=$NUMCPUS_RUN;i*=2 ))
37+for (( i=1;i<=$NUMCPUS_RUN;i++ ))
38 do
39 echo "This is the concatenation phase for rank: python_log$i.log"
40 #cat python_log$i.log
41Index: ../trunk-jpl/jenkins/linux64_caladan
42===================================================================
43--- ../trunk-jpl/jenkins/linux64_caladan (revision 19469)
44+++ ../trunk-jpl/jenkins/linux64_caladan (revision 19470)
45@@ -84,7 +84,7 @@
46 NUMCPUS_INSTALL=4
47
48 #number of cpus used in the nightly runs.
49-NUMCPUS_RUN=4
50+NUMCPUS_RUN=2
51
52 #Nightly run options. The matlab routine runme.m will be called
53 #as follows: runme($MATLAB_NROPTIONS). The options must be understandable
Note: See TracBrowser for help on using the repository browser.