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

Getting started
Chapter 218
environment before running your program. You become familiar with the
file structure in your HP-MPI directory. The HP-MPI licensing policy is
explained.
The goal of this chapter is to demonstrate the basics to getting started
using HP-MPI. It is separated into two major sections: Getting started
using HP-UX or Linux, and Getting started using Windows.
For complete details about running HP-MPI and analyzing and
interpreting profiling data, refer to “Understanding HP-MPI” on page 41
and “Profiling” on page 173. The topics covered in this chapter are:
Getting started using HP-UX or Linux
Configuring your environment
Setting PATH
Setting shell
Compiling and running your first application
Building and running on a single host
Building and running on a Linux cluster using appfiles
Building and running on an XC cluster using srun
Directory structure for HP-UX and Linux
HP-UX and Linux man pages
Licensing Policy for Linux
Version identification
Getting started using Windows
Configuring your environment
Compiling and running your first application
Building and running on a single host
Building and running multihost on Windows CCS clusters
Building and running MPMD applications on Windows CCS
Building an MPI application on Windows with Visual Studio
and using the property pages