This will install gfortran into /usr/local/gfortran with a symlink /usr/local/bin/gfortran to the gfortran binary. One can then replace "petsccore" with "petsc" in the platform file for Snow Leopard to get PETSc with all the goodies (Hypre, MUMPS, etc.).
I also have a patch for building Trilinos on Mac (if anyone is interested), but I get errors when running DOLFIN with this.
A simple solution to this problem is to install the prebuilt gfortran binaries located at
http:// gcc.gnu. org/wiki/ GFortranBinarie s#MacOS
This will install gfortran into /usr/local/gfortran with a symlink /usr/local/ bin/gfortran to the gfortran binary. One can then replace "petsccore" with "petsc" in the platform file for Snow Leopard to get PETSc with all the goodies (Hypre, MUMPS, etc.).
I also have a patch for building Trilinos on Mac (if anyone is interested), but I get errors when running DOLFIN with this.