Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
2272 ディスカッション

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

JSCHO
ビギナー
1,241件の閲覧回数

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 件の賞賛
1 解決策
TobiasK
モデレーター
1,101件の閲覧回数

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

元の投稿で解決策を見る

4 返答(返信)
TobiasK
モデレーター
1,102件の閲覧回数

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

JSCHO
ビギナー
1,081件の閲覧回数

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*"?

TobiasK
モデレーター
1,043件の閲覧回数
JSCHO
ビギナー
1,027件の閲覧回数

Thank you for the explanation.

返信