Intel® oneAPI HPC Toolkit
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
1920 Discussions

What is the differences between “-genvall” and “-envall” ?

jj_l_
Beginner
429 Views

In the man doc of mpirun, it says that:

-genvall
              Use this option to enable propagation of all environment variables to all MPI processes.
 
 -envall
              Use this option to propagate all environment variables in the current argument set.
 
May I have a more plain-spoken explanation in their meaning and differences?
 
Thank you.
0 Kudos
3 Replies
jj_l_
Beginner
430 Views

Optimization Notice is COMPLETELY USELESS.

it is NOT related to my questions at all.

McCalpinJohn
Black Belt
430 Views

This might be easier to test than to try to understand from the documentation....

You can run "env" in the parent environment, then use mpirun to launch a script using each of the two options above.  The script can run "env" with the output redirected to a unique file name (e.g., a file name generated by "mktemp") so the output from multiple ranks does not get mixed together).

jj_l_
Beginner
430 Views

McCalpin, John wrote:

This might be easier to test than to try to understand from the documentation....

You can run "env" in the parent environment, then use mpirun to launch a script using each of the two options above.  The script can run "env" with the output redirected to a unique file name (e.g., a file name generated by "mktemp") so the output from multiple ranks does not get mixed together).

 

Thanks for your suggestion. It is a way to test it. If any intel tech support guys see this post, I still wish to have their official response.

Reply