The Tsonny Blog

Browse blog archive by month

Installing Libmesh on OSX (Leopard) October 24, 2008

This is a short post describing how to install libmesh and the whole dependencies behind it from scratch on Mac OSX (Intel). With Libmesh we will install the following packages: OpenMPI (needed since the OSX built-in MPI does not have Fortran support), PETSc and Trilinos.

Install g77

OS X does not natively come with a Fortran compiler. I would just install the one provided on http://hpc.sourceforge.net/, which is a binary that can be extracted right into /usr/.

UPDATE: For Snow Leopard, the provided g77 does not work (it is only compiled for Leopard at the time of this writing). I had success, however, by simply using the provided gfortran Snow Leopard binary on the same ...