Commit 7e0e4d70 authored by balaji's avatar balaji
Browse files

Fixes to documentation about MPI_FLAGS_EMPTY.

parent e2416380
......@@ -354,10 +354,10 @@ optimization flag by default. If you want to build the MPICH2 library
with a specific optimization level, set the environment variable
CFLAGS to that level before running configure. If you do not want this
CFLAGS value to be included in the mpicc script, set the environment
variable MPI_CFLAGS to MPI_CFLAGS_EMPTY. For example, to build a
variable MPI_CFLAGS to MPI_FLAGS_EMPTY. For example, to build a
"production" MPICH2 in a GNU environment, you may want to do:
setenv CFLAGS -O3
setenv MPI_CFLAGS MPI_CFLAGS_EMPTY
setenv MPI_CFLAGS MPI_FLAGS_EMPTY
before running configure. This will cause the MPICH2 library to be
built with -O3, but -O3 will not be included in the mpicc script.
......
......@@ -488,11 +488,11 @@ optimization flag by default. If you want to build the MPICH2 library
with a specific optimization level, set the environment variable
\texttt{CFLAGS} to that level before running configure. If you do not want this
\texttt{CFLAGS} value to be included in the mpicc script, set the environment
variable \texttt{MPI\_CFLAGS} to \texttt{MPI\_CFLAGS\_EMPTY}. For example, to build a
variable \texttt{MPI\_CFLAGS} to \texttt{MPI\_FLAGS\_EMPTY}. For example, to build a
``production'' MPICH2 in a GNU environment, you may want to do:
\begin{verbatim}
setenv CFLAGS -O3
setenv MPI_CFLAGS MPI_CFLAGS_EMPTY
setenv MPI_CFLAGS MPI_FLAGS_EMPTY
\end{verbatim}
before running configure. This will cause the MPICH2 library to be
built with -O3, but -O3 will not be included in the mpicc script.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment