Started by timer
Running as SYSTEM
Building in workspace /var/lib/jenkins/jobs/stream/workspace
[SSH] script:
NODELIST=""""
mkdir -p hydro/stream
cd hydro/stream
#cp /var/tmp/stream.c . # placed there by Galen once to import into test dir/
pwd
rm -f *.txt
#wget https://www.cs.virginia.edu/stream/FTP/Code/stream.c
# https://github.com/jeffhammond/STREAM
gcc --version
gcc -DNTIMES=100 -DSTREAM_ARRAY_SIZE=80000000 -O3 -fopt-info -fopenmp -o stream stream.c
ls -lt|head -3
# if the NODELIST parameter was filled in, proceed with a targeted test, 16 cores , graph inputs in custom.txt
if [[ ! -z ${NODELIST} ]]
then
rm -f stream_*.txt
echo "YVALUE=1" > stream_triad.txt
echo "YVALUE=1" > stream_gpu56c_triad.txt
echo "YVALUE=1" > stream_gpu64c_triad.txt
# for a single node string, it's easy enough to calculate a matching partition:
PARTITION=`sinfo --format="%R,%N" -n ${NODELIST} | grep ${NODELIST} | cut -d',' -f1 | tail -1`
echo "PARTITION=${PARTITION}"
srun --partition=${PARTITION} --time=00:10:00 --ntasks=1 --cpus-per-task=16 --nodelist=${NODELIST} ./stream
TRIAD=`srun --partition=${PARTITION} --time=00:10:00 --ntasks=1 --cpus-per-task=16 --nodelist=${NODELIST} ./stream \
| grep Triad: | cut -d: -f2 | cut -d'.' -f1 | sed -e "s/\s//g"`
echo "YVALUE= ${TRIAD}" > custom.txt
exit
fi
# otherwise, if NODELIST is "" :
echo "YVALUE=1" > custom.txt
# TODO (for each partition, and plot them together )
TRIAD=`srun --partition=sandybridge --time=00:10:00 --ntasks=1 --cpus-per-task=16 ./stream \
| grep Triad: | cut -d: -f2 | cut -d'.' -f1 | sed -e "s/\s//g"`
echo "YVALUE= ${TRIAD}" > stream_triad.txt
TRIAD=`srun --partition=a100milan --time=00:10:00 --ntasks=1 --cpus-per-task=56 ./stream \
| grep Triad: | cut -d: -f2 | cut -d'.' -f1 | sed -e "s/\s//g"`
echo "YVALUE= ${TRIAD}" > stream_gpu56c_triad.txt
TRIAD=`srun --partition=a100rome --time=00:10:00 --ntasks=1 --cpus-per-task=64 ./stream \
| grep Triad: | cut -d: -f2 | cut -d'.' -f1 | sed -e "s/\s//g"`
echo "YVALUE= ${TRIAD}" > stream_gpu64c_triad.txt
gcc --version > gcc_version.txt
exit
[SSH] executing...
/u/svchydrojenkins/hydro/stream
gcc (Spack GCC) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
stream.c:393:14: optimized: Inlining mysecond/21 into checktick/20.
stream.c:392:7: optimized: Inlining mysecond/21 into checktick/20.
stream.c:347:16: optimized: Inlining mysecond/21 into main/19.
stream.c:339:16: optimized: Inlining mysecond/21 into main/19.
stream.c:337:16: optimized: Inlining mysecond/21 into main/19.
stream.c:329:16: optimized: Inlining mysecond/21 into main/19.
stream.c:327:16: optimized: Inlining mysecond/21 into main/19.
stream.c:319:16: optimized: Inlining mysecond/21 into main/19.
stream.c:317:16: optimized: Inlining mysecond/21 into main/19.
stream.c:309:16: optimized: Inlining mysecond/21 into main/19.
stream.c:289:18: optimized: Inlining mysecond/21 into main/19.
stream.c:285:9: optimized: Inlining mysecond/21 into main/19.
stream.c:345:14: optimized: loop vectorized using 16 byte vectors
stream.c:343:9: optimized: loop turned into non-loop; it never loops
stream.c:335:14: optimized: loop vectorized using 16 byte vectors
stream.c:333:9: optimized: loop turned into non-loop; it never loops
stream.c:325:21: optimized: loop vectorized using 16 byte vectors
stream.c:323:9: optimized: loop turned into non-loop; it never loops
stream.c:315:14: optimized: Loop 1 distributed: split to 0 loops and 1 library calls.
stream.c:288:19: optimized: loop vectorized using 16 byte vectors
stream.c:286:9: optimized: loop turned into non-loop; it never loops
stream.c:269:11: optimized: Loop 1 distributed: split to 2 loops and 1 library calls.
stream.c:270:11: optimized: loop vectorized using 16 byte vectors
stream.c:269:11: optimized: loop vectorized using 16 byte vectors
stream.c:267:9: optimized: loop turned into non-loop; it never loops
stream.c:267:9: optimized: loop turned into non-loop; it never loops
stream.c:405:19: optimized: loop vectorized using 16 byte vectors
stream.c:405:19: optimized: loop turned into non-loop; it never loops
stream.c:384:1: optimized: loop turned into non-loop; it never loops
stream.c:384:1: optimized: loop with 3 iterations completely unrolled (header execution count 5903100)
stream.c:527:14: optimized: loop vectorized using 16 byte vectors
stream.c:508:14: optimized: loop vectorized using 16 byte vectors
stream.c:489:14: optimized: loop vectorized using 16 byte vectors
stream.c:462:13: optimized: loop vectorized using 16 byte vectors
stream.c:354:13: optimized: loop with 4 iterations completely unrolled (header execution count 214748368)
stream.c:208:1: optimized: basic block part vectorized using 16 byte vectors
stream.c:208:1: optimized: basic block part vectorized using 16 byte vectors
stream.c:208:1: optimized: basic block part vectorized using 16 byte vectors
total 47
-rwx------ 1 svchydrojenkins grp_202 27192 Nov 23 21:15 stream
-rwx------ 1 svchydrojenkins grp_202 19968 Aug 23 2022 stream.c
srun: job 98500 queued and waiting for resources
srun: job 98500 has been allocated resources
srun: job 98501 queued and waiting for resources
srun: job 98501 has been allocated resources
srun: job 98502 queued and waiting for resources
srun: job 98502 has been allocated resources
[SSH] completed
[SSH] exit-status: 0
[workspace] $ /bin/sh -xe /tmp/jenkins737035479298225511.sh
+ scp 'HYDRO_REMOTE:~/hydro/stream/*.txt' /var/lib/jenkins/jobs/stream/workspace
Recording plot data
Saving plot series data from: /var/lib/jenkins/jobs/stream/workspace/stream_triad.txt
Saving plot series data from: /var/lib/jenkins/jobs/stream/workspace/stream_gpu56c_triad.txt
Saving plot series data from: /var/lib/jenkins/jobs/stream/workspace/stream_gpu64c_triad.txt
Saving plot series data from: /var/lib/jenkins/jobs/stream/workspace/custom.txt
Finished: SUCCESS