tembusu-MPI-access

tembusu-MPI-access - Using MPI in tembusu for CS3211...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Using MPI in tembusu for CS3211 Parallel and Concurrent Programming You need to login to tembusu.comp.nus.edu.sg If you have difficulty, go to https://mysoc.nus.edu.sg/~myacct/ click on Services, and enable tembusu access. To compile MPI program cpi.c is an example program provided by the MPICH distribution. It and other examples can be found in /opt/mpich/examples. Myrinet examples are from tembusu1 which has a 64-node Myrinet network. In the following sample instruction, the same program is used to illustrate both MPICH and LAM-MPI. First, copy the program into your home directory. Then, follow the steps below. 1. MPI program running over Ethernet (MPICH) [user@access0]$ /opt/mpich/bin/mpicc -c cpi.c] [user@access0]$ /opt/mpich/bin/mpicc -o cpi cpi.o] 2. MPI program running over Ethernet (LAM-MPI) [user@access0]$ /opt/lam-mpi/bin/mpicc -g -c cpi.c] [user@access0]$ /opt/lam-mpi/bin/mpicc -g cpi.o -o cpi] 3. MPI program running over Myrinet (applicable to Myrinet nodes ONLY) [user@compute-0-36]$
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/08/2012 for the course CSCI 3211 taught by Professor Shamul during the Spring '11 term at GWU.

Page1 / 3

tembusu-MPI-access - Using MPI in tembusu for CS3211...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online