Hi Onno, (and others) On 01/12/15 21:51, Onno Bokhove wrote:
Hi Lawrence,
We are exactly stuck on the mpif90 issues indicated below, after I mysteriously was able to have a successful "make" of FD. But the codes did not work and Tim-IT spotted the problem: two version of python, one used by anaconda and one old version were interfering with another.
So we removed the anaconda from the root, installed one in the user directory; set the path, and at that point the first petsc installing command failed again on the point remarked below.
OK, so the issue is absolutely that the homebrew provided openmpi binary package has not been built correctly. A workaround until it is fixed upstream is the following: # Remove any existing openmpi package brew uninstall openmpi # Ensure the gcc package (including gfortran) is available brew install gcc # Build openmpi from source (this picks up the fortran compiler # and provides the correct set of wrappers) brew install --with-fortran --build-from-source openmpi On my machine, I immediately see something like the following: ==> Using Homebrew-provided fortran compiler This may be changed by setting the FC environment variable Once openmpi has been installed, the firedrake install script /should/ work: it works locally for me after this sequence of steps. Please try it and let us know. Cheers, Lawrence