"Kirk, Benjamin (JSC-EG311)" <[email protected]> writes:

> On Dec 21, 2012, at 7:11 AM, Martin Lüthi <[email protected]> wrote:
>
>> The new Makefiles look horrific and packed with autogenerated stuff, and
>> the old, simple ones seem not to work anymore.
>> 
>> So what is the best way to start playing with an example?
>
>>From a 'make install'
>
> When you do that, each example gets installed as well, along with a minimal 
> makefile (independent of automake).
>
> So in my case for example:
>
> $ cd ~/codes/install/examples/introduction/ex4/
> $ make
> $ sh ./run.sh 
>
> does that work for you?

OK, thanks a lot. The "make install" step is not documented on the
homepage, and was not necessary before, so it's not quite obvious to
figure out.

Also, if libmesh is installed, the LIBMESH_DIR should point to the
installation directory.

A few steps that might help new users getting up to speed:

1. ./configure --prefix=/my/install/dir

2. make

3. make install

4. csh/tcsh:   setenv LIBMESH_DIR /my/install/dir
   bash:       export LIBMESH_DIR=/my/install/dir

5. compiling examples out of tree:
   make
   bash ./run.sh

(Your hint with sh does not always work, depending on what shell "sh"
actually is. Mine does not know the "source" builtin command).


Best, Martin

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to