Skip to content
Success

Console Output

Started by timer
Running as SYSTEM
Building in workspace /var/lib/jenkins/jobs/mdtest-h2ologin2_scratch/workspace
[SSH] script:

~/bin/myenv.sh
mkdir mdtest-jenkins
cd mdtest-jenkins
rm -rf *
git clone https://github.com/MDTEST-LANL/mdtest
cd mdtest
make CC=cc

echo "#!/bin/bash" > mdtest.pbs
echo "#PBS -lnodes=4:ppn=6:xe,walltime=00:15:00 -Nmdtest" >> mdtest.pbs
echo "cd  ~/scratch" >> mdtest.pbs
echo "rm -rf mdtest" >> mdtest.pbs
echo "mkdir mdtest" >> mdtest.pbs
echo "cd mdtest" >> mdtest.pbs
echo "aprun -n 24  ~/mdtest-jenkins/mdtest/mdtest -n 2000 -v -d ~/scratch/mdtest > myout" >> mdtest.pbs
echo "grep ops myout  | grep read | cut -d, -f2 | cut -do -f1 > mdtest.datB" >> mdtest.pbs
echo "echo YVALUE= > mdtest.datA" >> mdtest.pbs
echo "paste mdtest.datA mdtest.datB > mdtest.read" >> mdtest.pbs
echo "grep ops myout | grep removal | grep File | cut -d, -f2 | cut -do -f1 > mdtestrm.datB" >> mdtest.pbs
echo "paste mdtest.datA mdtestrm.datB > mdtest.filerm" >> mdtest.pbs
echo "aprun -n 4 -N 1 hostname > mdtest-compute-nodes" >> mdtest.pbs

cat -n mdtest.pbs

MYJOBID=`qsub mdtest.pbs`
echo MYJOBID=$MYJOBID
~/bin/wait_for.sh $MYJOBID

echo "=== JOB RAN ON ==="
cat ~/scratch/mdtest/mdtest-compute-nodes
if [ -f ~/scratch/mdtest/mdtest-compute-nodes ]
then
  :  # it's all good
else
  echo "mdtest-compute-nodes not found, pbs job likely hit walltime"
  exit 1
fi
rm -f ~/scratch/mdtest/mdtest-compute-nodes

[SSH] executing...
mkdir: cannot create directory `mdtest-jenkins': File exists
Cloning into 'mdtest'...
=== RUNNING /u/system/bwjenkins/bin/myenv.sh ===
HOST=h2ologin2
HOME=/u/system/bwjenkins
SCRATCH=/u/system/bwjenkins/scratch
     ls SCRATCH:
mdtest
rmg-spp
rmg-spp-topo
setsm_benchmark
setsm_rsync
SPP-PPM
stripe8
sw_config
SWTools-BWCI
sw_workdir
tests
wrf
wrf-spp
     my id:
uid=49294(bwjenkins) gid=16228(BW_System) groups=16228(BW_System),999(login_user),1000(ie_user),1001(hpss_user),1009(swtools),16237(jnd)
Currently Loaded Modulefiles:
  1) modules/3.2.10.4
  2) eswrap/1.3.3-1.020200.1280.0
  3) cce/8.7.7
  4) craype-network-gemini
  5) craype/2.5.16
  6) cray-libsci/18.12.1
  7) udreg/2.3.2-1.0502.10518.2.17.gem
  8) ugni/6.0-1.0502.10863.8.28.gem
  9) pmi/5.0.14
 10) dmapp/7.0.1-1.0502.11080.8.74.gem
 11) gni-headers/4.0-1.0502.10859.7.8.gem
 12) xpmem/0.1-2.0502.64982.5.3.gem
 13) dvs/2.5_0.9.0-1.0502.2188.1.113.gem
 14) alps/5.2.4-2.0502.9774.31.12.gem
 15) rca/1.0.0-2.0502.60530.1.63.gem
 16) atp/2.0.4
 17) PrgEnv-cray/5.2.82
 18) cray-mpich/7.7.4
 19) craype-interlagos
 20) torque/6.0.4
 21) moab/9.1.2-sles11
 22) openssh/7.5p1
 23) xalt/0.7.6.local
 24) scripts
 25) OpenSSL/1.0.2m
 26) cURL/7.59.0
 27) git/2.17.0
 28) wget/1.19.4
 29) user-paths
 30) gnuplot/5.0.5
 31) darshan/3.1.3
make: *** No targets specified and no makefile found.  Stop.
     1	#!/bin/bash
     2	#PBS -lnodes=4:ppn=6:xe,walltime=00:15:00 -Nmdtest
     3	cd  ~/scratch
     4	rm -rf mdtest
     5	mkdir mdtest
     6	cd mdtest
     7	aprun -n 24  ~/mdtest-jenkins/mdtest/mdtest -n 2000 -v -d ~/scratch/mdtest > myout
     8	grep ops myout  | grep read | cut -d, -f2 | cut -do -f1 > mdtest.datB
     9	echo YVALUE= > mdtest.datA
    10	paste mdtest.datA mdtest.datB > mdtest.read
    11	grep ops myout | grep removal | grep File | cut -d, -f2 | cut -do -f1 > mdtestrm.datB
    12	paste mdtest.datA mdtestrm.datB > mdtest.filerm
    13	aprun -n 4 -N 1 hostname > mdtest-compute-nodes
INFO: Job submitted to account: jnc
MYJOBID=12508346.bw
=== RUNNING /u/system/bwjenkins/bin/wait_for.sh ===
Mon Aug  9 03:08:06 CDT 2021: waiting for 12508346.bw to finish
Mon Aug  9 03:13:06 CDT 2021: waiting for 12508346.bw to finish
qstat: Unknown Job Id Error 12508346.bw
12508346.bw finished
=== JOB RAN ON ===
nid16968
nid15287
nid15286
nid16969
Application 102635567 resources: utime ~0s, stime ~4s, Rss ~22676, inblocks ~76, outblocks ~112

[SSH] completed
[SSH] exit-status: 0

Finished: SUCCESS