D.8. HOW TO RUN MPC APPLICATIONS


D.7. ENVIRONMENTAL VARIABLES

D.7.1. WHICHMPI

Currently, $WHICHMPI should be:

  • LAM, if you use a LAM implementation of MPI;

  • LAM6.3, if you use version 6.3 of LAM MPI implementation;

  • MPICH_P4, if you use a MPICH implementation of MPI configured with the ch_p4 communications device;

  • MPICH, if you use a MPICH implementation of MPI configured with any valid communications device not having to be ch_p4.

WHICHMPI should be set to a proper value on each host workstation.

D.7.2. MPIDIR

$MPIDIR is a directory where MPI has been installed. MPIDIR should be set to a proper value on each computer of the NoC.

D.7.3. MPCHOME

$MPCHOME is a directory where the mpC programming environment has been installed. MPCHOME should be set to a proper value on each computer of the NoC.

Subdirectory $MPCHOME/bin holds all executables and scripts of the mpC programming environment.

Subdirectory $MPCHOME/h holds all specific mpC header files as well as the header mpc.h containing declarations of the mpC library and embedded functions.

Subdirectory $MPCHOME/lib holds the RTS object files mpcrts.o and mpctopo.o.

With WHICHMPI set to MPICH, MPCHOME should have the same value on all the computers. If mpC has been installed in different directories on different computers, the Unix ln command can be used to make all the necessary hard or soft links.

D.7.4. MPCLOAD

$MPCLOAD is a directory for C files, object files, libraries, and executables needed for user’s applications. MPCLOAD should be set to a proper value on each computer. Different users should not share the directories. Binary incompatible computers must not share the directory. The user should have write access to the directory.

With WHICHMPI set to MPICH, MPCLOAD should have the same value on all the computers. In particular, the Unix ln command can be used to make all the necessary hard or soft links.

D.7.5. MPCTOPO

$MPCTOPO is a directory for VPM description files and system files produced by the mpC programming environment. MPCTOPO should be set to a proper value on each computer. The mpC programming environment saves a file specifying the current VPM in subdirectory $MPCTOPO/log. Different users should not share the directories. Binary incompatible computers must not share the directories. The user should have write access to these directories.




Parallel Computing on Heterogeneous Networks
Parallel Computing on Heterogeneous Networks (Wiley Series on Parallel and Distributed Computing)
ISBN: B000W7ZQBO
EAN: N/A
Year: 2005
Pages: 95

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net