We actually do not have profiling versions of the MPI_Wtick and
MPI_Wtime functions -- the MPI standard says that we don't have to
(indeed, in Open MPI, they're inline functions in mpi.h).
I just built the PETSc tests last week with no problem, however (but on
Linux, not OSX). Can you send more specific information about how you
built PETSc so that I can try to replicate the problem?
Charles Williams wrote:
I'm sorry about my previous post. It turns out that was an experiment
of mine where I created a dynamic library for libmpi_f90, which doesn't
happen normally. My test example now runs, but I still have problems
with PETSc:
make test
Running test examples to verify correct installation
/Users/willic3/geoframe/tools/petsc/src/snes/examples/tutorials
--------------Error detected during compile or link!-----------------------
See http://www.mcs.anl.gov/petsc/petsc-2/documentation/troubleshooting.html
mpic++ -c -Wall -g3 -fPIC
-I/PETSc3/geodynamics/PetscSimulationsViewers/src
-I/Users/willic3/geoframe/tools/petsc
-I/Users/willic3/geoframe/tools/petsc/bmake/darwin8.2.0-openmpi-opt
-I/Users/willic3/geoframe/tools/petsc/include
-I/Users/willic3/geoframe/tools/openmpi/include
-D__SDIR__="src/snes/examples/tutorials/" ex19.c
mpic++ -Wall -g3 -o ex19 ex19.o
-L/Users/willic3/geoframe/tools/petsc/lib/darwin8.2.0-openmpi-opt
-L/Users/willic3/geoframe/tools/petsc/lib/darwin8.2.0-openmpi-opt
-lpetscsnes -lpetscksp -lpetscdm -lpetscmat -lpetscvec -lpetsc
-L/usr/X11R6/lib -lX11
/System/Library/Frameworks/vecLib.framework/vecLib
-L/Users/willic3/geoframe/tools/openmpi/lib
-L/Users/willic3/geoframe/export/pythia-0.8/lib
-L/Users/willic3/geoframe/tools/lib
-L/usr/lib/gcc/powerpc-apple-darwin8/4.0.0
-L/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../.. -ldl -lmpi -lorte
-lopal -lgcc_eh -lSystemStubs -lmx -lSystem -lf95 -lm
-L/sw/bin/../lib/gcc-lib/powerpc-apple-darwin8/4.0.2/
-L/sw/bin/../lib/gcc-lib/powerpc-apple-darwin8/4.0.2
-L/Users/willic3/geoframe/export/pythia-0.8/lib//
-L/Users/willic3/geoframe/tools/lib//
-L/Users/willic3/geoframe/tools/openmpi/lib//
-L/sw/lib/gcc-lib/powerpc-apple-darwin8/4.0.2/ -L/usr/lib/gcc//
-L/sw/bin/../lib/gcc-lib/powerpc-apple-darwin8/4.0.2///
-L/sw/lib/gcc-lib/powerpc-apple-darwin8/4.0.2/// -L/usr/lib// -lm
-L/Users/willic3/geoframe/tools/openmpi/lib
-L/Users/willic3/geoframe/export/pythia-0.8/lib
-L/Users/willic3/geoframe/tools/lib
-L/usr/lib/gcc/powerpc-apple-darwin8/4.0.0
-L/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../.. -ldl -lmpi -lorte
-lopal -lgcc_eh -lSystemStubs -lmx -lSystem -lmpi_cxx -lstdc++ -lgcc_s
-L/Users/willic3/geoframe/tools/openmpi/lib
-L/Users/willic3/geoframe/export/pythia-0.8/lib
-L/Users/willic3/geoframe/tools/lib
-L/usr/lib/gcc/powerpc-apple-darwin8/4.0.0
-L/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../.. -ldl -lmpi -lorte
-lopal -lgcc_eh -lSystemStubs -lmx -lSystem -lmpi_cxx -lstdc++ -lgcc_s
-L/Users/willic3/geoframe/tools/openmpi/lib
-L/Users/willic3/geoframe/export/pythia-0.8/lib
-L/Users/willic3/geoframe/tools/lib
-L/usr/lib/gcc/powerpc-apple-darwin8/4.0.0
-L/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../.. -ldl -lmpi -lorte
-lopal -lgcc_eh -lSystemStubs -lmx -lSystem -ldl
/usr/bin/ld: Undefined symbols:
_pmpi_wtick__
_pmpi_wtime__
collect2: ld returned 1 exit status
make[2]: [ex19] Error 1 (ignored)
etc., etc.
Does anyone have any ideas?
Thanks,
Charles
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: will...@rpi.edu <mailto:will...@rpi.edu>
------------------------------------------------------------------------
_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users
--
{+} Jeff Squyres
{+} The Open MPI Project
{+} http://www.open-mpi.org/