Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] configure: error: Could not run a simple Fortran program. Aborting.
From: Raiden Hasegawa (raiden.hasegawa_at_[hidden])
Date: 2013-12-01 08:51:42


Hi All, new to the list here. I'm running into an error while trying to
configure:

shell$ ./configure --prefix=/usr/local/Cellar/open-mpi/1.7.3
--disable-silent-rules --enable-ipv6

Here is a blurb from the config.log (which I have attached as well):

configure:29606: checking if Fortran compiler works
configure:29635: /usr/local/bin/gfortran -o conftest conftest.f >&5
Undefined symbols for architecture x86_64:
  "__gfortran_set_options", referenced from:
      _main in cccSAmNO.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
configure:29635: $? = 1
configure: program exited with status 1
configure: failed program was:
| program main
|
| end
configure:29651: result: no
configure:29665: error: Could not run a simple Fortran program. Aborting.

I have tested my gfortran compiler on some simple "Hello World" programs
and it works just fine. I am having trouble diagnosing the problem and any
and all help would be appreciated. Here are my specs:

mac os x 10.8.4
gcc and gfortran 4.8.2 (both installed using homebrew)
open-mpi 1.7.3

Best,

Raiden