### NAS Parallel Benchmark (http://www.nas.nasa.gov/publications/npb.html) is a
### small set of benchmarks that was intended for use when evaluating
### supercomputers. They are all computational kernels. In this configuration,
### the workload is parallelised on a single machine using OpenMP.

# List of monitors
export RUN_MONITOR=yes
export MONITORS_ALWAYS=
export MONITORS_GZIP="proc-vmstat mpstat turbostat"
export MONITORS_WITH_LATENCY="vmstat"
export MONITOR_UPDATE_FREQUENCY=10

# NAS Parallel Benchmark
export NAS_CLASS=`nas-class.sh`
export NAS_USE_CMA=no
export NAS_MAX_CPUS=$NUMCPUS
export NAS_ITERATIONS=3

# Select tests based on class
case $NAS_CLASS in
C)
	export MMTESTS="nas-omp-bt nas-omp-cg            nas-omp-ep nas-omp-ft nas-omp-is nas-omp-lu nas-omp-mg nas-omp-sp nas-omp-ua"
	;;
D)
	export MMTESTS="nas-omp-bt nas-omp-cg            nas-omp-ep            nas-omp-is nas-omp-lu nas-omp-mg nas-omp-sp nas-omp-ua"
	;;
*)
	die "Unrecognised class $NAS_CLASS"
esac
