Friday, July 16, 2010

Compiling Hypre on Mac OSX

Hypre is a library for solving large, sparse linear systems of equations on massively parallel computers. You can download it from here. Here's my configuration on Mac OSX
./configure --prefix=/Users/USERNAME/pkg/hypre-2.6.0b-install\
--with-MPI-include=/Users/USERNAME/pkg/openmpi-1.4.2-install/include\
--with-MPI-lib-dirs=/Users/USERNAME/pkg/openmpi-1.4.2-install/lib\
CC='gcc -arch x86_64' CXX='g++ -arch x86_64' F77='gfortran -arch x86_64'
then
make
make install
Make sure you download and install this version of gfortran. See also Compiling OpenMPI on MacOSX.

Cite as:
Saad, T. "Compiling Hypre on Mac OSX". Weblog entry from Please Make A Note. http://pleasemakeanote.blogspot.com/2010/07/compiling-hypre-on-mac-osx.html

No comments:

Post a Comment