Hypre
From UF HPC Wiki
Manuals
Installation
The hypre package libraries were built using the Intel compilers with the MKL and OpenMPI libraries.
The libraries are located here:
| Architecture | Location |
|---|---|
| ia64 | /apps/hypre/200/lib/ia64 |
| em64t | /apps/hypre/200/lib/em64t |
Building the HYPRE Libraries
Set your MPI environment with mpi-selector. I used OpenMPI 1.2.6 (e.g. mpi-selector --set openmpi_intel-1.2.6).
Set the appropriate C, C++, F90, and F77 compilers for the configure script.
export CC=mpicc export CXX=mpiCC export FC=mpif90 export F77=mpif77
Run the following configure command (note that I used the intel-compiled versions of the ACML for BLAS and LAPack).
./configure \ --with-MPI \ --with-examples \ --with-blas-libs=acml \ --with-blas-lib-dirs=/opt/intel/acml/360/ifort64/lib \ --with-lapack-libs=acml \ --with-lapack-lib-dirs=/opt/intel/acml/360/ifort64/lib
For all of the examples and tests to build correctly (i.e. without compilation or linkage errors) you must modify several macros in the config/Makefile.config file with the following values. You should do this ""after"" running configure but before running ""make"".
LDFLAGS = -Wl,-rpath -Wl,/opt/intel/acml/360/ifort64/lib LDLIBS = -lacml -lacml_mv LDLIBDIRS = -L/opt/intel/acml/360/ifort64/lib FLIBS = -L/usr/mpi/intel/openmpi-1.2.6-1/lib64 -lmpi_f77 -lmpi -lopen-rte -lopen-pal -ldl -lnsl -lutil -L/opt/intel/fce/9.1.037/lib -lsvml -lifport -lifcoremt -limf -lm -lipgo -lirc -lpthread -lgcc_s -lirc_s
Once the above steps are complete, simply running ""make"" should produce the libraries and most of the examples/tests. However, not all of them build for one reason or another. Whether that was the intent of the developers or not, I don't know. Running ""make <target>"" in a particular test directory will normally result in a successful build of the desired target.
