Installation

Installation involves two pretty simple steps. Install Pynac, then install Dynac.

Dynac Installation

Dynac is distributed as Fortran source. You’ll need Gfortranto compile it, so start by installing this using your favourite package manager (for example, sudo apt-get install gfortran should work on Ubuntu/Debian-based systems), or by downloading the appropriate binary from from the GFortranBinaries page. Once Gfortran is installed, follow these steps to get Dynac running.

Warning

Pynac requires at least v17 of Dynac. This is yet to be released, and so Pynac users will have to make do with the unofficial version of Dynac included with Pynac.

  1. While waiting for v17 to be officially released, an unofficial version can be download from inside the Pynac GitHub folder.
  2. Compile – gfortran dynac_unofficial.f -o dynacv6_0. Pynac currently assumes that the executable is called dynacv6_0, but this will be configurable in future releases.
  3. Put the executable into the system path

Pynac Installation

I recommend working in a virtual environment, but since some people don’t like to do that, I’ve listed the steps for either case here.

In a virtualenv

To do this you’ll need virtualenv on your system. sudo pip install virtualenv

  1. Make a directory to work in, and move into it – mkdir workingDir && cd workingDir
  2. Create and start a Python3 virtual environment using whatever technique you normally use. Perhaps as following:
  • virtualenv --no-site-packages --python=python3 venv
  • source venv/bin/activate
  1. Install the bokeh plotting library – pip install bokeh
  2. Install Pynac – pip install Pynac

Not in a virtualenv

  1. Make a directory to work in, and move into it – mkdir workingDir && cd workingDir
  2. Install the bokeh plotting library – sudo pip install bokeh
  3. Install Pynac – sudo pip install Pynac