Re: [Libmesh-users] build error

2012-09-19 Thread Cory Ahrens
Hi, Reinstalling mpi did the trick...not sure what got messed up in the upgrade to 12.04 Ubuntu. Thanks again for the help. Cheers, Cory On Wed, Sep 19, 2012 at 10:08 PM, Cory Ahrens wrote: > Hi, > > Ok. Thanks for the help. I'll try our suggestions. > > Cheers, > > Cory > > > > On Wed, Sep

Re: [Libmesh-users] build error

2012-09-19 Thread Cory Ahrens
Hi, Ok. Thanks for the help. I'll try our suggestions. Cheers, Cory On Wed, Sep 19, 2012 at 10:05 PM, Roy Stogner wrote: > > On Wed, 19 Sep 2012, Cory Ahrens wrote: > > Both c++ and g++ worked fine on hello world, but mpicc gave the error >> > > Well, at least it's not a libMesh problem! :-

Re: [Libmesh-users] build error

2012-09-19 Thread Roy Stogner
On Wed, 19 Sep 2012, Cory Ahrens wrote: > Both c++ and g++ worked fine on hello world, but mpicc gave the error Well, at least it's not a libMesh problem! :-) Try tracking down and reinstalling whichever package is providing your mpicc? That's mpich-bin or openmpi-bin on Ubuntu, I presume. --

Re: [Libmesh-users] build error

2012-09-19 Thread Cory Ahrens
Hi, I finally found crt1.o also in /usr/lib/x86_64-linux-gnu Both c++ and g++ worked fine on hello world, but mpicc gave the error mpicc hw.c /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 0 has invalid symbol index 10 /usr/bin/ld: /usr/lib/debug/usr/lib/x86

Re: [Libmesh-users] build error

2012-09-19 Thread Roy Stogner
On Wed, 19 Sep 2012, Cory Ahrens wrote: > ld: cannot find /usr/lib/crt1.o: No such file or directory > > and indeed crt1.o is not there. I can't find it anywhere. "locate crt1.o" on my Ubuntu 12.04 system finds it in /usr/lib/x86_64-linux-gnu/ But forget weird system-specific stuff; if "gcc hw.

Re: [Libmesh-users] build error

2012-09-19 Thread Cory Ahrens
Hi, If I follow the steps at http://stackoverflow.com/questions/6656317/cant-link-a-c-program and I get the error ld hw.o /usr/lib/libc.so /usr/lib/crt1.o -o hw ld: cannot find /usr/lib/crt1.o: No such file or directory and indeed crt1.o is not there. I can't find it anywhere. However, if I ju

Re: [Libmesh-users] build error

2012-09-19 Thread Paul T. Bauman
Please be sure to reply-all so that others may chime in. Check out this thread: http://stackoverflow.com/questions/6656317/cant-link-a-c-program Sounds like your system might've gotten FUBAR'ed. Can you build a simple hello work program with mpicxx? ---

Re: [Libmesh-users] build error

2012-09-19 Thread Paul T. Bauman
On Wed, Sep 19, 2012 at 7:53 PM, Cory Ahrens wrote: > > I find that > > mpicxx points to /usr/bin/mpicxx.mpich2 > > Not sure where to go from here... Do an mpicxx -v and then a g++ -v and make sure they output the same compiler info.

Re: [Libmesh-users] build error

2012-09-19 Thread Paul T. Bauman
This smells like mpicxx doesn't point to the g++ that's listed below. Can you double check? On Wed, Sep 19, 2012 at 6:48 PM, Cory Ahrens wrote: > Hi, > > I updated by libmesh and tried to build it again but I get an error that > the c++ compiler won't work: > > ~/Software/libmesh$ ./configure >

[Libmesh-users] build error

2012-09-19 Thread Cory Ahrens
Hi, I updated by libmesh and tried to build it again but I get an error that the c++ compiler won't work: ~/Software/libmesh$ ./configure - --- Configuring libMesh - - checking for a sed th

Re: [Libmesh-users] [Libmesh-devel] strange error probably a bug

2012-09-19 Thread Paul T. Bauman
On Wed, Sep 19, 2012 at 2:10 PM, Cody Permann wrote: > > Paul, Roy, Are you guys interested in this small test case? I can mail > one of you guys a small tarball that demonstrates this problem. > Very much so, particularly since I seem to be doing a lot of work on the laptop lately (on OSX 10.8

Re: [Libmesh-users] strange error probably a bug

2012-09-19 Thread Cody Permann
OK, I've finally had a chance to get back to investigating these weird erros that Ata reported. Using the link he helpfully found, I was able to construct a very small test case that fails on Mountain Lion (10.8) but works fine on my Snow Leopard box (10.6). There really is a demonstrable issue w

Re: [Libmesh-users] 3-D to 2-D projection

2012-09-19 Thread David Knezevic
I'd use a MeshFunction to access the 3D solution to give you data to compute an L2 projection on the 2D mesh. On 09/19/2012 01:38 PM, Ataollah Mesgarnejad wrote: > Dear all, > > I'm looking for a way to get a projection of a 3-D system's solution on a > plane, to a 2-D system? > > Here is wha

[Libmesh-users] 3-D to 2-D projection

2012-09-19 Thread Ataollah Mesgarnejad
Dear all, I'm looking for a way to get a projection of a 3-D system's solution on a plane, to a 2-D system? Here is what's going on: I'm trying to solve elasticity in 3-D and then use that solution as a loading to solve another problem (fracture) on the reduced dimensional model of a thin-fil