hidden text to trigger early load of fonts ПродукцияПродукцияПродукцияПродукция Các sản phẩmCác sản phẩmCác sản phẩmCác sản phẩm المنتجاتالمنتجاتالمنتجاتالمنتجات מוצריםמוצריםמוצריםמוצרים
Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
2229 Discussions

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

JSCHO
Beginner
664 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
524 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
525 Views

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

0 Kudos
JSCHO
Beginner
504 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
450 Views

Thank you for the explanation.

0 Kudos
Reply