HP-MPI User's Guide (11th Edition)

Getting started
Getting started using Windows
Chapter 240
The hostname can be obtained using the control panel by following
Control Panel -> System -> Computer Name tab.
The default search path used to find an MPI license file is:
"%MPI_ROOT%\licenses:.".
If the license needs to be placed in another location which would not be
found by the above search, the user may set the environment variable
LM_LICENSE_FILE to explicitly specify the location of the license file.
For more information, see http://licensing.hp.com.
Installing License Files A valid license file contains the system hostid
and the associated license key. License files can be named either as
license.dat or any name with extension of *.lic (like mpi.lic, for
example). The license file must be copied to the installation directory
(default C:\Program Files (x86)\Hewlett-Packard\HP-MPI\
licenses) on all runtime systems, and to the license server.
The command to run the license server is:
"%MPI_ROOT%\bin\licensing\<arch>\lmgrd" -c mpi.lic
License Testing Build and run the hello_world program in
%MPI_ROOT%\help\hello_world.c to check for a license. If your system
is not properly licensed, you will receive the following error message:
(“MPI BUG: Valid MPI license not found in search path”)