Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
2202 Discussions

Is there any difference between I_MPI_HYDRA_ENV=all and mpirun -genvall?

JSCHO
Beginner
253 Views

Hi.

Perhaps this is a stupid beginner’s question, but anyway: I know that I_MPI_HYDRA_ENV=all is the default. Does this imply “mpirun -genvall”? Or is there any difference between these approaches of defining and passing configuration settings for the IMPI?

Or in other words: If I need to define settings like, e.g., I_MPI_HYDRA_BOOTSTRAP and I_MPI_CBWR, will it be sufficient to define these settings as environment variables, or will I also have to add arguments to the mpirun command like -genvall or -genv I_MPI_CBWR=x?

Thanks in advance for an explanation.
Jan

0 Kudos
1 Solution
TobiasK
Moderator
113 Views

@JSCHO no you don't need to use -genv I_MPI_CBWR or -genvall

View solution in original post

0 Kudos
4 Replies
TobiasK
Moderator
114 Views

@JSCHO no you don't need to use -genv I_MPI_CBWR or -genvall

0 Kudos
JSCHO
Beginner
93 Views

Thanks for your reply. That's what I suspected.
Just out of curiosity: Since defining I_MPI_* environment variables is sufficient, what is the purpose of the mpirun option "-genv*"?

0 Kudos
JSCHO
Beginner
39 Views

Thank you for the explanation.

0 Kudos
Reply