Started by user arnoldg
Running as SYSTEM
Building in workspace /var/lib/jenkins/jobs/cuda-bw/workspace
[SSH] script:
UP="$(/usr/bin/wget -qO - http://isce.ncsa.illinois.edu/tools/status.php?name=Scheduler)"
if [ $UP -ne "2" ]
then
exit 0
fi
module load cudatoolkit
export CUDASAMPLES=~arnoldg/cudasamples5.5
~/bin/myenv.sh
mkdir cuda-jenkins
cd cuda-jenkins
rm -rf *
cp $CUDASAMPLES/0_Simple/matrixMul/matrixMul.cu .
cp $CUDASAMPLES/1_Utilities/bandwidthTest/bandwidthTest.cu .
nvcc -I $CUDASAMPLES/common/inc -o matrixMul matrixMul.cu
if [[ -x "matrixMul" ]]
then
echo "matrixMul appears to have built ok"
else
echo "#### matrixMul is missing or not built ###############"
exit -1
fi
nvcc -I $CUDASAMPLES/common/inc -o bandwidthTest bandwidthTest.cu
pwd
ls -lt
echo "#!/bin/bash" > cuda.pbs
echo "#PBS -lnodes=1:ppn=16:xk,walltime=00:05:00 -Ncuda" >> cuda.pbs
echo "cd ~/cuda-jenkins" >> cuda.pbs
echo "aprun -n 1 ~/cuda-jenkins/matrixMul > matrixMul.out" >> cuda.pbs
echo "grep Performance= matrixMul.out | cut -d= -f2 | cut -dG -f1 > matrixMul.datB" >> cuda.pbs
echo "echo YVALUE= > matrixMul.datA" >> cuda.pbs
echo "paste matrixMul.datA matrixMul.datB > matrixMul.gflops" >> cuda.pbs
echo "aprun -n 1 ~/cuda-jenkins/bandwidthTest --htod > bandwidthTest.out" >> cuda.pbs
echo "grep 33554432 bandwidthTest.out | cut -f4 > bandwidthTest.datB " >> cuda.pbs
echo "paste matrixMul.datA bandwidthTest.datB > bandwidthTest.MB" >> cuda.pbs
echo "aprun -n 1 hostname > cuda-compute-node" >> cuda.pbs
echo
cat -n cuda.pbs
MYJOBID=`qsub cuda.pbs`
echo MYJOBID=$MYJOBID
~/bin/wait_for.sh $MYJOBID
echo "=== JOB RAN ON ==="
cat ~/cuda-jenkins/cuda-compute-node
rm -f ~/cuda-jenkins/cuda-compute-node
[SSH] executing...
[SSH] completed
[SSH] exit-status: 0
[workspace] $ /bin/sh -xe /tmp/jenkins411988081345019149.sh
+ scp 'BW_REMOTE:~/cuda-jenkins/m*' /var/lib/jenkins/jobs/cuda-bw/workspace
+ scp 'BW_REMOTE:~/cuda-jenkins/b*' /var/lib/jenkins/jobs/cuda-bw/workspace
Connection closed by 141.142.176.131 port 22
Build step 'Execute shell' marked build as failure
Recording plot data
Saving plot series data from: /var/lib/jenkins/jobs/cuda-bw/workspace/bandwidthTest.MB
Saving plot series data from: /var/lib/jenkins/jobs/cuda-bw/workspace/matrixMul.gflops
Sending e-mails to: arnoldg@ncsa.illinois.edu
Finished: FAILURE