Skip to content
Snippets Groups Projects
Commit 00ff72f7 authored by Jammer, Tim's avatar Jammer, Tim
Browse files

added comment on what cases are missing

parent 65ed5917
No related branches found
No related tags found
1 merge request!5more work on infrastructure III
...@@ -12,14 +12,27 @@ from itertools import chain ...@@ -12,14 +12,27 @@ from itertools import chain
sendrecv_funcs = ["mpi_sendrecv", "mpi_sendrecv_replace"] sendrecv_funcs = ["mpi_sendrecv", "mpi_sendrecv_replace"]
# TODO implement more missmatching comms
# and missmatching comm when sender and receiver use different comms
class InvalidCommErrorP2P(ErrorGenerator): class InvalidCommErrorP2P(ErrorGenerator):
invalid_comm = ["MPI_COMM_NULL", "NULL"] invalid_comm = ["MPI_COMM_NULL", "NULL"]
missmatching_comms = ["MPI_COMM_SELF","mpi_comm_dup"] missmatching_comms = ["MPI_COMM_SELF","mpi_comm_dup"]
#TODO test with:
#'MPI_Comm_dup_with_info',
#'MPI_Comm_idup',
#'MPI_Comm_idup_with_info',
#'MPI_Comm_create',
#'MPI_Comm_create_group',
#'MPI_Comm_split',
#'MPI_Comm_split_type',
#'MPI_Comm_create_from_group',
#'MPI_Intercomm_create',
#'MPI_Intercomm_create_from_groups',
#'MPI_Intercomm_merge'
# as extended testcases
comms_to_check = invalid_comm + missmatching_comms comms_to_check = invalid_comm + missmatching_comms
functions_to_check = ["mpi_send", functions_to_check = ["mpi_send",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment