summaryrefslogtreecommitdiffstats
path: root/bin/config_para_tflops.sh
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1999-09-30 17:15:06 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1999-09-30 17:15:06 (GMT)
commit5d44f23ac06c70143aa949e02ff150ec36fb3cef (patch)
tree75531b3901ecf1a7ca60c161630f5ce34747b74a /bin/config_para_tflops.sh
parentbdf0dbf7ed9a671cf915de65006ae5a5379c6941 (diff)
downloadhdf5-5d44f23ac06c70143aa949e02ff150ec36fb3cef.zip
hdf5-5d44f23ac06c70143aa949e02ff150ec36fb3cef.tar.gz
hdf5-5d44f23ac06c70143aa949e02ff150ec36fb3cef.tar.bz2
[svn-r1700] Changed names of files to better reflect their purposes.
INSTALL.ascired: Becomes INSTALL_TFLOPS. INSTALL_parallel.ascired: Becomes bin/config_para_tflops.sh INSTALL.ibm.sp.parallel: Becomes bin/config_para_ibm_sp.sh
Diffstat (limited to 'bin/config_para_tflops.sh')
-rw-r--r--bin/config_para_tflops.sh58
1 files changed, 58 insertions, 0 deletions
diff --git a/bin/config_para_tflops.sh b/bin/config_para_tflops.sh
new file mode 100644
index 0000000..7e94971
--- /dev/null
+++ b/bin/config_para_tflops.sh
@@ -0,0 +1,58 @@
+#! /bin/sh
+# How to configure a parallel version of HDF5 on the Sandia National Laboratory
+# TFLOPS System that uses MPI and MPI-IO.
+
+# Read the INSTALL_TFLOPS file to understand the configure/make process
+# for the sequential (i.e., uniprocessor) version of HDF5.
+# The process for creating the parallel version of HDF5 using MPI-IO
+# is similar, but first you will have to set up some environment variables
+# with values specific to your local installation.
+# The relevant variables are shown below, with values that work for Sandia'a
+# ASCI Red Tflops machine as of the writing of these instructions (980421).
+
+# Don't try to make a parallel version of HDF5 from the same hdf5 root
+# directory where you made a sequential version of HDF5 -- start with
+# a fresh copy.
+# Here are the flags you must set before running the ./configure program
+# to create the parallel version of HDF5.
+# (We use sh here, but of course you can adapt to whatever shell you like.)
+
+# compile for MPI jobs
+#CC=cicc
+
+# The following flags are only needed when compiling/linking a user program
+# for execution.
+#
+
+# Using the MPICH libary by Daniel Sands.
+# It contains both MPI-1 and MPI-IO functions.
+ROMIO="${HOME}/MPIO/mpich"
+if [ ! -d $ROMIO ]
+then
+ echo "ROMIO directory ($ROMIO) not found"
+ echo "Aborted"
+ exit 1
+fi
+mpi1_inc=""
+mpi1_lib=""
+mpio_inc="-I$ROMIO/include"
+mpio_lib="-L$ROMIO/lib"
+
+
+MPI_INC="$mpi1_inc $mpio_inc"
+MPI_LIB="$mpi1_lib $mpio_lib"
+
+
+# Once these variables are set to the proper values for your installation,
+# you can run the configure program (i.e., ./configure tflop --enable-parallel=mpio)
+# to set up the Makefiles, etc.
+# After configuring, run the make as described in the INSTALL file.
+
+# When compiling and linking your application, don't forget to compile with
+# cicc and link to the MPI-IO library and the parallel version of the HDF5
+# library (that was created and installed with the configure/make process).
+
+CPPFLAGS=$MPI_INC \
+LDFLAGS=$MPI_LIB \
+LIBS="-lmpich" \
+./configure --enable-parallel tflop $@