manual:compileandrunaurynsimulations
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
manual:compileandrunaurynsimulations [2015/05/13 21:33] – created zenke | manual:compileandrunaurynsimulations [2016/08/22 17:18] – Adds link to run script zenke | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Howto compile, link and run Auryn simulations ====== | ====== Howto compile, link and run Auryn simulations ====== | ||
- | Suppose you want to start with modifying | + | You have installed the latest release of Auryn and [[manual: |
- | I like using my own handwritten makefiles (of course you can follow any other approach you feel most comfortable with). To proceed with my approach create a '' | + | I like using my own handwritten makefiles (of course you can follow any other approach you feel most comfortable with). To proceed with my approach create a file called |
< | < | ||
- | CC = mpicxx | + | # Your shorthand for your MPI C++ compiler |
- | AURYNDIR = / | + | CC = mpicxx |
- | BUILDDIR = $(AURYNDIR)/ | + | # Your Auryn install path |
+ | AURYNDIR = / | ||
+ | # Path to libauryn.a (see compiling | ||
+ | BUILDDIR = $(AURYNDIR)/ | ||
CFLAGS= -ansi -Wall -pipe -O3 -ffast-math -funsafe-math-optimizations \ | CFLAGS= -ansi -Wall -pipe -O3 -ffast-math -funsafe-math-optimizations \ | ||
Line 30: | Line 33: | ||
make sim_new && ./sim_new | make sim_new && ./sim_new | ||
</ | </ | ||
+ | These steps can be conveniently wrapped in a shell script too as has been done here https:// | ||
- | Now you can start modifying '' | + | Now you can start modifying '' |
manual/compileandrunaurynsimulations.txt · Last modified: 2017/03/13 19:43 by zenke