Description:
|
MPICH v1 is a freely available, portable implementation of MPI
(Message-Passing Interface), the
Standard for message-passing libraries.
|
Version
| MPICH v1.2.7 PGI
|
Installed on |
Linux cluster |
Environment
|
By default, these lines are executed when you log into any cluster:
source /usr/local/profile.d/mpich1-pgi.tcsh
source /usr/local/profile.d/pgivars.tcsh
For bash,sh shell, type
source /usr/local/profile.d/mpich1-pgi.sh
source /usr/local/profile.d/pgivars.sh
|
Executables
|
mpirun, mpicc, mpiCC, mpif90 and mpif77
|
Usage
- Compile your MPICH 1 code. You must use PGI compilers
pgcc -o outfile input.c -Mmpi
pgf77 -o outfile input.f -Mmpi
Read the PGI User Manual for more info on MPI compile options.
- Set up SSH
- ssh to kepler.berkeley.edu
- cd ~/.ssh2
- ssh-keygen kepler
You will be prompted for a passphrase. Choose you passphrase
carefully! Do not re-use your password. It defeats the
purpose.
Two files will be created:
~/.ssh2/kepler Your private key.
~/.ssh2/kepler.pub Your public key. Can be shared.
- pico ~/.ssh2/identification and put in the following
IdKey kepler
- pico ~/.ssh2/authorization and put in the following
Key kepler.pub
- Running MPICH 1:
Start ssh-agent by issuing: ssh-agent /bin/tcsh
Add your key to the agent: ssh-add
You'll be prompted for your passphrase.
then
mpirun -np 2 /usr/local/pgi/bench/mpihello/mpihello
or
mpirun -np 2 -machinefile filename /usr/local/pgi/bench/mpihello/mpihello
| |
Documentation
|
MPICH 1 Docs
PGI Users Guide
|