2004-11-22 04:38:40 +03:00
|
|
|
Copyright (c) 2004-2005 The Trustees of Indiana University.
|
|
|
|
All rights reserved.
|
|
|
|
Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
|
|
|
All rights reserved.
|
2004-11-28 23:09:25 +03:00
|
|
|
Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
University of Stuttgart. All rights reserved.
|
2004-11-22 04:38:40 +03:00
|
|
|
$COPYRIGHT$
|
|
|
|
|
|
|
|
Additional copyrights may follow
|
|
|
|
|
2004-11-22 03:37:56 +03:00
|
|
|
$HEADER$
|
|
|
|
|
2004-07-07 19:58:55 +04:00
|
|
|
If you have checked out a DEVELOPER'S COPY of Open MPI (i.e., you
|
|
|
|
checked out from subversion), you must first run:
|
2004-05-12 09:00:53 +04:00
|
|
|
|
2004-07-07 19:58:55 +04:00
|
|
|
shell$ ./autogen.sh
|
2004-05-12 09:00:53 +04:00
|
|
|
|
2004-07-07 19:58:55 +04:00
|
|
|
You will need very recent versions of GNU Autoconf, Automake, and
|
|
|
|
Libtool. If autogen.sh fails, read the HACKING file.
|
2004-05-12 09:00:53 +04:00
|
|
|
|
2004-07-07 19:58:55 +04:00
|
|
|
Everyone must run "configure" and "make" to build Open MPI. Execute
|
|
|
|
the following commands to install the Open MPI system from within
|
|
|
|
the directory at the top of the tree:
|
2004-05-12 09:00:53 +04:00
|
|
|
|
2004-07-07 19:58:55 +04:00
|
|
|
shell$ ./configure --prefix=/where/to/install
|
|
|
|
shell$ make all install
|
2004-05-12 09:00:53 +04:00
|
|
|
|
2004-08-05 02:25:47 +04:00
|
|
|
--> NOTE:
|
|
|
|
If a user is going to do a parallel build, they should just use
|
|
|
|
make -j 8 install
|
|
|
|
|
|
|
|
make -j 8 all install
|
|
|
|
it will build and only install the /include directory.
|
|
|
|
if you re-run "make -j 8 all install" again, then all the proper files and
|
|
|
|
directories will be installed.
|
|
|
|
|
2004-07-07 19:58:55 +04:00
|
|
|
To compile an MPI program:
|
2004-05-12 09:00:53 +04:00
|
|
|
|
2004-07-07 19:58:55 +04:00
|
|
|
C programs: mpicc your-code.c
|
|
|
|
C++ programs: mpiCC your-code.cc or
|
|
|
|
mpic++ your-code.cc (for case-insensitive filesystems)
|
|
|
|
F77 programs: mpif77 your-code.f
|
2004-07-01 23:46:39 +04:00
|
|
|
|
2004-07-07 19:58:55 +04:00
|
|
|
We do not yet have a proper mpirun program. There is a script in
|
|
|
|
src/mpirun/mpirun that uses ssh to start individual MPI processes
|
|
|
|
(along with a bunch of associated environment variables); it will
|
|
|
|
eventually be replaced with a real mpirun command.
|