8.2 HP-MPI Directory Structure
All
If you move the
Table 8-1: Organization of the /opt/hpmpi Directory
SubdirectoryContents
bin
help include lib/linux_ia32 lib/linux_amd64 lib/linux_ia64 newconfig/ share/man/man1* share/man/man3* doc
Command files for the
Source files for the example programs Header files
MPI Linux
8.3 Compiling and Running Applications
This section shows you how to compile and run an application in the HP XC environment.
8.3.1 Setting Environment Variables
Before beginning to compile and run an
•If the
•Add $MPI_ROOT/bin to PATH.
•Add $MPI_ROOT/share/man to MANPATH.
Note that
8.3.2 Building and Running an Example Application
This section teaches you the basic compilation and run steps to execute an MPI application on the HP XC system. Section 8.3.2.1 provides an example application called hello_world.c. Section 8.3.2.2 shows how to build and run hello_world.c on your system with