<div dir="ltr"><div dir="ltr">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.</div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 1, 2024 at 9:35 PM Kenneth Wolcott <<a href="mailto:kennethwolcott@gmail.com" target="_blank">kennethwolcott@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Should I be using gfortran-mp-13?<br>
<br>
ls /opt/local/bin | grep fortran<br>
arm64-apple-darwin23-gfortran-mp-12<br>
arm64-apple-darwin23-gfortran-mp-13<br>
gfortran-mp-12<br>
gfortran-mp-13<br>
lfortran<br>
<br>
On Fri, Mar 1, 2024 at 8:28 PM Kenneth Wolcott <<a href="mailto:kennethwolcott@gmail.com" target="_blank">kennethwolcott@gmail.com</a>> wrote:<br>
><br>
> I do have a GNAT Ada compiler located at:<br>
><br>
> /opt/gcc-13.2.0-aarch64<br>
><br>
> Does the existence of this confuse or mislead MacPorts?<br>
><br>
> Thanks,<br>
> Ken W.<br>
><br>
> On Fri, Mar 1, 2024 at 8:24 PM Kenneth Wolcott <<a href="mailto:kennethwolcott@gmail.com" target="_blank">kennethwolcott@gmail.com</a>> wrote:<br>
> ><br>
> > Hi Joshua;<br>
> ><br>
> > port contents gcc13 | grep gfortran<br>
> > /opt/local/bin/arm64-apple-darwin23-gfortran-mp-13<br>
> > /opt/local/bin/gfortran-mp-13<br>
> > /opt/local/lib/gcc13/libgfortran.5.dylib<br>
> > /opt/local/lib/gcc13/libgfortran.a<br>
> > /opt/local/lib/gcc13/libgfortran.dylib<br>
> > /opt/local/lib/gcc13/libgfortran.spec<br>
> > /opt/local/share/info/<a href="http://gfortran-mp-13.info" rel="noreferrer" target="_blank">gfortran-mp-13.info</a><br>
> > /opt/local/share/man/man1/gfortran-mp-13.1.gz<br>
> > ~:<br>
> ><br>
> > But "ls /usr/local/bin | grep -i fortran"<br>
> ><br>
> > Has no output. ??!!<br>
> ><br>
> > Thanks,<br>
> > Ken W.<br>
> ><br>
> > On Fri, Mar 1, 2024 at 7:19 PM Joshua Root <<a href="mailto:jmr@macports.org" target="_blank">jmr@macports.org</a>> wrote:<br>
> > ><br>
> > > Are you sure of that? Check e.g. 'port contents gcc13 | grep gfortran'.<br>
> > ><br>
> > > - Josh<br>
> > ><br>
> > > Kenneth Wolcott wrote:<br>
> > ><br>
> > > > Hi Noam;<br>
> > > ><br>
> > > > I do not have gfortran, therefore I must not have gcc?<br>
> > > ><br>
> > > > Here is a filtered list of the ports that I have installed that pertain to gcc:<br>
> > > > gcc12 @12.3.0_4+stdlib_flag (active)<br>
> > > > gcc12-libcxx @12.3.0_4+clang14 (active)<br>
> > > > gcc13 @13.2.0_4+stdlib_flag (active)<br>
> > > > gcc13-libcxx @13.2.0_4+clang16 (active)<br>
> > > > gcc_select @0.1_10 (active)<br>
> > > > libgcc @7.0_0 (active)<br>
> > > > libgcc12 @12.3.0_4+stdlib_flag (active)<br>
> > > > libgcc13 @13.2.0_4+stdlib_flag (active)<br>
> > > > mpich-default @4.1.2_2+gcc13 (active)<br>
> > > ><br>
> > > > Still confused...<br>
> > > ><br>
> > > > Thanks,<br>
> > > > Ken W.<br>
> > > ><br>
> > > > On Fri, Mar 1, 2024 at 6:03 PM Bernstein, Noam CIV USN NRL WASHINGTON<br>
> > > > DC (USA) <noam.bernstein.civ at <a href="http://us.navy.mil" rel="noreferrer" target="_blank">us.navy.mil</a> <<a href="https://lists.macports.org/mailman/listinfo/macports-users" rel="noreferrer" target="_blank">https://lists.macports.org/mailman/listinfo/macports-users</a>>> wrote:<br>
> > > > >//>/Pretty sure that macports gcc installs gfortran by default, which is<br>
> > > > a f90 (and 95, and maybe f2003) compiler./<br>
> > ><br>
</blockquote></div></div>