Re: is there a Fortran-90 compiler port? Where to get a FOSS Fortran-90 compiler?

2024-03-01 Thread Joshua Root
Yes. Or as Eric suggested, you can use 'port select' to create a 'gfortran' link. - Josh On 2/3/2024 15:35, Kenneth Wolcott wrote: Should I be using gfortran-mp-13? ls /opt/local/bin | grep fortran arm64-apple-darwin23-gfortran-mp-12 arm64-apple-darwin23-gfortran-mp-13 gfortran-mp-12

Re: is there a Fortran-90 compiler port? Where to get a FOSS Fortran-90 compiler?

2024-03-01 Thread Kenneth Wolcott
Ah!!! Thank you. On Fri, Mar 1, 2024 at 8:43 PM Dave Allured - NOAA Affiliate wrote: > > Yes, that is it. Macports implementation decided to decorate the name of the > executable. There is no naked "gfortran". It is gfortran-mp-12, > gfortran-mp-13, etc. This way you can have multiple

Re: is there a Fortran-90 compiler port? Where to get a FOSS Fortran-90 compiler?

2024-03-01 Thread Dave Allured - NOAA Affiliate via macports-users
Yes, that is it. Macports implementation decided to decorate the name of the executable. There is no naked "gfortran". It is gfortran-mp-12, gfortran-mp-13, etc. This way you can have multiple versions installed side by side, if you wish. For convenience, I usually sym link "gfortran" to the

Re: is there a Fortran-90 compiler port? Where to get a FOSS Fortran-90 compiler?

2024-03-01 Thread Kenneth Wolcott
Should I be using gfortran-mp-13? ls /opt/local/bin | grep fortran arm64-apple-darwin23-gfortran-mp-12 arm64-apple-darwin23-gfortran-mp-13 gfortran-mp-12 gfortran-mp-13 lfortran On Fri, Mar 1, 2024 at 8:28 PM Kenneth Wolcott wrote: > > I do have a GNAT Ada compiler located at: > >

Re: is there a Fortran-90 compiler port? Where to get a FOSS Fortran-90 compiler?

2024-03-01 Thread Kenneth Wolcott
I do have a GNAT Ada compiler located at: /opt/gcc-13.2.0-aarch64 Does the existence of this confuse or mislead MacPorts? Thanks, Ken W. On Fri, Mar 1, 2024 at 8:24 PM Kenneth Wolcott wrote: > > Hi Joshua; > > port contents gcc13 | grep gfortran >

Re: is there a Fortran-90 compiler port? Where to get a FOSS Fortran-90 compiler?

2024-03-01 Thread Kenneth Wolcott
Hi Joshua; port contents gcc13 | grep gfortran /opt/local/bin/arm64-apple-darwin23-gfortran-mp-13 /opt/local/bin/gfortran-mp-13 /opt/local/lib/gcc13/libgfortran.5.dylib /opt/local/lib/gcc13/libgfortran.a /opt/local/lib/gcc13/libgfortran.dylib /opt/local/lib/gcc13/libgfortran.spec

Re: is there a Fortran-90 compiler port? Where to get a FOSS Fortran-90 compiler?

2024-03-01 Thread Joshua Root
Are you sure of that? Check e.g. 'port contents gcc13 | grep gfortran'. - Josh Kenneth Wolcott wrote: Hi Noam; I do not have gfortran, therefore I must not have gcc? Here is a filtered list of the ports that I have installed that pertain to gcc: gcc12 @12.3.0_4+stdlib_flag (active)

Re: is there a Fortran-90 compiler port? Where to get a FOSS Fortran-90 compiler?

2024-03-01 Thread Eric Gallager via macports-users
You might need to do `port select gcc` to make one of them the default On Fri, Mar 1, 2024 at 9:20 PM Kenneth Wolcott wrote: > > Hi Noam; > > I do not have gfortran, therefore I must not have gcc? > > Here is a filtered list of the ports that I have installed that pertain to > gcc: > gcc12

Re: is there a Fortran-90 compiler port? Where to get a FOSS Fortran-90 compiler?

2024-03-01 Thread Kenneth Wolcott
Hi Noam; I do not have gfortran, therefore I must not have gcc? Here is a filtered list of the ports that I have installed that pertain to gcc: gcc12 @12.3.0_4+stdlib_flag (active) gcc12-libcxx @12.3.0_4+clang14 (active) gcc13 @13.2.0_4+stdlib_flag (active) gcc13-libcxx

is there a Fortran-90 compiler port? Where to get a FOSS Fortran-90 compiler?

2024-03-01 Thread Kenneth Wolcott
Hi; I have lfortran and fort77 ports installed, but neither of those can handle Fortran-90. I thought that having gcc installed would automatically give me a gfortran, but apparently not. Is this somehow available under clang? Is there a FOSS Fortran-90 compiler that I can install?