Re: [Libmesh-users] make run_examples error

2012-09-17 Thread Paul T. Bauman
I hit this as well and as best I can tell, this is due to a known (?) issue with shared libraries on os x. All other examples should run fine. Note that this doesn't occur on the automake branch. On Sep 18, 2012, at 12:43 AM, Paul Hui Sun wrote: > Without specifying any options, the problem I

Re: [Libmesh-users] make run_examples error

2012-09-17 Thread Paul Hui Sun
Without specifying any options, the problem I had didn't occur any more, the examples seem to be built all fine, until this one below. I think it might be because that I have run ./configure with some certain environmental variables before, and they were recalled somehow.

Re: [Libmesh-users] make run_examples error

2012-09-17 Thread Paul T. Bauman
On Tue, Sep 18, 2012 at 12:22 AM, Paul Hui Sun wrote: > CC=/usr/local/gfortran/bin/gccCXX=/usr/local/gfortran/bin/g++ > FC=gfortranF77=gfortran METHOD=opt > libMesh doesn't need fortran. Try just doing: ./configure and see if you can build and run the examples. If you aren't setting C

Re: [Libmesh-users] make run_examples error

2012-09-17 Thread Paul Hui Sun
CC=/usr/local/gfortran/bin/gccCXX=/usr/local/gfortran/bin/g++ FC=gfortranF77=gfortran METHOD=opt On Sep 17, 2012, at 10:13 PM, "Paul T. Bauman" wrote: > On Tue, Sep 18, 2012 at 12:03 AM, Paul Hui Sun wrote: > The list of output libraries are: > /Users/Paul/sfw/libmesh/lib/x

Re: [Libmesh-users] make run_examples error

2012-09-17 Thread Paul T. Bauman
On Tue, Sep 18, 2012 at 12:03 AM, Paul Hui Sun wrote: > The list of output libraries are: > /Users/Paul/sfw/libmesh/lib/x86_64-apple-darwin12.1.0_opt/libmesh.dylib > (compatibility version 0.0.0, current version 0.0.0) > /usr/local/gfortran/lib/libstdc++.6.dylib (compatibility version 7.0.0, > cur

Re: [Libmesh-users] make run_examples error

2012-09-17 Thread Paul Hui Sun
What is libmesh.automake branch? Could you explain to me please? On Sep 17, 2012, at 9:52 PM, "Kirk, Benjamin (JSC-EG311)" wrote: > Also, earlier it looked like you were building the libmesh.automake branch? > Have you switched back? > > There should be no shared library issues using the aut

Re: [Libmesh-users] make run_examples error

2012-09-17 Thread Paul Hui Sun
The list of output libraries are: /Users/Paul/sfw/libmesh/lib/x86_64-apple-darwin12.1.0_opt/libmesh.dylib (compatibility version 0.0.0, current version 0.0.0) /usr/local/gfortran/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.16.0) /usr/lib/libSystem

Re: [Libmesh-users] make run_examples error

2012-09-17 Thread Kirk, Benjamin (JSC-EG311)
Also, earlier it looked like you were building the libmesh.automake branch? Have you switched back? There should be no shared library issues using the automake brach. -Ben On 9/17/12 11:49 PM, "Paul T. Bauman" wrote: > On Mon, Sep 17, 2012 at 11:44 PM, Paul Hui Sun wrote: > >> I have run thi

Re: [Libmesh-users] make run_examples error

2012-09-17 Thread Paul T. Bauman
On Mon, Sep 17, 2012 at 11:44 PM, Paul Hui Sun wrote: > I have run this: > > make run_examples -L > /Users/Paul/sfw/libmesh/lib/x86_64-apple-darwin12.1.0_opt > > On Sep 17, 2012, at 9:36 PM, "Paul T. Bauman" wrote: > > No. You need to either 1. change directories to where libmesh.dylib is > locat

Re: [Libmesh-users] make run_examples error

2012-09-17 Thread Paul Hui Sun
I have run this: make run_examples -L /Users/Paul/sfw/libmesh/lib/x86_64-apple-darwin12.1.0_opt still get the following error: *** * Running Example ./adaptivity_ex1-opt ***

Re: [Libmesh-users] make run_examples error

2012-09-17 Thread Paul T. Bauman
On Mon, Sep 17, 2012 at 11:33 PM, Paul Hui Sun wrote: > Do you mean directly typing "otool -L libmesh.dylib" into the shell? It > doesn't work. > No. You need to either 1. change directories to where libmesh.dylib is located and then run the command or 2. provide the full path to libmesh.dylib to

Re: [Libmesh-users] make run_examples error

2012-09-17 Thread Paul Hui Sun
Do you mean directly typing "otool -L libmesh.dylib" into the shell? It doesn't work. On Sep 17, 2012, at 7:07 PM, Paul T. Bauman wrote: > Make sure you're linked against the libraries you think you are. "otool -L > libmesh.dylib" should help you see what you're linked against. > > On Mon,

Re: [Libmesh-users] make run_examples error

2012-09-17 Thread Paul T. Bauman
On Mon, Sep 17, 2012 at 9:08 PM, Roy Stogner wrote: > > I've never seen this one before. What, you haven't converted to Mac yet? ;-) That error has popped up for me in two different ways: adding -DGLIBCXX_DEBUG (he's in opt mode, so doubtful from libMesh, but maybe in one of the library depende

Re: [Libmesh-users] make run_examples error

2012-09-17 Thread Roy Stogner
On Mon, 17 Sep 2012, Paul Hui Sun wrote: > I get error when running: make run_examples, here is the output: I've never seen this one before. Can you get in there with a debugger and see which string your system thinks is being mis-deleted where? --- Roy

Re: [Libmesh-users] make run_examples error

2012-09-17 Thread Paul T. Bauman
Make sure you're linked against the libraries you think you are. "otool -L libmesh.dylib" should help you see what you're linked against. On Mon, Sep 17, 2012 at 7:32 PM, Paul Hui Sun wrote: > Hi, > > I get error when running: make run_examples, here is the output: > > Makefile:66: .depend: No s

[Libmesh-users] make run_examples error

2012-09-17 Thread Paul Hui Sun
Hi, I get error when running: make run_examples, here is the output: Makefile:66: .depend: No such file or directory Compiling C++ (in optimized mode) adaptivity_ex1.C... Linking adaptivity_ex1-opt... *** * Running Example ./adaptivity_

Re: [Libmesh-users] 'make run_examples' error from fresh user

2012-08-18 Thread Roy Stogner
On Sat, 18 Aug 2012, Wenjun Kou wrote: > I just installed the libmesh, and plan to play with it then. > 1) when I do ' make run_examples, I encounter the following errors: There's currently a bug in the Laspack interface for adding matrices to systems after initialization; one of the reduced bas

[Libmesh-users] 'make run_examples' error from fresh user

2012-08-18 Thread Wenjun Kou
Hi, all I just installed the libmesh, and plan to play with it then. 1) when I do ' make run_examples, I encounter the following errors: /***/ [aryabhata:09731] *** Process received signal *** [aryabhata:09731] Signal: Segmentation fault (11) [aryabhata