compile and run on Debian Jessie

Discussion about building and installing Elmer
kataja
Posts: 74
Joined: 09 May 2014, 16:06
Antispam: Yes

Re: compile and run on Debian Jessie

Post 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
bernd
Posts: 22
Joined: 29 Nov 2016, 15:03
Antispam: Yes

Re: compile and run on Debian Jessie

Post by bernd »

Thanks Juhani for the informations.
bernd
Posts: 22
Joined: 29 Nov 2016, 15:03
Antispam: Yes

Re: compile and run on Debian Jessie

Post by bernd »

gave it a try on Debian Stretch ... see viewtopic.php?f=2&t=4997&start=0
Post Reply