Skip to content
Success

Console Output

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

rm -rf shifter16-bw
mkdir shifter16-bw
cd shifter16-bw
echo "#!/bin/bash" > shifter16.pbs
echo "#PBS -l nodes=2:ppn=32,gres=shifter16 -v UDI=\"centos:6.9\"" >> shifter16.pbs
echo >> shifter16.pbs
echo "export CRAY_ROOTFS=SHIFTER" >> shifter16.pbs
echo >> shifter16.pbs
echo "cd \$PBS_O_WORKDIR" >> shifter16.pbs
echo "aprun -n 2 -N 1 -b -- hostname > shifter16-bw.hostlist" >> shifter16.pbs
echo "aprun -n 2 -N 1 -b -- cat /etc/centos-release > shifter16-bw.log" >> shifter16.pbs

cat -n shifter16.pbs

MYJOBID=`qsub shifter16.pbs`
echo MYJOBID=$MYJOBID
~arnoldg/ior/wait_for.sh $MYJOBID

echo "=== JOB RAN ON ==="
cat shifter16-bw.hostlist | grep ^nid
grep CentOS shifter16-bw.log
if [ $? != 0 ]
then
    echo "Shifter job has failed."
    exit 1
fi

[SSH] executing...
     1	#!/bin/bash
     2	#PBS -l nodes=2:ppn=32,gres=shifter16 -v UDI="centos:6.9"
     3	
     4	export CRAY_ROOTFS=SHIFTER
     5	
     6	cd $PBS_O_WORKDIR
     7	aprun -n 2 -N 1 -b -- hostname > shifter16-bw.hostlist
     8	aprun -n 2 -N 1 -b -- cat /etc/centos-release > shifter16-bw.log
INFO: Job submitted to account: jnc
MYJOBID=11269316.bw
=== RUNNING /u/staff/arnoldg/ior/wait_for.sh ===
Thu May 21 22:13:05 CDT 2020: waiting for 11269316.bw to finish
Thu May 21 22:18:06 CDT 2020: waiting for 11269316.bw to finish
qstat: Unknown Job Id Error 11269316.bw
11269316.bw finished
=== JOB RAN ON ===
nid02887
nid02886
CentOS release 6.9 (Final)
CentOS release 6.9 (Final)

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

Finished: SUCCESS