IBM Support

Spectrum MPI command line options to pass environment variable

Education


Abstract

How to use Spectrum MPI command line options to pass environment variable

Content

Spectrum MPI will propagate specific environment variable to each rank when '-x' option been used.

1. Use -x in command.
      For example:  $mpirun -x ENV1 -x ENV2 ...
2, User can assign envs a specific value in command as well:
     For example:  $. mpirun -x ENV1=”Y” -x ENV2=”Z”...

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSZTET","label":"IBM Spectrum MPI"},"Component":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

More support for:
IBM Spectrum MPI

Software version:
All Versions

Operating system(s):
Linux

Document number:
741455

Modified date:
17 December 2018

UID

ibm10741455

Manage My Notification Subscriptions