Skip to content

Issue warning if mpiexec/mpirun not detected and MPI logic used#861

Open
Grzyb33k wants to merge 1 commit into
zwicker-group:masterfrom
Grzyb33k:patch-3
Open

Issue warning if mpiexec/mpirun not detected and MPI logic used#861
Grzyb33k wants to merge 1 commit into
zwicker-group:masterfrom
Grzyb33k:patch-3

Conversation

@Grzyb33k
Copy link
Copy Markdown
Contributor

No description provided.

@Grzyb33k
Copy link
Copy Markdown
Contributor Author

Note that the env var name seems MPICH specific. To support OpenMPI, the OMPI_COMM_WORLD_SIZE would work:

$ mpiexec -n 1 printenv | grep SIZE
OMPI_UNIVERSE_SIZE=6
OMPI_COMM_WORLD_SIZE=1
OMPI_COMM_WORLD_LOCAL_SIZE=1

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.

1 participant