From charlesreid1

(Created page with "Installed gfortran binary from here: http://gcc.gnu.org/wiki/GFortranBinaries * version for 64-bit intel processors * version for * unsuccessful at installing a fink version I...")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
Installed gfortran binary from here:
=Installation=


http://gcc.gnu.org/wiki/GFortranBinaries
==Mac Mountain Lion (OS X 10.7) and Maverick (OS X 10.8)==
* version for 64-bit intel processors
* version for
* unsuccessful at installing a fink version


Installing OpenMPI...
Same as OS X 10.6...


Configure throws this error:
Installed gfortran binary for Mac OS X from here: http://r.research.att.com/tools/


<pre>
As before, installs gfortran to <code>/usr/local/bin/gfortran</code>
configure:35860: checking if C and Fortran 77 are link compatible
configure:35910: /usr/bin/gcc -c -O3 -DNDEBUG -finline-functions -fno-strict-aliasing  conft
est_c.c
configure:35917: $? = 0
configure:35944: /usr/local/bin/gfortran -o conftest  conftest.f conftest_c.o  >&5
ld: warning: in conftest_c.o, file was built for unsupported file format which is not the architecture being linked (i386)
</pre>


Problem was twofold: first, I needed to compile 64-bit binaries iwth the C compiler, which wasn't happening, because it was trying to create an i386 binary.  Second, the fortran copmiler was producing an "unsupported file format".
==Mac Snow Leopard (OS X 10.6)==


I fixed the problem by adding -arch x86_64 to the C and Fortran compiler flags.
Same as OS X 10.5...
 
I installed the gfortran binary for Mac OS X from here: http://r.research.att.com/tools/
 
(If you pick the first download item listed under GNU Fortran compiler, it will work for this platform)
 
This installs gfortran version 4.2.3 to <code>/usr/local/bin/gfortran</code>
 
==Mac Leopard (OS X 10.5)==
 
I installed the gfortran binary for Mac OS X from here: http://r.research.att.com/tools/
 
(If you pick the first download item listed under GNU Fortran compiler, it will work for this platform)
 
This installs gfortran version 4.2.3 to <code>/usr/local/bin/gfortran</code>
 
 
 
{{Programs}}
{{Languages}}

Latest revision as of 21:37, 16 December 2013

Installation

Mac Mountain Lion (OS X 10.7) and Maverick (OS X 10.8)

Same as OS X 10.6...

Installed gfortran binary for Mac OS X from here: http://r.research.att.com/tools/

As before, installs gfortran to /usr/local/bin/gfortran

Mac Snow Leopard (OS X 10.6)

Same as OS X 10.5...

I installed the gfortran binary for Mac OS X from here: http://r.research.att.com/tools/

(If you pick the first download item listed under GNU Fortran compiler, it will work for this platform)

This installs gfortran version 4.2.3 to /usr/local/bin/gfortran

Mac Leopard (OS X 10.5)

I installed the gfortran binary for Mac OS X from here: http://r.research.att.com/tools/

(If you pick the first download item listed under GNU Fortran compiler, it will work for this platform)

This installs gfortran version 4.2.3 to /usr/local/bin/gfortran