{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

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) [[email protected]]$ /opt/mpich/bin/mpicc -c cpi.c] [[email protected]]$ /opt/mpich/bin/mpicc -o cpi cpi.o] 2. MPI program running over Ethernet (LAM-MPI) [[email protected]]$ /opt/lam-mpi/bin/mpicc -g -c cpi.c] [[email protected]]$ /opt/lam-mpi/bin/mpicc -g cpi.o -o cpi] 3. MPI program running over Myrinet (applicable to Myrinet nodes ONLY) [[email protected]]$
Background image of page 1

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

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

{[ snackBarMessage ]}

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 bookmark
Ask a homework question - tutors are online