Nemo

A forward-time, individual-based, genetically explicit simulation program for evolutionary biology and ecology

v2.4.2 — 3 Aug 2026

install with conda SourceForge monthly downloads SourceForge total downloads

Download Nemo

Upgrading from 2.4.0 or 2.4.1 is recommended. Version 2.4.2 fixes a major bug in the random word generator that affected free recombination in the bitstring trait architectures (bdmi, delet, ntrl, quant).

RAND::RandULong() returned only 32 random bits, leaving the upper 32 bits of every 64-bit word at zero, so within each 64-bit block the loci at positions 32 to 63 were always inherited from the same parental chromosome instead of recombining. Simulations that used free recombination with these traits under 2.4.0 or 2.4.1 should be re-run. See the CHANGELOG for details.

About

Nemo is a forward-time, individual-based, genetically explicit, and stochastic simulation program designed to study the evolution of quantitative traits and population genetics in a flexible (meta-)population framework. It implements many life-cycle events and evolvable traits with a variety of genetic architectures, all framed within a metapopulation model that allows for patch-specific carrying capacities, dispersal rates, stochastic extinction/harvesting, and demographic stochasticity.

The interface is a simple text file of simulation parameters and their values. Each parameter can take several argument values — running many simulations from a single file — or temporal values that automatically modify the simulation during a run. Nemo is highly optimized for batch mode, and a parallel-computing (MPI) version is part of the release, making it a flexible and powerful simulation tool.

Features

Quick start

Install with Conda — no compilation required

The Conda package ships a precompiled binary and pulls in the GSL for you, so no compiler or manual setup is needed. Packages are built for Linux on Intel/AMD (linux-64) and ARM (linux-aarch64), and for macOS on Apple Silicon (osx-arm64). On an Intel Mac or on Windows, build from source instead — on Windows through WSL2.

conda create -n nemo -c conda-forge -c ecoevo nemo
conda activate nemo

The ecoevo channel is published automatically when a release is tagged, so it always carries the current version. Nemo is also on Bioconda, built from the same source, but updated through a pull request that a Bioconda maintainer has to review and merge — it can trail the current release by several weeks.

Remember that conda activate nemo is needed once per terminal, not just once after installing.

Build from source

Nemo requires the GNU Scientific Library (GSL) 2.0 or higher.

# Ubuntu / Debian
sudo apt-get install libgsl-dev

# macOS (Homebrew)
brew install gsl

Download and unpack the source — either the Nemo-2.4.2-src.tgz package from SourceForge, or the latest revision from the repository:

curl -L https://bitbucket.org/ecoevo/nemo-release/get/v2.4.2.tar.gz -o Nemo-2.4.2.tar.gz
mkdir Nemo-2.4.2 && tar xzf Nemo-2.4.2.tar.gz -C Nemo-2.4.2 --strip-components=1

Compile and install:

cd Nemo-2.4.2
mkdir bin
make
make install        # copies to ~/bin/ by default

Platform-specific builds: make MAC_ARM=1 (Apple Silicon), make MAC_x86=1 (Intel Mac), make MPI=1 (parallel), make DEBUG=1 (debug build).

Run a simulation

However Nemo was installed, the executable carries its version number, so several versions can live side by side:

nemo2.4.2 my_simulation.ini

Without arguments, Nemo looks for a file named Nemo2.ini in the current directory; if there is none it prints its banner along with an error, which is a quick way to confirm the install works. Example configuration files are provided in the examples/ directory. See INSTALL for detailed, platform-specific instructions.

Documentation

Related projects

Citation

Please cite Nemo as:

Champak Beeravolu Reddy, Jobran Chebib, Olivier Cotto, Max Schmid, Frédéric Guillaume. 2026-07-02. Nemo2.4: fast and accurate quantitative genetics forward-time simulations. BioRxiv doi:10.64898/2026.07.02.736177.
Guillaume, F., and J. Rougemont. 2006. Nemo: an evolutionary and population genetics programming framework. Bioinformatics 22:2556–2557.

Support