Skip navigation.
Home

OpenMPI-PGI on a 64 bit Opteron Fedora Core 5 Cluster

This is the procedure for compiling OpenMPI with Portland group versions of C, C++ and Fortran. Part of the continuing adventure of installing Underworld on Wexstan.

First, collect the necessary modules: module load pgi/7.2, Download and extract (tar xvf openmpi-1.3.2.tar.gz) openmpi in the appropriate place (/usr/local/src/OPENMPI).

It is easiest to create a config-pgi file for the various options required to compile this. Use your favourite editor and create the file as follows:


#!/bin/bash
CC=pgcc CXX=pgcpp F77=pgf77 FC=pgf90
./configure --prefix=/usr/local/openmpi-pgi --enable-shared --with-gm=/usr/gm --with-tm=/usr/local/ && make

Make the file executable (chmod +x config-pgi), run it, and make install.. voilà - be very surprised when it works. Make a module for it and yet another step is completed in the quest for Underworld on Wexstan...