HP-MPI Version 2.2.7 for Linux Release Note

4 Licensing Information
4.1 Licensing Policy
A license is required to use HP-MPI for Linux. Licenses can be purchased from the HP software
depot at http://www.hp.com/go/softwaredepot, or by contacting your HP representative.
Demo licenses for HP-MPI are also available from the HP software depot.
No separate HP-MPI license is required on an HP XC system.
4.2 License Installation and Testing
HP-MPI Version 2.2.7 for Linux uses FLEXlm® licensing technology. A license file can be named
either as license.dat or any file name with a .lic extension. The license file must be placed
in the installation directory (default location /opt/hpmpi/licenses) on all runtime systems,
and on the license server.
You must provide the hostname and hostid number of the system where the FLEXlm daemon
for HP-MPI for Linux runs. The hostid, which is the MAC address of eth0, can be obtained by
typing one of the following commands if HP-MPI is already installed on the system:
%/opt/hpmpi/bin/licensing/<arch>/lmutil lmhostid
%/sbin/ifconfig | egrep "^eth0" | awk '{print $5}' | sed s/://g
The hostname can be obtained by entering the command hostname.
The default search path used to find an MPI license file is:
%$MPI_ROOT/licenses:/opt/hpmpi/licenses:.
For example, if MPI_ROOT is set to /home/hpmpi, license files are searched in the following
order:
/home/hpmpi/licenses/license.dat
/home/hpmpi/licenses/*.lic
/opt/hpmpi/licenses/license.dat
/opt/hpmpi/licenses/*.lic
./license.dat
./*.lic
If the license needs to be placed in another location, which is not found by the previous search,
the user can set the environment variable LM_LICENSE_FILE to explicitly specify the location
of the license file.
For more information, see http://licensing.hp.com.
4.2.1 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 (for example mpi.lic).
Copy the license file under the directory /opt/hpmpi/licenses.
The command to run the license server is:
% $MPI_ROOT/bin/licensing/<arch>/lmgrd -c mpi.lic
4.2.2 License Testing
To check for a license, build and run the hello_world program in
$MPI_ROOT/help/hello_world.c. If your system is not properly licensed, the following
error message appears:
4.1 Licensing Policy 25