Skip to content

Commit

Permalink
FDS vv: in debug mode, run openmp benchmark cases on separate nodes (…
Browse files Browse the repository at this point in the history
…only worried about running, not timings)
  • Loading branch information
gforney committed Jan 13, 2018
1 parent 261e3e7 commit c25f2cd
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
24 changes: 24 additions & 0 deletions Verification/FDS_Benchmark_Cases_single.sh
@@ -0,0 +1,24 @@
#!/bin/bash

# The -O option runs cases
# casea.fds, ..., caseh.fds all on the same node using
# 1, ..., 8 threads respectively where case is
# openmp_test64 and openmp_test128

$QFDS -t -o 1 -A -d Timing_Benchmarks openmp_test64a.fds
$QFDS -t -o 2 -A -d Timing_Benchmarks openmp_test64b.fds
$QFDS -t -o 3 -A -d Timing_Benchmarks openmp_test64c.fds
$QFDS -t -o 4 -A -d Timing_Benchmarks openmp_test64d.fds
$QFDS -t -o 5 -A -d Timing_Benchmarks openmp_test64e.fds
$QFDS -t -o 6 -A -d Timing_Benchmarks openmp_test64f.fds
$QFDS -t -o 7 -A -d Timing_Benchmarks openmp_test64g.fds
$QFDS -t -o 8 -A -d Timing_Benchmarks openmp_test64h.fds

$QFDS -t -o 1 -A -d Timing_Benchmarks openmp_test128a.fds
$QFDS -t -o 2 -A -d Timing_Benchmarks openmp_test128b.fds
$QFDS -t -o 3 -A -d Timing_Benchmarks openmp_test128c.fds
$QFDS -t -o 4 -A -d Timing_Benchmarks openmp_test128d.fds
$QFDS -t -o 5 -A -d Timing_Benchmarks openmp_test128e.fds
$QFDS -t -o 6 -A -d Timing_Benchmarks openmp_test128f.fds
$QFDS -t -o 7 -A -d Timing_Benchmarks openmp_test128g.fds
$QFDS -t -o 8 -A -d Timing_Benchmarks openmp_test128h.fds
8 changes: 7 additions & 1 deletion Verification/scripts/Run_FDS_Cases.sh
Expand Up @@ -12,6 +12,7 @@ fi

QUEUE=batch
DEBUG=
SINGLE=
nthreads=1
resource_manager=
walltime=
Expand Down Expand Up @@ -84,6 +85,7 @@ case $OPTION in
;;
d)
DEBUG=_db
SINGLE="1"
;;
h)
usage;
Expand Down Expand Up @@ -150,7 +152,11 @@ export QFDS="$QFDSSH $walltime -n $nthreads $INTEL2 -e $FDSMPI $QUEUE $OOPT $POP

cd ..
if [ "$BENCHMARK" == "1" ]; then
./FDS_Benchmark_Cases.sh
if [ "$SINGLE" == "" ]; then
./FDS_Benchmark_Cases.sh
else
./FDS_Benchmark_Cases_single.sh
fi
echo FDS benchmark cases submitted
fi

Expand Down

0 comments on commit c25f2cd

Please sign in to comment.