Gfortran
From charlesreid1
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
Installing OpenMPI...
Configure throws this error:
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)
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".
I fixed the problem by adding -arch x86_64 to the C and Fortran compiler flags.