Open MPI logo

Open MPI User's Mailing List Archives

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

From: Charles Williams (willic3_at_[hidden])
Date: 2005-10-21 12:28:05


I am testing out Open MPI on a Mac running 10.4, using the Apple gnu
compilers plus fink-installed g95. I was running into problems
building PETSc using mpif90 as my fortran compiler, so I tried a
simple test on a trivial fortran example and got the same results.
Here is what happens:

mpif90 --show
g95 -I/Users/willic3/geoframe/tools/openmpi/include -I/Users/willic3/
geoframe/tools/openmpi/include/openmpi/ompi -I /Users/willic3/
geoframe/tools/openmpi/lib -Wl,-u,_munmap -Wl,-
multiply_defined,suppress -L/Users/willic3/geoframe/tools/openmpi/lib
-lmpi_f90 -lmpi -lorte -lopal -lm -ldl
284 willic3_at_rachel>mpif90 -c -o testwrite2.o testwrite2.f
285 willic3_at_rachel>mpif90 -o testwrite2 testwrite2.o
286 willic3_at_rachel>testwrite2
dyld: Symbol not found: _pmpi_wtime__
   Referenced from: /Users/willic3/geoframe/tools/openmpi/lib/
   Expected in: dynamic lookup

Trace/BPT trap

This is similar to what happens when attempting to run a PETSc
example, but in this case there is also a _pmpi_wtick__ missing
symbol. Looking at the Open MPI libraries, I do not find a
definition for these symbols, although they are referenced in
libmpi_f90.a. The strange thing is that this problem does not occur
using a slightly-modified version of an older g95 package. The
difference between the two packages is that the older one includes
libgcc_s.dylib, while the newer version does not have any shared
libraries. The package maintainer informs me that this library
should not be necessary for g95.

Does anyone know whether this might be a g95 problem, an Open MPI
problem, or something else?

System info:

uname -a
Darwin 8.2.0 Darwin Kernel Version 8.2.0: Fri Jun
24 17:46:54 PDT 2005; root:xnu-792.2.4.obj~3/RELEASE_PPC Power
Macintosh powerpc

gcc --version
powerpc-apple-darwin8-gcc-4.0.0 (GCC) 4.0.0 (Apple Computer, Inc.
build 5026)

g++ --version
powerpc-apple-darwin8-g++-4.0.0 (GCC) 4.0.0 (Apple Computer, Inc.
build 5026)

g95 --version
G95 (GCC 4.0.2 (g95!) Oct 3 2005)


Charles A. Williams
Dept. of Earth & Environmental Sciences
Science Center, 2C01B
Rensselaer Polytechnic Institute
Troy, NY 12180
Phone: (518) 276-3369
FAX: (518) 276-2012
e-mail: willic3_at_[hidden]