haddock3
haddock3 copied to clipboard
Add tests for execution modes
There is currently support for 3 execution modes:
-
batch: viaHPCScheduler, a mode in which the application becomes a daemon directly interacting with the system's scheduler via system calls -
local: viaSchedulerwhich uses the normalmultiprocessingapis -
mpi: viaMPISchedulerwhich is actually a pseudo-mpi implementation that works on stages; 1) the tasks are picked, 2) therunmethod of theMPISchedulermakes a system call withmpirunusing a command-line interface 3) thehaddock3-mpitaskcli unpickes the tasks and 4) scatter the tasks usingmpi4pyapi
Tests were added to cover the local execution but all other remain untested.
So tests needs to be added to the proper libraries and also integrations tests for each module running on each different execution modes are desireable