"Kirk, Benjamin (JSC-EG311)" <benjamin.kirk-1@...> writes:
> On Dec 21, 2012, at 7:11 AM, Martin Lüthi <luethi@...> 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
Also, if libmesh is installed, the LIBMESH_DIR should point to the
A few steps that might help new users getting up to speed:
1. ./configure --prefix=/my/install/dir
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:
(Your hint with sh does not always work, depending on what shell "sh"
actually is. Mine does not know the "source" builtin command).