Commit 5693080d authored by Philip Carns's avatar Philip Carns

bug fixes and install documentation updates for --with-zlib-for-mpi

option


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@29 3b7491f3-a168-0410-bf4b-c445ed680a29
parent 76ad5182
...@@ -6,18 +6,10 @@ export PREFIX=/home/carns/demo/install ...@@ -6,18 +6,10 @@ export PREFIX=/home/carns/demo/install
export LOGPATH=/home/carns/demo export LOGPATH=/home/carns/demo
# configuring, compiling, and installing darshan # configuring, compiling, and installing darshan
./configure --with-mem-align=16 --with-log-path=$LOGPATH --prefix=$PREFIX CFLAGS="-O2" ./configure --with-mem-align=16 --with-log-path=$LOGPATH --prefix=$PREFIX --with-zlib-for-mpi=/soft/apps/zlib-1.2.3/ CFLAGS="-O2"
make make
make install make install
# configuring, compiling, and installing libz for compute nodes
cd extern
tar -vxzf zlib-1.2.3.tar.gz
cd zlib-1.2.3
CC=/bgsys/drivers/ppcfloor/gnu-linux/bin/powerpc-bgp-linux-gcc CFLAGS="-O2" ./configure
make
cp libz.a $PREFIX/lib/
Explanation of configure arguments: Explanation of configure arguments:
-------------------- --------------------
...@@ -31,6 +23,9 @@ installed. ...@@ -31,6 +23,9 @@ installed.
building for; 16 is an interesting value on BG/P because that is the optimal building for; 16 is an interesting value on BG/P because that is the optimal
alignment for tree network communication. alignment for tree network communication.
--with-zlib-for-mpi (optional): path to a zlib build that is cross compiled
for use with mpi processes
Setting up the log directory Setting up the log directory
---------------------------- ----------------------------
...@@ -69,4 +64,16 @@ contains the output from darshan-parser. That perl script will generate ...@@ -69,4 +64,16 @@ contains the output from darshan-parser. That perl script will generate
a summary.pdf file with some graphs in it. You will need pdflatex and a summary.pdf file with some graphs in it. You will need pdflatex and
a version of gnuplot with pdf support to use it. a version of gnuplot with pdf support to use it.
compiling libz for the compute nodes
-------------------------------------
NOTE: This is not necessary (there is a libz build already available for
compute nodes). The instructions are included for archival purposes.
cd extern
tar -vxzf zlib-1.2.3.tar.gz
cd zlib-1.2.3
CC=/bgsys/drivers/ppcfloor/gnu-linux/bin/powerpc-bgp-linux-gcc CFLAGS="-O2" ./configure
make
cp libz.a $PREFIX/lib/
This diff is collapsed.
...@@ -45,7 +45,7 @@ AC_ARG_WITH(zlib-for-mpi, ...@@ -45,7 +45,7 @@ AC_ARG_WITH(zlib-for-mpi,
if test x$withval = xyes; then if test x$withval = xyes; then
AC_MSG_ERROR(--with-zlib-for-mpi must be given a path argument) AC_MSG_ERROR(--with-zlib-for-mpi must be given a path argument)
else else
__CP_ZLIB_LINK_FLAGS="-L ${withval}/lib" __CP_ZLIB_LINK_FLAGS="-L${withval}/lib"
__CP_ZLIB_INCLUDE_FLAGS="-I ${withval}/include" __CP_ZLIB_INCLUDE_FLAGS="-I ${withval}/include"
fi fi
) )
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
/* Define to the version of this package. */ /* Define to the version of this package. */
#undef PACKAGE_VERSION #undef PACKAGE_VERSION
/* The size of `long int', as computed by sizeof. */ /* The size of a `long int', as computed by sizeof. */
#undef SIZEOF_LONG_INT #undef SIZEOF_LONG_INT
/* Define to 1 if you have the ANSI C header files. */ /* Define to 1 if you have the ANSI C header files. */
......
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