Homec4science

proper testing of mpi-enabled routines in python

Authored by frerot on Jul 12 2020, 03:59.

Description

proper testing of mpi-enabled routines in python

The pytest integration of mpi-enable python test is a bit hacky but it works.
The idea is to use a pytest test to spawn processes that will execute the mpi
routines in a parallel environment and reduce the routine result to the pytest
process, which will determine if the routine failed. In our case, the test will
loop through all functions of 'mpi_routines' that start with 'mpi_' and execute
them in an MPI environment.

Details

Committed
frerotJul 12 2020, 03:59
Pushed
frerotJul 12 2020, 03:59
Parents
rTAMAAS773514f8cf45: allowing 1D tests to pass
Branches
Unknown
Tags
Unknown