On Tue, Jul 28, 2009 at 6:19 PM, Ted Kord<[email protected]> wrote: > Hi > > I realise that this is probably trivial to most of you but I'd appreciate it > if you could help me out. > > My systems Ubuntu 9.04. Installed libmesh, petsc, etc from the repository. > Tried to compile the examples and this is what I get: > > /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libmesh.so: undefined > reference to `MPI::Win::Set_errhandler(MPI::Errhandler const&)' > /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libmesh.so: undefined > reference to `MPI::Comm::Set_errhandler(MPI::Errhandler const&)' > collect2: ld returned 1 exit status > > I've tried compiling libmesh from source, I've also installed the latest > openmpi build (1.3.3) but I still get the same result. > > I'd very much appreciate it if someone could point out how I can resolve > this.
Did you use the mpicc and mpicxx scripts when configuring libmesh? CC=mpicc CXX=mpicxx ./configure ... may help you get the right linker flags. Also, are you building with or without PETSc? -- John ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
