This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: gfortran on macs
- From: FX Coudert <fxcoudert at gmail dot com>
- To: Brian Barnes <bcbarnes at artsci dot wustl dot edu>
- Cc: Brooks Moses <bmoses at stanford dot edu>, fortran at gcc dot gnu dot org
- Date: Fri, 27 Jul 2007 07:15:10 +0100
- Subject: Re: gfortran on macs
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=h4PPU45W8ZjGX7bzgROPaE7XOt0h/ZeUYSXE5KsOTeVNIc8BauTpYGR/cMX2RTDpa27CTKs/ExKv0KzS0BgLyVNLLQnf/yaMZ7vHuygc5OR9qHu8YPNCZDcxEnTwUk+BmNsSCqiHTa91GIYN45prIvnYxaCizGwUkS0sf/HndoQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=E2LikQSNGu3gbeUUJgQWt5kj3zqbpiiDLQ0eL4WvdSxPmqyC9GrBZkPWH+UR9Md/Vtjqbn7fKTCxO0IFEydK0u67r2LSKP+Cch5w3cWF9HPpsZQYt9dxr5C227Q+dIl92zKumGnMm+MN2HB6BhP7uON1XWDwL3DK8FkMiAeqLA0=
- References: <4.3.1.2.20070723145324.026c0198@cits1.stanford.edu> <Pine.GSO.4.64.0707251153090.26068@ascc2.artsci.wustl.edu>
I believe that using the GFortran 4.3 binary package should work
fine with a system GCC of version 4.0 -- the GFortran package
should be set up so as not to interfere with the system library at
all. But that's an educated guess
And it's a good guess. There should be no conflict at all.
Thanks for the reply, Brooks. I tried the gfortran 4.3 binary
package on the official wiki / website. Unfortunately, it failed
to complete the install. I noticed that it installed many
(possibly all) of its files in /usr/local/gfortran as expected, but
failed to create /usr/bin/gfortran. There may have been other
problems with the install, but I didn't see a log or error message.
I think it failed to create the symlink in /usr/local/bin/gfortran
to /usr/local/gfortran/bin/gfortran. I changed the installer script
accordingly, this shouldn't happen any more in the future.
I think (but I'm not sure) that you'll need to install GMP and
MPFR in order to use the binary package, as well. I don't know
the download links offhand, but Google will find them easily.
No, there's no need to do that when using the installer. (The GMP and
MPFR libraries are already linked in statically, as I believe we
should do for all the binaries we provide, if it's not already the
case.)
I tested the gfotran 4.2.1 install using our group's molecular
dynamics code (which is mostly F77, but is a numerically strong
test) and everything works. :)
Yeah, so I know this is a bit of a tangent from the normal
development talk here, but I hope some people find it helpful.
Thank you, and good luck with the work on 4.3!
Feedback is always welcome!
FX