HP-MPI Version 1.2 for Windows Release Note

1.4.1 Setting environment variables
Environment variables can be used to control and customize the behavior of an HP-MPI
application. The environment variables that affect the behavior of HP-MPI at run time are
described in the mpienv(1) manpage.
In all run modes, HP-MPI enables environment variables to be set on the command line with
the -e option. For example:
C:\> "%MPI_ROOT%\bin\mpirun" -e MPI_FLAGS=y40 -f appfile
See the HP-MPI User’s Guide for more information on setting environment variables globally
using the command line.
On Windows 2008, environment variables can be set from the GUI or on the command line.
From the GUI, select New JobTask List (from the left menu list) and select an existing task.
Set the environment variable in the Task Properties window at the bottom.
NOTE: Set these environment variables on the mpirun task.
Environment variables can also be set using the flag /env. For example:
> job add JOBID /numprocessors:1
/env:"MPI_ROOT=\\shared\alternate\location" ...
16 HP-MPI V1.2 for Windows Release Note