manual:compileauryn
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
manual:compileauryn [2016/08/16 22:28] – Structure zenke | manual:compileauryn [2017/04/24 19:16] – Changes links to fzenke.net zenke | ||
---|---|---|---|
Line 9: | Line 9: | ||
- | ===== Meeting the preliminaries | + | ===== Requirements |
- | Apart from a standard C++ build environment you will need to meet certain requirements. Auryn currently depends on the [[http:// | + | Apart from a standard C++ build environment you will need the [[http:// |
+ | With these preliminaries met, you can proceed as follows. | ||
- | + | ==== Getting the source with git ==== | |
- | ===== Getting the source with git ===== | + | First clone Auryn' |
- | If you know how to use git you can simply | + | |
< | < | ||
git clone https:// | git clone https:// | ||
Line 21: | Line 21: | ||
This will create a new directory '' | This will create a new directory '' | ||
- | ===== Getting the source as a zip archive or tar ball ===== | ||
- | You can download zips or tar archives of the latest releases from GitHub | + | ==== Getting the source as a zip archive or tar ball ==== |
+ | Alternatively, | ||
To unpack a tgz compressed | To unpack a tgz compressed | ||
Line 34: | Line 34: | ||
===== Building Auryn from source ===== | ===== Building Auryn from source ===== | ||
- | To facilitate compiling Auryn on other systems, Auryn uses the cmake build system. For this to work you have to install '' | + | Once you have downloaded the sources, compile |
To build Auryn using cmake simply run: | To build Auryn using cmake simply run: | ||
< | < | ||
Line 41: | Line 41: | ||
</ | </ | ||
- | Instead you can also invoke cmake directly: | + | Instead |
< | < | ||
cmake ../../ -DCMAKE_BUILD_TYPE=Release && make | cmake ../../ -DCMAKE_BUILD_TYPE=Release && make | ||
Line 48: | Line 48: | ||
If you want to specify an install prefix add the option '' | If you want to specify an install prefix add the option '' | ||
- | Either way you find the library '' | + | Either way you will find the compiled |
- | **Frustrated?? | + | **Frustrated?? |
Line 99: | Line 99: | ||
+ | ===== Building Auryn without MPI ===== | ||
+ | |||
+ | Starting from v0.8 you can build Auryn without MPI if need be. To do so, open the file '' | ||
+ | <code c++> | ||
+ | #define AURYN_CODE_USE_MPI | ||
+ | </ | ||
+ | |||
+ | This will disable any dependence on MPI in the source code. Then in the '' | ||
+ | < | ||
+ | FIND_PACKAGE(MPI REQUIRED) | ||
+ | </ | ||
+ | and comment it out or remove the '' | ||
- | ===== Building | + | ===== Building Auryn with debug symbols (reduces performance) ===== |
To create a debug run instead use: | To create a debug run instead use: | ||
Line 122: | Line 134: | ||
to show compiler warnings. | to show compiler warnings. | ||
- | ===== Other ways of building Auryn ===== | ||
- | The github user sanjayankur31 maintains an autotool version of Auryn with the standard gnu build toolchain (i.e. configure and make) which can be found here | ||
- | [[https:// | ||
===== Building older versions of Auryn (< | ===== Building older versions of Auryn (< |
manual/compileauryn.txt · Last modified: 2022/08/19 09:24 by zenke