Glnemo2 is an interactive 3D visualization program which displays particles positions of the different components (gas, stars, disk, dark mater halo, bulge) of an N-body snapshot. It's a very useful tool for everybody running N-body simulations from isolated galaxies to cosmological simulations. It can show quickly a lot of information about data by revealing shapes, dense areas, formation of structures such as spirals arms, bars, peanuts or clumps of galaxies. Glnemo2 has been designed to meet the requirements of the user, with simplicity in mind, easy to install, easy to use with an interactive and responsive graphical user interface (based on Digia QT 4.X/5.X API) , powerful with a fast 3D engine (OPenGL and GLSL), and generic with the possibility to load different kinds of input files.


You can zoom in/out, rotate, scale, translate, select different particles and plot them in different blending colors, color particles according to their density, play with the density threshold, trace orbits, play different time steps, take automatic screenshots to make movies, select particles using the mouse, fly over your simulation using camera path. All this features are accessible from a very intuitive graphic user interface.

Supported input files format:

Glnemo2 uses a plugin mechanism to load data, so it's easy to add a new file reader. It uses the latest OpenGL technology like, shaders (glsl), vertex buffer object, frame buffer object, and takes in account the power of your graphic card to accelerate the rendering. Millions of particles can be rendered, in real time, with a fast GPU.

Glnemo2 runs on Linux, Windows(using minGW compiler), and MaxOSX, thanks to the QT4 and QT5 API.


Glnemo2 is open source and released under the terms of the CeCILL2 Licence


Glnemo2 is available in three versions: stable, daily snaphot and developement

See Changelog

Stable release 1.20.1 (December 2021)

Source code (release 1.20.1)

get it from gitlab repository

git clone -b 1.20.1

To install glnemo2 from sources, see installation.

Mac OS X 10.6 and above binary

Mac OS X binary (QT5) DMG is here -> glnemo2 1.20.1

Once you have extracted glnemo2 DMG package, you can install it by dragging glnemo2 icon into Applications folder from finder windows.
To have access to glnemo2 directly from a terminal command line, you have to add the following line into your ".bashrc" file:

export PATH=/Applications/$PATH

Linux binaries packages

Ubuntu 22.04

DEB : glnemo2-1.20.1.ubuntu22.04.x86_64.deb

Install with command (as root):

sudo apt-get install ./glnemo2-1.20.1.ubuntu22.04.x86_64.deb

Ubuntu 20.04

DEB : glnemo2-1.20.1.ubuntu20.04.x86_64.deb

Install with command (as root):

sudo apt-get install ./glnemo2-1.20.1.ubuntu20.04.x86_64.deb

Ubuntu 21.10

DEB : glnemo2-1.20.1.ubuntu21.10.x86_64.deb

Install with command (as root):

sudo apt-get install ./glnemo2-1.20.1.ubuntu21.10.x86_64.deb

  • do not forget to run sudo apt-get -f install to resolve missing dependencies
  • do not forget to run sudo apt-get -f install to resolve missing dependencies

Ubuntu 16.04

DEB : glnemo2-1.20.1.ubuntu16.04.x86_64.deb

Install with command (as root):

sudo apt-get install ./glnemo2-1.20.1.ubuntu16.04.x86_64.deb

  • do not forget to run sudo apt-get -f install to resolve missing dependencies
  • do not forget to run sudo apt-get -f install to resolve missing dependencies

Fedora 35

RPM : glnemo2-1.20.1.fc35.x86_64.rpm

Install with command (as root):

yum install ./glnemo2-1.20.1.fc35.x86_64.rpm

Fedora 34

RPM : glnemo2-1.20.1.fc34.x86_64.rpm
Install with command (as root):

yum install ./glnemo2-1.20.1.fc34.x86_64.rpm

Fedora 33

RPM : glnemo2-1.20.1.fc33.x86_64.rpm
Install with command (as root):

yum install ./glnemo2-1.20.1.fc33.x86_64.rpm


RPM : glnemo2-1.20.1.opensuse15.3.x86_64.rpm

Install with command (as root):

zipper install ./glnemo2-1.20.1.opensuse15.3.x86_64.rpm


RPM : glnemo2-1.20.1.opensuse15.2.x86_64.rpm

Install with command (as root):

zipper install ./glnemo2-1.20.1.opensuse15.2.x86_64.rpm

OpenSuse Tembleweed

RPM : glnemo2-1.20.1.opensuse-tembleweed.x86_64.rpm

Install with command (as root):

zipper install ./glnemo2-1.20.1.opensuse-tembleweed.x86_64.rpm

Centos 8

RPM centos7: glnemo2-1.20.1.el8.x86_64.rpm

Install with command (as root):

yum install ./glnemo2-1.20.1.el8.x86_64.rpm

Centos 7

RPM centos7: glnemo2-1.20.1.el7.x86_64.rpm

Install with command (as root):

centos 7
yum install ./glnemo2-1.20.1.el7.x86_64.rpm

You might need to install EPL repository to get Qt5, proceed as following
sudo yum install epel-release
sudo sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 (for CentOS 7)

Mageia 7

RPM : glnemo2-1.20.0.mga7.x86_64.rpm

Install with command :

urpmi ./glnemo2-1.20.0.mga7.x86_64.rpm

Mageia 6

RPM : glnemo2-1.20.0.mga6.x86_64.rpm

Install with command :

urpmi ./glnemo2-1.20.0.mga6.x86_64.rpm


Arch Linux package:glnemo2-1.11.0-1-x86_64.pkg.tar.xz

Install with command (as root);

pacman -U glnemo2-1.11.0-1-x86_64.pkg.tar.xz

Windows binary

To install glnemo2 from sources, see installation.

Daily "DMG package" for Mac OS X 10.6 and above ().

Daily snapshot



GIT repository (preferred method)

Repository :
Development release is accessible from our GIT server repository via the command:

git clone

Sample data

Aquarius simulation

Here is a subset of the cosmological Aquarius simulation.

Supernova 1987A

Here is a simulation snapshot reproducing the triple rings of SN 1987A.
Use the command: glnemo2 sn1987a all

Thanks to Thomas Morris and Philipp Podsiadlowski for giving the data.
The relevant paper is "The triple-ring nebula around SN 1987A: fingerprint of a binary merger. Morris, T., Podsiadlowski, Ph., 2007, Science, 315, 1103"

Here is a glnemo2 movie of SN1987A



Glnemo2 compiles and runs fine on Linux, Windows and MacOSX platform. To compile the project, you need Nokia QT development library (qt > 4.5).

If you don't have Qt installed on your system, you can get it from here:
Go to to download QT, then get and install "Qt libraries" for your specific platform.

It's very important to have a good video card (GPU) with a fast opengl driver. Glnemo2 has been successfully tested on Nvidia and ATI GPU cards. If the installed OpenGL driver is not fully compatible with the requirement, it can also run in software mode.


Check out that you have 'qmake' utility in your path ('qmake' is normally included with qt package, but on fedora9, for example , it is called qmake-qt4 since both qt3 and qt4 are still installed there). Change to 'glnemo2' directory and enter commands :

  • Linux and Windows
      qmake -recursive
  • Mac OS X
      qmake -spec macx-g++ -recursive
  • Linux with cmake (preferred)
    for linux only, if you have cmake package installed, you can try the following :
      cd build
      cmake ..
      make install

User's Guide



Glnemo2 release 1.20.0 features

Glnemo2 release 1.11.0 features

Glnemo2 release 1.10.0 features

Glnemo2 release 1.9.0 features

Glnemo2 release 1.5.0 features

Glnemo2 release 1.4.0 features

Glnemo2 release 1.3.0 features

Glnemo2 release 1.2.0 features




3D rendering of GAIA Universe Model Snapshot

Eagle simulation

Cosmic web

Ramses Dark matter

Supernova SN1987a

3D spatial distribution of the 13CO intensity integrated from -5 to 135 km s^(-1) at Galactic Longitude l=24°

Emissivity in the solar corona at 171 Angström


List of articles which contains glnemo2 images and acknowledgments

- Multi-phase Circum-Galactic Medium probed with MUSE and ALMA

- First results from SAM-FP: Fabry-Perot observations with ground layer adaptive optics – The structure and kinematics of the core of 30 Doradus

- CALIFA reveals Prolate Rotation in Massive Early-type Galaxies: A Polar Galaxy Merger Origin?

- Nature of the Absorbing Gas associated with a Galaxy Group at z~0.4

- Vortices in stratified protoplanetary disks : From baroclinic instability to vortex layers

- Forming disk galaxies in wet major mergers. I. Three fiducial examples

- Baryonic and dark matter distribution in cosmological simulations of spiral galaxies

- Structure, stability and evolution of 3D Rossby vortices in protoplanetary disks

- The effect of softening on dynamical simulations of galaxies

- Manifold-driven spirals in N-body barred galaxy simulations

- Formation and Hardening of Supermassive Black Hole Binaries in Minor Mergers of Disk Galaxies