It is impossible to get algebraic multigrid support on mac

Bug #732102 reported by Sergey Alyaev
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Harish Narayanan

Bug Description

This is a branch that somehow popped up during the discussion of the bug at

It is really crucial for performance and usability of FEniCS to be able to use state-of-the-art linear algebra tools.
So far it says that PETSc is compiled without multigrid support.

It seems that on Mac OS X dorsal installs "petsccore" vs on linux it is fully functional "petsc".
Trilinos is not installed as well but is not installed on linux either. I am not sure which functionality it provides.

Changed in dorsal:
status: New → Confirmed
assignee: nobody → Andre Massing (massing)
Changed in dorsal:
importance: Undecided → Medium
Revision history for this message
Johannes Ring (johannr) wrote :

A simple solution to this problem is to install the prebuilt gfortran binaries located at

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.

Revision history for this message
Sergey Alyaev (cobxo3bot) wrote :

What functionality does Trilinos provide?

Revision history for this message
Johannes Ring (johannr) wrote :

Trilinos is one of the la backends supported by DOLFIN.

Revision history for this message
Johannes Ring (johannr) wrote :

I forgot to say that one also has to set Dorsal to build OpenMPI before switching from "petsccore" to "petsc". That is, put "openmpi" (without the quotes) at the top of the list of packages in the platform file.

Changed in dorsal:
status: Confirmed → Fix Committed
assignee: Andre Massing (massing) → Harish Narayanan (hnarayanan)
milestone: none → 1.0
Changed in dorsal:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers