hpc gfortran

Sean Farley sean at macports.org
Wed Mar 27 12:25:13 PDT 2013


Vincent Habchi writes:

> 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.

Thanks for the tip, I'll have a look.


More information about the macports-dev mailing list