Page 2 of 2

Re: compile and run on Debian Jessie

Posted: 13 Dec 2016, 10:16
by kataja
It depends what to develop. If it's a solver module, you can compile it with elmerf90 wrapper (elmerf90 Module.F90 -o Module.so) completely separately from elmerfem installation. If there's a test (fem/tests directory) for the thing, then we use the ctest framework. If neither of these are good approaches, then yes, we usually reinstall.

The "make target/fast" is also a useful feature, e.g., "make SpecialSolverModule/fast && make install/fast" just recompiles the SpecialSolverModule and then installs elmerfem as if everything else was up to date.
bernd wrote: I can run the example attached without installation by:

Code: Select all

cd /home/hugo/Documents/projekte--BIM--opendev/dev--elmerfem/calculix_canti
export ELMER_HOME=/home/hugo/Documents/dev/elmerfem/elmerfem-dev/build/fem/src
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/hugo/Documents/dev/elmerfem/elmerfem-dev/build/fem/src/modules
mpirun -n 1   /home/hugo/Documents/dev/elmerfem/elmerfem-dev/build/fem/src/ElmerSolver_mpi   case.sif
This is useful!

-Juhani

Re: compile and run on Debian Jessie

Posted: 09 Jan 2017, 08:44
by bernd
Thanks Juhani for the informations.

Re: compile and run on Debian Jessie

Posted: 08 Feb 2018, 20:06
by bernd
gave it a try on Debian Stretch ... see viewtopic.php?f=2&t=4997&start=0