You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As described in trilinos/Trilinos#11322 (comment), the updated behavior of TriBITS is to not add a test in an non-MPI SERIAL build when the test has an explicit NUM_MPI_PROCS N for N > 1. But test will never be added if COMM serial is passed into tribits_add[_advanced]_test() in these cases.
This Issue is to update tribits_add[_advanced]_test() to address the case where COMM serial and NUM_MPI_PROCS N for N > 1 are passed in.
Proposed solution
Many different proposed solutions are discussed in comments after trilinos/Trilinos#11322 (comment). What we arrived at is to implement the following:
Case 1:NUM_MPI_PROCS N for N > 1 but no explicitCOMM ... argument passed in:
MPI builds: Test will be added with N procs (which is the current TriBITS behavior)
Serial builds: Test will be slipped (which is the current TriBITS behavior)
Case 2:NUM_MPI_PROCS N for N > 1with explicitCOMM serial mpi passed in:
MPI builds: Two tests will be added: one with N procs and one with 1 proc (currently just the N proc test is added)
Serial builds: One test with 1 proc will be added (currently no test is added)
Case 3:NUM_MPI_PROCS N for N > 1with explicitCOMM serial (but not mpi) passed in:
Configure error for MPI and Serial builds with error message stating that the test will never be added and provide suggestions for how to fix this to do something logical (currently the test is skipped with a message why printed to the script when tracing add_test)
The text was updated successfully, but these errors were encountered:
bartlettroscoe
changed the title
Testing: Error out when setting COMM serial and NUM_MPI_PROCS N for N > 1
Testing: Address case when setting COMM serial and NUM_MPI_PROCS N for N > 1
Dec 1, 2022
@rppawlo and @etphipp, can you please look above and add a thumbs up if those behaviors are consistent with what we have agreed to in trilinos/Trilinos#11322 (comment)? If not, please comment on what should be fixed.
Description
As described in trilinos/Trilinos#11322 (comment), the updated behavior of TriBITS is to not add a test in an non-MPI SERIAL build when the test has an explicit
NUM_MPI_PROCS N
forN > 1
. But test will never be added ifCOMM serial
is passed intotribits_add[_advanced]_test()
in these cases.This Issue is to update
tribits_add[_advanced]_test()
to address the case whereCOMM serial
andNUM_MPI_PROCS N
forN > 1
are passed in.Proposed solution
Many different proposed solutions are discussed in comments after trilinos/Trilinos#11322 (comment). What we arrived at is to implement the following:
Case 1:
NUM_MPI_PROCS N
forN > 1
but no explicitCOMM ...
argument passed in:N
procs (which is the current TriBITS behavior)Case 2:
NUM_MPI_PROCS N
forN > 1
with explicitCOMM serial mpi
passed in:N
procs and one with1
proc (currently just theN
proc test is added)1
proc will be added (currently no test is added)Case 3:
NUM_MPI_PROCS N
forN > 1
with explicitCOMM serial
(but notmpi
) passed in:The text was updated successfully, but these errors were encountered: