Menu

#42 Add "all PEs" option to npes macro option to @test directive.

open
1
2015-05-13
2015-05-13
No

The idea is we want

@test(npes=[1,5,7,*])

to run 4 tests, with the last one deferring to MPI_COMM_WORLD (or the parent context if possible).

Thing to do:
Needs a more general regexp for such lines
Make numProcesses an optional argument to MpiTestMethod constructors
Make numProcesses an optional argument for newMpiTestParameter, add optional logical arg “allAvailable”
Add an MpiCommunicator argument to getNumProcessesRequested

Downside is that failures will not be able to use the actual npes for describing the test case. toString() does not have arguments and should not be changed for this.

  • Tom

Discussion


Log in to post a comment.