Skip to content
forked from teuben/nemo

a Stellar Dynamics Toolbox (Not Everybody Must Observe)

License

Notifications You must be signed in to change notification settings

sathvikrav/nemo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NEMO is a toolbox for stellar dynamics, particle simulations, stellar orbits, image processing and tabular data manipulation. Documentation is maintained in the github pages, https://teuben.github.io/nemo

This is the 4th major release of NEMO, and although data are compatible with earlier releases, source code may need to be tweaked a bit to compile and link in the newer releases. Some compatibility with ZENO is also advertised. Here's some history of NEMO:

  • NEMO V1: IAS release (Barnes, Hut & Teuben, 1987)
  • NEMO V2: UMD release (Teuben, 1994)
  • NEMO V3: UMD release (Teuben, 2001) in CVS, with autoconf support and hooks into manybody.org modules starlab and partiview
  • NEMO V4: UMD/ESO release (2017) now maintained in github

A related package, ZENO, was spun off NEMO V1, and is still maintained by Josh Barnes. Two other packages that geneologically came after NEMO are StarLab and AMUSE (see also https://ascl.net for code references):

 NEMO:      ascl:1010.051
 ZENO:      ascl:1102.027 (normally installed in $NEMO/usr/zeno)
 STARLAB:   ascl:1010.076
 AMUSE:     ascl:1107.007

Packages we optionally use (often installed in $NEMO/opt via code in $NEMO/local):

 PGPLOT:    ascl:1103.002
 CFITSIO:   ascl:1010.001
 WCSLIB:    ascl:1108.003
 glnemo2:   ascl:1110.008
 gyrfalcON: ascl:1402.031 (included with NEMO)
 HDF4
 HDF5       https://www.hdfgroup.org
 gsl
 plplot
 unsio
 uns_project

See README.install for installation guidelines. One way to install NEMO is using the install_nemo script:

 wget https://teuben.github.io/nemo/install_nemo
 chmod +x install_nemo
 ./install_nemo
 source nemo/nemo_start.sh

Some tools you will need to have pre-installed: At minimum a C/C++/Fortran compiler, (t)csh, and git. Use your local package manager to install those before you attempt to run the install_nemo script. For example, on a fresh Ubuntu distro, you're likely going to need to install two packages before running the install script, and triggering a few more using the ubuntu=1 flag, viz.

 sudo apt install tcsh git
 ./install_nemo ubuntu=1

And you don't have wget (e.g. MacOSX) use curl to get that script. E.g. on a Mac where you have installed Homebrew with pgplot, this should get you a working NEMO with plotting enabled:

 curl -O https://teuben.github.io/nemo/install_nemo
 chmod +x install_nemo
 ./install_nemo brew=1
 source nemo/nemo_start.sh

If you have used MacPorts, I may owe you another hint.

At the simplest level, the installation uses an autoconf based scheme. Here is an example assuming you have the PGPLOT library installed:

     git clone https://github.com/teuben/nemo
     cd nemo
     ./configure --with-yapp=pgplot
     make build
     source nemo_start.sh

Once NEMO has been installed, here are some examples of scripts and figures: https://teuben.github.io/nemo/examples/ or look at an example ipython notebook https://github.com/teuben/nemo/blob/master/nemo_start_example.ipynb

About

a Stellar Dynamics Toolbox (Not Everybody Must Observe)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 50.0%
  • C++ 22.1%
  • Fortran 14.4%
  • TeX 3.1%
  • Shell 2.4%
  • PostScript 1.9%
  • Other 6.1%