On Jan 14, 2010, at 11:22 AM, von Tycowicz, Christoph wrote:
> I just compiled the most recent version of the GNU compilers (4.4.2).
> It turned out that running the configure script succeeds providing:
> ./configure --prefix=/opt/openmpi F77=/opt/gcc/lib/gcc4.4/bin/gfortran
> FC=/opt/gcc/lib/gcc
Hi,
I just compiled the most recent version of the GNU compilers (4.4.2).
It turned out that running the configure script succeeds providing:
./configure --prefix=/opt/openmpi F77=/opt/gcc/lib/gcc4.4/bin/gfortran
FC=/opt/gcc/lib/gcc4.4/bin/gfortran
Note that I did not changed the c/c++ compiler
Christoph,
It looks like you need to add -L/usr/local/lib to the fortran and f90
flags, either on the configure input or in the environment variables,
so that the loader can find libgfortran.
Doug
On Jan 13, 2010, at 4:09 PM, von Tycowicz, Christoph wrote:
Hi,
when running the configure
Hi,
when running the configure script it breaks with:
configure: error: Could not run a simple Fortran 77 program. Aborting.
(logs with details attached)
I don't know how to interpret this error since I already successfully compiled
fortran code using these compilers(gcc/gfortran 4.5).
If would