wget https://gitlab.inria.fr/aevol/aevol/-/archive/9.2/aevol-9.2.tar.gz
tar zxf aevol-9.2.tar.gz
cd aevol-9.2
mkdir build &&cd build
cmake ..
cmake # make -j X to speed upsudo make install # optional (requires sudo privileges)
Alternatively you can download the latest commit: navigate to aevol’s gitlab page, click on the “Code” button and select the “.tar.gz” option.
Compile
Open a terminal and cd into the directory where you’ve downloaded the source code. Extract the files and cd into the extracted directory:
1
2
tar zxf aevol-9.2.tar.gz
cd aevol-9.2
Create a build dir and cd into it:
1
mkdir build &&cd build
Now you’re ready to configure the build. If you want the default build just go for it:
1
2
cmake ..
make # make -j X to speed up
NB: To speed up the installation, you might want to use make -j X, where X is the number of threads to use for compilation.
If the installation is interrupted, we recommand deleting the build directory altogether, and starting again from line 4.
This will build the aevol libraries and place a bunch of binaries in the build/bin directory. There are actually 3 sets of executables that correspond to 3 flavours of aevol. You can identify which flavour a given binary corresponds to through its prefix:
aevol_2b: plain old aevol with 2 bases
aevol_4b: aevol with 4 bases (ACGT)
aevol_eukaryote_2b: diploid linear genomes with sexual reproduction and recombination
Special note for Mac OS users
Please be aware that the default configuration (with a simple cmake ..) will assume there is a brew-installed llvm and use the corresponding clang compiler.
If you wish to use another compiler (e.g. gcc), please visit the Mac OS Prerequisites page for special instructions.
Install
Finally, if you have administration privileges, you can make the Aevol programs available to all users on the computer by typing: