MCSR_logo.jpg (56K)
Home My MCSR Supercomputers Software Research Education
Login
Quick Links:

FAQs
Minicamp
Chemistry
insideHPC Blog
Current Jobs
Job History
Mathematica
Training
News
Contact Us

MPI on Sequoia at MCSR

Sequoia has several implementations of MPI installed, but barring a specific need, we recommend the SGI MPT library, which takes advantage of sequoia's Infiniband network.

Setting up environment for MPI

To setup your environment, run the following:
. /usr/local/apps/mpt_2.sh

Compiling MPI with C/C++

To use any of the Intel compilers (icc or ifort) you will need to setup your environment properly. gcc is also available. ( Compilers on Sequoia) To compile an MPI program, use the -l option to link against the MPI library. For example:
icc -lmpi -o program_name program_name.c

Executing an MPI Program

To execute a compiled MPI program, run it using mpirun or mpiexec inside a PBS script.

Last Modified:May 02, 2012 17:00:44.   Copyright © 1997-2012 The Mississippi Center for Supercomputing Research. All Rights Reserved.   The University of Mississippi
Valid RSS