Tests
Suites
Latest Results
Search
Register
Login
Popular Tests
Timed Linux Kernel Compilation
7-Zip Compression
SVT-AV1
FFmpeg
PostgreSQL
Stockfish
Newest Tests
WarpX
Epoch
Valkey
Whisperfile
XNNPACK
GROMACS
Recently Updated Tests
Apache CouchDB
PostgreSQL
NAMD
Apache Cassandra
Opus Codec Encoding
ParaView
New & Recently Updated Tests
Recently Updated Suites
Database Test Suite
Machine Learning
Steam
New & Recently Updated Suites
Component Benchmarks
CPUs / Processors
GPUs / Graphics
OpenGL
Disks / Storage
Motherboards
File-Systems
Operating Systems
OpenBenchmarking.org
Corporate / Organization Info
Bug Reports / Feature Requests
NAS Parallel Benchmarks 1.2.3
pts/npb-1.2.3
- 09 September 2017 -
Update MPI handling, add some larger test sizes
downloads.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v7.4.0m3--> <PhoronixTestSuite> <Downloads> <Package> <URL>http://www.phoronix-test-suite.com/benchmark-files/NPB3.3.tar.gz, http://www.phoronix.net/downloads/phoronix-test-suite/benchmark-files/NPB3.3.tar.gz</URL> <MD5>fe65de7ff54709a0266301e0d38c7777</MD5> <SHA256>247a284877541f731e9426357a82c41cd6c6142aa454ea3f8f5272dbcb4b93da</SHA256> <FileSize>615658</FileSize> </Package> </Downloads> </PhoronixTestSuite>
install.sh
#!/bin/sh tar -zxvf NPB3.3.tar.gz if [ ! "X$MPI_PATH" = "X" ] && [ -d $MPI_PATH ] && [ -d $MPI_INCLUDE ] && [ -x $MPI_CC ] && [ -e $MPI_LIBS ] then # PRE-SET MPI echo "Using pre-set environment variables." elif [ -d /usr/lib/x86_64-linux-gnu/openmpi/lib/openmpi ] then # OpenMPI MPI_PATH=/usr/lib/x86_64-linux-gnu/openmpi/lib/openmpi/ MPI_INCLUDE=/usr/include/openmpi/ MPI_LIBS=/usr/lib/x86_64-linux-gnu/libmpi.so MPI_CC=/usr/bin/mpicc.openmpi MPI_VERSION=`$MPI_CC -showme:version 2>&1 | grep MPI | cut -d "(" -f1 | cut -d ":" -f2` elif [ -d /usr/lib/openmpi/include ] then # OpenMPI MPI_PATH=/usr/lib/openmpi MPI_INCLUDE=/usr/lib/openmpi/include MPI_LIBS=/usr/lib/openmpi/lib/libmpi.so MPI_CC=/usr/bin/mpicc.openmpi MPI_VERSION=`$MPI_CC -showme:version 2>&1 | grep MPI | cut -d "(" -f1 | cut -d ":" -f2` elif [ -d /usr/lib/mpich/include ] then # MPICH MPI_PATH=/usr/lib/mpich MPI_INCLUDE=/usr/lib/mpich/include MPI_LIBS=/usr/lib/mpich/lib/libmpich.so.1.0 MPI_CC=/usr/bin/mpicc.mpich MPI_VERSION=`$MPI_CC -v 2>&1 | grep "MPICH version"` elif [ -d /usr/include/mpich2 ] then # MPICH2 MPI_PATH=/usr/include/mpich2 MPI_INCLUDE=/usr/include/mpich2 MPI_LIBS=/usr/lib/mpich2/lib/libmpich.so MPI_CC=/usr/bin/mpicc.mpich2 MPI_VERSION=`$MPI_CC -v 2>&1 | grep "MPICH2 version"` fi if [ ! "X$MPI_VERSION" = "X" ] then echo $MPI_VERSION > ~/install-footnote fi if [ "X$CFLAGS_OVERRIDE" = "X" ] then CFLAGS="$CFLAGS -O3 -march=native" else CFLAGS="$CFLAGS_OVERRIDE" fi # Should have all the necessary variables for both OpenMP and MPI tests echo "F77 = gfortran MPIF77 = mpif77 FLINK = \$(MPIF77) FMPI_LIB = -L$MPI_LIBS FMPI_INC = -I$MPI_INCLUDE FFLAGS = $CFLAGS FLINKFLAGS = \$(FFLAGS) MPICC = $MPI_CC CLINK = \$(MPICC) CMPI_LIB = -L$MPI_LIBS CMPI_INC = -I$MPI_INCLUDE CFLAGS = $CFLAGS CLINKFLAGS = \$(CFLAGS) CC = cc -g BINDIR = ../bin RAND = randi8 C_LIB = -lm WTIME = wtime.c " > NPB3.3/NPB3.3-MPI/config/make.def # Copy over OpenMP make for when using that... cp NPB3.3/NPB3.3-MPI/config/make.def NPB3.3/NPB3.3-OMP/config/make.def cd ~/NPB3.3/NPB3.3-MPI/ make bt CLASS=A make ep CLASS=C make ft CLASS=A make ft CLASS=C make lu CLASS=A make lu CLASS=C make sp CLASS=A cd ~ echo "#!/bin/sh cd NPB3.3/NPB3.3-MPI/ if [ \"X\$OMP_NUM_THREADS\" = \"X\" ] then OMP_NUM_THREADS=\$NUM_CPU_CORES fi if [ ! \"X\$HOSTFILE\" = \"X\" ] && [ -f \$HOSTFILE ] then \$HOSTFILE=\"--hostfile \$HOSTFILE\" elif [ -f /etc/hostfile ] then \$HOSTFILE=\"--hostfile /etc/hostfile\" else \$HOSTFILE=\"\" fi mpiexec -np \$NUM_CPU_CORES \$HOSTFILE ./bin/\$@.1 > \$LOG_FILE 2>&1 echo \$? > ~/test-exit-status" > npb chmod +x npb
results-definition.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v7.4.0m3--> <PhoronixTestSuite> <ResultsParser> <OutputTemplate> Mop/s total = #_RESULT_#</OutputTemplate> <LineHint>Mop/s total</LineHint> </ResultsParser> </PhoronixTestSuite>
test-definition.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v7.4.0m3--> <PhoronixTestSuite> <TestInformation> <Title>NAS Parallel Benchmarks</Title> <AppVersion>3.3</AppVersion> <Description>NPB, NAS Parallel Benchmarks, is a benchmark developed by NASA for high-end computer systems. This test profile currently uses the MPI version of NPB.</Description> <ResultScale>Total Mop/s</ResultScale> <Proportion>HIB</Proportion> <TimesToRun>3</TimesToRun> </TestInformation> <TestProfile> <Version>1.2.3</Version> <SupportedPlatforms>Linux, Solaris, BSD</SupportedPlatforms> <SoftwareType>Benchmark</SoftwareType> <TestType>Processor</TestType> <License>Free</License> <Status>Verified</Status> <ExternalDependencies>build-utilities, fortran-compiler, openmpi-development</ExternalDependencies> <EnvironmentSize>8</EnvironmentSize> <ProjectURL>http://www.nas.nasa.gov/Resources/Software/npb.html</ProjectURL> <InternalTags>SMP, MPI</InternalTags> <Maintainer>Michael Larabel</Maintainer> </TestProfile> <TestSettings> <Option> <DisplayName>Test / Class</DisplayName> <Identifier>run-test</Identifier> <ArgumentPrefix></ArgumentPrefix> <ArgumentPostfix></ArgumentPostfix> <DefaultEntry>0</DefaultEntry> <Menu> <Entry> <Name>BT.A</Name> <Value>bt.A</Value> <Message></Message> </Entry> <Entry> <Name>EP.C</Name> <Value>ep.C</Value> <Message></Message> </Entry> <Entry> <Name>FT.A</Name> <Value>ft.A</Value> <Message></Message> </Entry> <Entry> <Name>FT.C</Name> <Value>ft.C</Value> <Message></Message> </Entry> <Entry> <Name>LU.A</Name> <Value>lu.A</Value> <Message></Message> </Entry> <Entry> <Name>LU.C</Name> <Value>lu.C</Value> <Message></Message> </Entry> <Entry> <Name>SP.A</Name> <Value>sp.A</Value> <Message></Message> </Entry> </Menu> </Option> </TestSettings> </PhoronixTestSuite>