mpicc --show
clang -I/usr/local/Cellar/open-mpi/1.10.1/include -L/usr/local/opt/libevent/lib -L/usr/local/Cellar/open-mpi/1.10.1/lib -lmpi
mpicxx --show
clang++ -I/usr/local/Cellar/open-mpi/1.10.1/include -L/usr/local/opt/libevent/lib -L/usr/local/Cellar/open-mpi/1.10.1/lib -lmpi_cxx -lmpi
mpif90 --show
--------------------------------------------------------------------------
No underlying compiler was specified in the wrapper compiler data file
(e.g., mpicc-wrapper-data.txt)
--------------------------------------------------------------------------
On 01/12/15 11:48, Justin Chang wrote:
> The issue was that homebrew's openmpi 1.10.1 does not link to any
> gfortran compiler. I rebuilt openmpi primarily to include the gcc
> fortran compiler. Though I think the cleaner way would be to modify
> the mpif90-wrapper-data.txt to ensure that the compiler points to a
> working gfortran.
Oh, weird. So I'm on El Cap, and so brew installs gcc and openmpi
from bottles. I did:
brew uninstall gcc
brew uninstall openmpi
brew install openmpi
brew install gcc
And now mpif90 -show gives:
/usr/local/bin/gfortran ...
So it's all set up correctly AFAICT.
Cheers,
Lawrence
_______________________________________________
firedrake mailing list
firedrake@imperial.ac.uk
https://mailman.ic.ac.uk/mailman/listinfo/firedrake