hpc gfortran

Chris Jones jonesc at hep.phy.cam.ac.uk
Mon Mar 25 16:37:45 PDT 2013


On 25 Mar 2013, at 10:58pm, Sean Farley <sean at macports.org> wrote:

> 
> Chris Jones writes:
> 
>>>> What do you mean by this exactly? What is the problem with e.g.
>>>> 
>>>> depends_build port:gcc47
>>>> configure.fc ${prefix}/bin/gfortran-mp-4.7
>>>> ?
>>> 
>>> Then what does configure.fc get set to in the +clang variant?
>> 
>> Why would you provide a +clang variant in the case of a port that has to use fortran ? Just blacklist any compiler other than a MacPorts gcc compiler, that has gfortran. Or am I missing something.
> 
> 1) Because any port that relies on mpi will get a version of mpicc that is
> built with clang and has no corresponding fortran compiler.
> 
> 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.
> 
> 3) If you have a port that depends on boost and fortran, then with your
> suggestion there will be ABI issues with the C++ libraries.

I mis understood your example. I thought you said you had ports that *only* used fortran.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2030 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20130325/3ca875d0/attachment.p7s>


More information about the macports-dev mailing list