INSTALL: minor refresh of text
Этот коммит содержится в:
родитель
3d46850c4d
Коммит
b6ec0348e4
19
INSTALL
19
INSTALL
@ -8,7 +8,7 @@ Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|||||||
University of Stuttgart. All rights reserved.
|
University of Stuttgart. All rights reserved.
|
||||||
Copyright (c) 2004-2005 The Regents of the University of California.
|
Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
Copyright (c) 2008-2014 Cisco Systems, Inc. All rights reserved.
|
Copyright (c) 2008-2015 Cisco Systems, Inc. All rights reserved.
|
||||||
$COPYRIGHT$
|
$COPYRIGHT$
|
||||||
|
|
||||||
Additional copyrights may follow
|
Additional copyrights may follow
|
||||||
@ -65,7 +65,7 @@ require additional command ling flags when running configure. See the
|
|||||||
README file for more details. Note that VPATH builds are fully
|
README file for more details. Note that VPATH builds are fully
|
||||||
supported. For example:
|
supported. For example:
|
||||||
|
|
||||||
shell$ gtar zxf openmpi-X.Y.Z.tar.gz
|
shell$ tar xf openmpi-X.Y.Z.tar.gz
|
||||||
shell$ cd openmpi-X.Y.Z
|
shell$ cd openmpi-X.Y.Z
|
||||||
shell$ mkdir build
|
shell$ mkdir build
|
||||||
shell$ cd build
|
shell$ cd build
|
||||||
@ -81,9 +81,9 @@ shell$ make -j 4 all
|
|||||||
[...lots of output...]
|
[...lots of output...]
|
||||||
shell$ make install
|
shell$ make install
|
||||||
|
|
||||||
Parallel make is generally only helpful in the build phase; the
|
Parallel make is generally only helpful in the build phase (i.e.,
|
||||||
installation process is mostly serial and does not benefit much from
|
"make all"); the installation process (i.e., "make install") is mostly
|
||||||
parallel make.
|
serial and does not benefit much from parallelization.
|
||||||
|
|
||||||
|
|
||||||
Compiling MPI Applications
|
Compiling MPI Applications
|
||||||
@ -92,11 +92,10 @@ Compiling MPI Applications
|
|||||||
MPI applications should be compiled using the Open MPI "wrapper"
|
MPI applications should be compiled using the Open MPI "wrapper"
|
||||||
compilers:
|
compilers:
|
||||||
|
|
||||||
C programs: mpicc your-code.c
|
C programs: mpicc your-code.c
|
||||||
C++ programs: mpiCC your-code.cc or
|
C++ programs: mpiCC your-code.cc or
|
||||||
mpic++ your-code.cc (for case-insensitive filesystems)
|
mpic++ your-code.cc (for case-insensitive filesystems)
|
||||||
F77 programs: mpif77 your-code.f
|
Fortran programs: mpifort your-code.f90
|
||||||
F90 programs: mpif90 your-code.f90
|
|
||||||
|
|
||||||
These compilers simply add various command line flags (such as -lmpi)
|
These compilers simply add various command line flags (such as -lmpi)
|
||||||
and invoke a back-end compiler; they are not compilers in themselves.
|
and invoke a back-end compiler; they are not compilers in themselves.
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user