Seminars People Information Computing Research

MPI

This page contains some information and links on running mpi on the Tulane CCS servers. All the examples on this page are for fortran. There are C equivalent examples in the directory:
/u00/job-examples/mpi

MPI on the SGI machines

Sample mpi application using fortran 77 on our sgi machines can be found in in the directory:
/u00/job-examples/mpi/sgi/fortran/mpi
In this directory you you will find a Makefile and a sample fortan 77 program fpi.f. Once the code is compiled you can run it as follows:
ccs1> mpirun -np 2 $PWD/fpi
The option "-np 2" will run this on 2 CPUs.

MPI on the SGI machines using IMSL

Sample mpi application using fortran 90 and IMSL on our sgi machines can be found in the directory:
/u00/job-examples/mpi/sgi/fortran/imsl-mpi
In this directory you you will find a Makefile and a sample fortan 90 program. Before you attempt to compile this code you must setup your IMSL evironment as follows:
ccs1> source /usr/local/vni/CTT4.0/ctt/bin/cttsetup.csh
Once the code is compiled you can run it:
ccs1> mpirun -np 2 $PWD/parallel_ex02
The option "-np 2" will run this on 2 CPUs.

MPI on the Linux cluster

Sample mpi application using C on the oneSIS Linux cluster can be found in the directory:
/u00/job-examples/mpi/oneSIS/
In this directory you you will find a sample C program(cpi.c) and a job submission script for the oneSIS cluster. Before you attempt to compile this code you must setup your MPI evironment as follows:
ares> module load gcc/4.1.0
ares> module load openmpi/1.1.1-1_gcc
Once the code is compiled you can run it as follows:
ares> bsub 

Keep in mind each node can have 2 or 4 cpu cores. For more information on this please look at the oneSIS documentation
here.





Tulane Tulane University
201 Lindy Boggs Center
Computational Science
6823 St. Charles Ave.
New Orleans, LA 70118
(504)862-8391 ccs@tulane.edu