On 02/03/2024 4:43 am, Dave Allured - NOAA Affiliate via macports-users
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 versions installed
side by side, if you wish. For convenience, I usually sym link
"gfortran" to the latest MP version.
You should not sym link manually yourself. That is precisely what `sudo
port select gcc` is there for ....
On Fri, Mar 1, 2024 at 9:35 PM Kenneth Wolcott <kennethwolc...@gmail.com
<mailto:kennethwolc...@gmail.com>> 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
gfortran-mp-13
lfortran
On Fri, Mar 1, 2024 at 8:28 PM Kenneth Wolcott
<kennethwolc...@gmail.com <mailto:kennethwolc...@gmail.com>> wrote:
>
> 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
<kennethwolc...@gmail.com <mailto:kennethwolc...@gmail.com>> wrote:
> >
> > 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
> > /opt/local/share/info/gfortran-mp-13.info
<http://gfortran-mp-13.info>
> > /opt/local/share/man/man1/gfortran-mp-13.1.gz
> > ~:
> >
> > But "ls /usr/local/bin | grep -i fortran"
> >
> > Has no output. ??!!
> >
> > Thanks,
> > Ken W.
> >
> > On Fri, Mar 1, 2024 at 7:19 PM Joshua Root <j...@macports.org
<mailto:j...@macports.org>> wrote:
> > >
> > > 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)
> > > > gcc12-libcxx @12.3.0_4+clang14 (active)
> > > > gcc13 @13.2.0_4+stdlib_flag (active)
> > > > gcc13-libcxx @13.2.0_4+clang16 (active)
> > > > gcc_select @0.1_10 (active)
> > > > libgcc @7.0_0 (active)
> > > > libgcc12 @12.3.0_4+stdlib_flag (active)
> > > > libgcc13 @13.2.0_4+stdlib_flag (active)
> > > > mpich-default @4.1.2_2+gcc13 (active)
> > > >
> > > > Still confused...
> > > >
> > > > Thanks,
> > > > Ken W.
> > > >
> > > > On Fri, Mar 1, 2024 at 6:03 PM Bernstein, Noam CIV USN NRL
WASHINGTON
> > > > DC (USA) <noam.bernstein.civ at us.navy.mil
<http://us.navy.mil>
<https://lists.macports.org/mailman/listinfo/macports-users
<https://lists.macports.org/mailman/listinfo/macports-users>>> wrote:
> > > > >//>/Pretty sure that macports gcc installs gfortran by
default, which is
> > > > a f90 (and 95, and maybe f2003) compiler./
> > >