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

Kenneth Wolcott kennethwolcott at gmail.com
Sat Mar 2 04:35:19 UTC 2024


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 <kennethwolcott at 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 <kennethwolcott at 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
> >   /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 <jmr at 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  <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./
> > >


More information about the macports-users mailing list