Skip to content

Add a MPI_Comm_split_type MPI_COMM_TYPE_HW_GUIDED test #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 22, 2022

Conversation

jjhursey
Copy link
Member

@jjhursey jjhursey commented Aug 17, 2022

 * This is a modified/simplified version of the one in the MPICH Testsuite
   customized for Open MPI.
   - Ref: https://www.mpich.org/downloads/

Signed-off-by: Joshua Hursey <[email protected]>
@jjhursey
Copy link
Member Author

Example output with Open MPI main branch

shell$ mpirun -npernode 2 --host f5n17:20,f5n16:20   ./cmsplit_type
shell$ echo $?
0
shell$ export MPITEST_VERBOSE=1
shell$ mpirun -npernode 2 --host f5n17:20,f5n16:20   ./cmsplit_type
MPI_COMM_TYPE_SHARED (no hint): Created shared subcommunicator of size 2
-----------------------------------
MPI_COMM_TYPE_SHARED (no hint): Created shared subcommunicator of size 2
MPI_COMM_TYPE_HW_GUIDED: Trying MPI Standard value mpi_shared_memory
MPI_COMM_TYPE_HW_GUIDED (mpi_shared_memory): Created shared subcommunicator of size 2
-----------------------------------
MPI_COMM_TYPE_HW_GUIDED (mpi_shared_memory): Created shared subcommunicator of size 2
MPI_COMM_TYPE_HW_GUIDED: Trying value mpi_shared_memory
MPI_COMM_TYPE_HW_GUIDED (mpi_shared_memory): Created shared subcommunicator of size 2
-----------------------------------
MPI_COMM_TYPE_HW_GUIDED (mpi_shared_memory): Created shared subcommunicator of size 2
MPI_COMM_TYPE_HW_GUIDED: Trying value hwthread
MPI_COMM_TYPE_HW_GUIDED (hwthread): Created shared subcommunicator of size 1
MPI_COMM_TYPE_HW_GUIDED (hwthread): Created shared subcommunicator of size 1
-----------------------------------
MPI_COMM_TYPE_HW_GUIDED (hwthread): Created shared subcommunicator of size 1
MPI_COMM_TYPE_HW_GUIDED (hwthread): Created shared subcommunicator of size 1
MPI_COMM_TYPE_HW_GUIDED: Trying value core
MPI_COMM_TYPE_HW_GUIDED (core): Created shared subcommunicator of size 1
MPI_COMM_TYPE_HW_GUIDED (core): Created shared subcommunicator of size 1
-----------------------------------
MPI_COMM_TYPE_HW_GUIDED (core): Created shared subcommunicator of size 1
MPI_COMM_TYPE_HW_GUIDED (core): Created shared subcommunicator of size 1
MPI_COMM_TYPE_HW_GUIDED: Trying value l1cache
MPI_COMM_TYPE_HW_GUIDED (l1cache): Created shared subcommunicator of size 1
MPI_COMM_TYPE_HW_GUIDED (l1cache): Created shared subcommunicator of size 1
-----------------------------------
MPI_COMM_TYPE_HW_GUIDED (l1cache): Created shared subcommunicator of size 1
MPI_COMM_TYPE_HW_GUIDED (l1cache): Created shared subcommunicator of size 1
MPI_COMM_TYPE_HW_GUIDED: Trying value l2cache
MPI_COMM_TYPE_HW_GUIDED (l2cache): Created shared subcommunicator of size 1
MPI_COMM_TYPE_HW_GUIDED (l2cache): Created shared subcommunicator of size 1
-----------------------------------
MPI_COMM_TYPE_HW_GUIDED (l2cache): Created shared subcommunicator of size 1
MPI_COMM_TYPE_HW_GUIDED (l2cache): Created shared subcommunicator of size 1
MPI_COMM_TYPE_HW_GUIDED: Trying value l3cache
MPI_COMM_TYPE_HW_GUIDED (l3cache): Created shared subcommunicator of size 1
MPI_COMM_TYPE_HW_GUIDED (l3cache): Created shared subcommunicator of size 1
-----------------------------------
MPI_COMM_TYPE_HW_GUIDED (l3cache): Created shared subcommunicator of size 1
MPI_COMM_TYPE_HW_GUIDED (l3cache): Created shared subcommunicator of size 1
MPI_COMM_TYPE_HW_GUIDED: Trying value socket
MPI_COMM_TYPE_HW_GUIDED (socket): Created shared subcommunicator of size 2
-----------------------------------
MPI_COMM_TYPE_HW_GUIDED (socket): Created shared subcommunicator of size 2
MPI_COMM_TYPE_HW_GUIDED: Trying value numanode
MPI_COMM_TYPE_HW_GUIDED (numanode): Created shared subcommunicator of size 2
-----------------------------------
MPI_COMM_TYPE_HW_GUIDED (numanode): Created shared subcommunicator of size 2
MPI_COMM_TYPE_HW_GUIDED: Trying value board
MPI_COMM_TYPE_HW_GUIDED (board): Created shared subcommunicator of size 2
-----------------------------------
MPI_COMM_TYPE_HW_GUIDED (board): Created shared subcommunicator of size 2
MPI_COMM_TYPE_HW_GUIDED: Trying value host
MPI_COMM_TYPE_HW_GUIDED (host): Created shared subcommunicator of size 2
-----------------------------------
MPI_COMM_TYPE_HW_GUIDED (host): Created shared subcommunicator of size 2
MPI_COMM_TYPE_HW_GUIDED: Trying value cu
MPI_COMM_TYPE_HW_GUIDED (cu): Created shared subcommunicator of size 2
-----------------------------------
MPI_COMM_TYPE_HW_GUIDED (cu): Created shared subcommunicator of size 2
MPI_COMM_TYPE_HW_GUIDED: Trying value cluster
MPI_COMM_TYPE_HW_GUIDED (cluster): Created shared subcommunicator of size 2
-----------------------------------
MPI_COMM_TYPE_HW_GUIDED (cluster): Created shared subcommunicator of size 2
MPI_COMM_TYPE_HW_GUIDED: Trying MPI_INFO_NULL
MPI_COMM_TYPE_HW_GUIDED: Trying MPI_INFO_NULL - Passed
-----------------------------------
MPI_COMM_TYPE_HW_GUIDED: Trying invalid key
MPI_COMM_TYPE_HW_GUIDED: Trying invalid key - Passed
-----------------------------------

@jjhursey jjhursey merged commit 684531f into open-mpi:master Aug 22, 2022
@jjhursey jjhursey deleted the comm-split-hw branch August 22, 2022 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants