Skip to content

NOAA-clone/PSTL

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parallel Standard Template Library

Simple tests for the Parallel Standard Template Library (PSTL)

Instructions to Compile

  1. Download the repository:
git clone https://github.com/NOAA-GSD/PSTL.git
  1. Create a build directory (for instance inside the source tree):
cd PSTL
mkdir build
cd build
  1. Configure your system to have the proper libraries visable to the CMake build system:
    Note: These rules and variables used by CMake and not part of the PSTL application

    • CXX
      • CMake will check CXX to detect the current compiler for C++
    export CXX=/my/dir/to/compiler/g++
    • TBB_ROOT
      • CMake will check for Intel Thread Building Blocks if using the GCC compiler
    export TBB_ROOT=/my/path/to/tbb               # TBB Library for GCC
  2. Run cmake to generate the Makefile:

cmake ..

CMake tries to determine the platform you use, and will look for the required tools. It will report if something is missing.

  1. Build and Install the test cases:
make 
make install

Instructions to Run

  1. Run all test cases for simple Pass/Fail
make test
  1. Obtain detailed test case Pass/Fail information The test cases print out more detailed information as they run but this information is not displayed using the cmake test environment. To view the output each test can be manualy run from within the testing directory.
cd test
./test_<case_name>

Current Status

Status of Tests

Symbol Meaning
N Not Working
Y Works
- To Be Done

Current Status

Compiler stl_sort stl_vector strided_vector strided_stride
GCC 11.1 Y Y Y Y
GCC 11.1 + TBB 2021.3.0 Y Y Y Y
NVHPC -stdpar=gpu - - - -
NVHPC 21.7 -stdpar=multicore Y Y Y Y

About

Parallel Standard Template Library Testing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 70.1%
  • CMake 28.1%
  • Shell 1.8%