Skip to content

Commit d8b888c

Browse files
committed
no date update
1 parent 95bb8e4 commit d8b888c

8 files changed

+20
-10
lines changed

bench/BMscripts/gbmBench.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def doGBM(f, folderPath, ignored_cols, classification, testFilehex, ntrees, dept
102102
gbm = h2o_cmd.runGBM(parseResult = parseResult, noPoll=True, timeoutSecs=4800, **kwargs)
103103
h2o_jobs.pollWaitJobs(timeoutSecs=16000, pollTimeoutSecs=120, retryDelaySecs=5)
104104
gbmTime = time.time() - gbmStart
105-
cmd = 'cd ..; bash startloggers.sh ' + json + ' stop_'
105+
cmd = 'bash startloggers.sh ' + json + ' stop_'
106106
os.system(cmd)
107107
row.update( {'gbmBuildTime' : gbmTime,
108108
})

bench/BMscripts/glm2Bench.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def doGLM2(f, folderPath, family, lambda_, alpha, nfolds, y, x, testFilehex, row
9797
glm = h2o_cmd.runGLM(parseResult = parseResult, timeoutSecs=1800, noPoll=True, **kwargs)
9898
h2o_jobs.pollWaitJobs(timeoutSecs=7200, pollTimeoutSecs=7200, retryDelaySecs=5)
9999
glmTime = time.time() - glmStart
100-
cmd = 'cd ..; bash startloggers.sh ' + json + ' stop_'
100+
cmd = 'bash startloggers.sh ' + json + ' stop_'
101101
os.system(cmd)
102102
#glm = h2o.nodes[0].inspect("GLM("+f+")")
103103
row.update( {'glm2BuildTime' : glmTime,

bench/BMscripts/glmBench.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def doGLM(f, folderPath, family, link, lambda_, alpha, nfolds, y, x, testFilehex
102102
model_key = params['destination_key'],
103103
timeoutSecs = 1800)
104104
scoreTime = time.time() - glmScoreStart
105-
cmd = 'cd ..; bash startloggers.sh ' + json + ' stop_'
105+
cmd = 'bash startloggers.sh ' + json + ' stop_'
106106
os.system(cmd)
107107
if family == "binomial":
108108
row.update( {'scoreTime' : scoreTime,

bench/BMscripts/kmeansBench.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def doKMeans(f, folderPath):
9191
timeoutSecs=7200,
9292
**kwargs)
9393
kmeansTime = time.time() - kmeansStart
94-
cmd = 'cd ..; bash startloggers.sh ' + json + ' stop_'
94+
cmd = 'bash startloggers.sh ' + json + ' stop_'
9595
os.system(cmd)
9696
row.update({'kmeansBuildTime' : kmeansTime})
9797
csvWrt.writerow(row)

bench/BMscripts/pcaBench.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,14 @@ def doPCA(f, folderPath):
8181

8282
kwargs = params.copy()
8383
pcaStart = time.time()
84-
h2o.beta_features = True
85-
pcaResult = h2o_cmd.runPCA(parseResult = parseResult, noPoll = True
84+
#h2o.beta_features = True
85+
pcaResult = h2o_cmd.runPCA(parseResult = parseResult, noPoll = True,
8686
timeoutSecs = 7200,
8787
**kwargs)
8888

8989
h2j.pollWaitJobs(timeoutSecs=4800, pollTimeoutSecs=4800, retryDelaySecs=2)
9090
pcaTime = time.time() - pcaStart
91-
cmd = 'cd ..; bash startloggers.sh ' + json + ' stop_'
91+
cmd = 'bash startloggers.sh ' + json + ' stop_'
9292
#stop all loggers
9393
os.system(cmd)
9494
row.update({'pcaBuildTime' : pcaTime})

bench/BMscripts/summaryBench.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def doSUM(f, folderPath):
7979
timeoutSecs = 7200)
8080

8181
sumTime = time.time() - sumStart
82-
cmd = 'cd ..; bash startloggers.sh ' + json + ' stop_'
82+
cmd = 'bash startloggers.sh ' + json + ' stop_'
8383
os.system(cmd)
8484
row.update({'summaryBuildTime' : sumTime})
8585
csvWrt.writerow(row)

bench/runBench.sh

+10
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ h2oBuild=
77
benchmarks="benchmarks"
88
DATE=`date +%Y-%m-%d`
99
archive="Archive"
10+
branchName="hilbert"
1011

1112
function all {
1213
doAlgo summary; wait; makeDead 2> /dev/null;
@@ -122,6 +123,7 @@ JSON=
122123
BUILDN=
123124
DEBUG=0
124125
LOG=0
126+
DEEP=0
125127
while getopts "ht:j:b:dL" OPTION
126128
do
127129
case $OPTION in
@@ -228,3 +230,11 @@ rm pytest*flatfile*
228230
if [ -a nohup.out ]; then
229231
mv nohup.out ${archive}/${h2oBuild}-${DATE}-nohup.out
230232
fi
233+
wait
234+
235+
bash createBench.sh ${branchName} ${JSON}
236+
237+
238+
239+
240+

bench/startloggers.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ function deepClean {
7575
echo "Melting ICES on machine $i"
7676
ssh 0xdiag@$i rm -rf /home/0xdiag/ice.55555* /home/0xdiag/*zip
7777
echo "Dumping any open instances of h2o..."
78-
pids1=`echo ps -efww | grep h2o | grep spencer| grep jar|awk '{print $2}' | xargs`
78+
pids1=`ps -efww | grep h2o | grep spencer| grep jar|awk '{print $2}' | xargs`
7979
ssh spencer@$i kill $pids1
80-
pids2=`echo ps -efww | grep h2o | grep 0xdiag| grep jar|awk '{print $2}' | xargs`
80+
pids2=`ps -efww | grep h2o | grep 0xdiag| grep jar|awk '{print $2}' | xargs`
8181
ssh spencer@$i kill $pids2
8282
echo "Shredding all logs on machine $i"
8383
ssh spencer@$i rm -rf /home/spencer/h2o/bench/BMLogs/starttime /home/spencer/h2o/bench/BMLogs/BigLogger* /home/spencer/h2o/bench/BMLogs/LittleLogger* /home/spencer/h2o/bench/BMLogs/rawLogs

0 commit comments

Comments
 (0)