Skip to content

Import Benchmark

Mark Hoemmen edited this page May 14, 2018 · 5 revisions

CMake flags needed to build the benchmark:

  • -D Trilinos_ENABLE_Tpetra:BOOL=ON
  • -D Tpetra_ENABLE_EXAMPLES:BOOL=ON

Path to benchmark source:

  • Trilinos/packages/tpetra/core/example/advanced/Benchmarks/import.cpp

Path to benchmark executable:

  • $BUILD/packages/tpetra/core/example/advanced/Benchmarks/TpetraCore_import.exe

Command-line arguments:

  • numEltsPerProc (default 100,000): Number of global indices owned by each MPI process.
  • numTrials (default 100): Number of times to repeat each operation in a timing loop, to smooth out performance variation and deal with any timer granularity issues.
  • runEpetra (default true if Epetra package is enabled, else false): Whether to run the benchmark with Epetra objects.
  • runTpetra (default true): Whether to run the benchmark with Tpetra objects.

Command line for small test:

  • mpirun -np 4 EXECUTABLENAME.exe --ADD_COMMAND_LINE_ARGS_HERE

Suggested scaling study: DESCRIBE WEAK/STRONG

  • mpirun -np 1 EXECUTABLENAME.exe --ADD_COMMAND_LINE_ARGS_HERE
  • mpirun -np 4 ....

Preliminary results:

  • Platform used:
  • Summary or screenshot:
Clone this wiki locally