NOAA-GSL / ExascaleWorkflowSandbox

Other
2 stars 2 forks source link

Add test to ensure concurrent MPI programs don't use overlapping resources #45

Closed christopherwharrop-noaa closed 9 months ago

christopherwharrop-noaa commented 9 months ago

This adds a test that ensures MPI programs can run concurrently and do not share resources when doing so. A mpi_pi.f90 test program is introduced to assist as it provides a bit more computation for situations requiring a longer run time for testing purposes. It also exercises MPI collectives so is a bit more rigorous than the "hello" MPI program.

NOTE: The config factory was updated to set the cores_per_node property of the Slurm Provider. Also, the testing fixture needed some modifications because the new tests needs to know how many cores per node there are. So it was modified to return a dict that allows accessing the configuration and not just the environment settings.