Developing Parallel Applications
This section describes how to build and run parallel applications. The following topics are discussed:
•Parallel Application Build Environment (page 40)
•Building Parallel Applications (page 42)
For further information about developing parallel applications in the HP XC environment, refer to the following:
•Launching Jobs with the srun Command (page 63)
•Debugging Parallel Applications (page 53)
•Chapter Advanced Topics (page 91)
Parallel Application Build Environment
This section discusses the parallel application build environment on an HP XC system.
The HP XC parallel application environment allows parallel application processes to be started and stopped together on a large number of application cores, along with the I/O and process control structures to manage these kinds of applications.
The HP XC system software uses the
Modulefiles
The basics of your working environment are set up automatically by your system administrator during the installation of HP XC. However, your application development environment can be modified by means of modulefiles, as described in "Overview of Modules" .
There are modulefiles available that you can load yourself to further tailor your environment to your specific application development requirements. For example, the TotalView module is available for debugging applications. "Overview of Modules" provides instructions on how to list what modulefiles are available for you to load, and how load a modulefile.
If you encounter problems accessing tools or commands (and associated manpages), ensure that required modules are loaded on your system. If necessary, load required modules yourself, as described in "Overview of Modules" . Otherwise, contact your administrator.
HP-MPI
With the HP XC system software, you can use the
See the
OpenMP
The OpenMP specification is a set of compiler directives that can be used to specify
Although OpenMP is designed for use on
OpenMP can be used alone, or in conjunction with
40 Developing Applications