2009/7/29 Kirk, Benjamin (JSC-EG311) <[email protected]>

> Coincidentally, I just installed ubuntu 9.04 on my laptop yesterday.  I'll
> see if I can do something about this.
>
>
>
> ----- Original Message -----
> From: Geordie McBain <[email protected]>
> To: Ted Kord <[email protected]>
> Cc: [email protected] <
> [email protected]>
> Sent: Tue Jul 28 19:19:09 2009
> Subject: Re: [Libmesh-users] Unable to Compile All Examples
>
> Further to that, I am able to compile examples on a Ubuntu hardy
> machine, using the libmesh0.6.0 and libmesh0.6.0-dev packages and the
> compilation commands suggested in the README.Debian:
>
> $ grep g++ /usr/share/doc/libmesh0.6.0-dev/README.Debian
> g++ -I/usr/include/libmesh -I/usr/include/mpi -I/usr/include/petsc -c
> -o ex2.o ex2.C
> g++ -o ex2 ex2.o -lmesh -lpetsc -lpetscdm -lpetscksp -lpetscmat
> -lpetscsnes -lpetscts -lpetscvec
> $ g++ -I/usr/include/libmesh -I/usr/include/mpi -I/usr/include/petsc
> -c -o ex2.o ex2.C
> $ g++ -o ex2 ex2.o -lmesh -lpetsc -lpetscdm -lpetscksp -lpetscmat
> -lpetscsnes -lpetscts -lpetscvec
>
> Then "./ex2" works fine.  These commands don't work on the Ubuntu
> jaunty x86_64 machine, nor with g++ changed to mpicxx.
>
>
> ------------------------------------------------------------------------------


All works fine now -- result!!!
I checked out the source from svn (libmesh).
Then I built the latest petsc version (3.0.0-p7).
Then built libmesh.
Everything works fine now.

Roy's probably right about the pre-built Ubuntu libmesh package(s) being
built with an incompatible openmpi library.

Thanks all.

Ted
------------------------------------------------------------------------------
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

Reply via email to