hpc gfortran

Vincent Habchi vince at macports.org
Wed Mar 27 11:32:11 PDT 2013


On 25 mars 2013, at 23:58, Sean Farley <sean at macports.org> wrote:

> 2) Since clang is the new default with Apple, there is great interest in
> the scientific community for building the c part with clang and the
> fortran part with gfortran.

Have a look at the “new” Portfile for atlas. If clang is chosen as a compiler, the Portfile looks for a gfortran-mp-4.* version in the ${prefix}/bin directory and select the most recent version it finds. It then pulls up the corresponding libgomp.dylib to handle OpenMPI correctly.

Vincent



More information about the macports-dev mailing list