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


Reply via email to