compile and run on Debian Jessie

Discussion about building and installing Elmer

Re: compile and run on Debian Jessie

Postby kataja » 13 Dec 2016, 10:16

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
kataja
 
Posts: 56
Joined: 09 May 2014, 16:06

Re: compile and run on Debian Jessie

Postby bernd » 09 Jan 2017, 08:44

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

Previous

Return to Installation & compilation

Who is online

Users browsing this forum: No registered users and 2 guests

cron