NGWire - secular dynamics framework#

The ngwire enviroment can be activated by running the following command:

$ module load ngwire

You now have access to all the dependencies required to run the ngwire code.

The next step is to clone the ngwire repository and build the code. Alternatively, you can send a copy of the ngwire code using any data transfer method you prefer (see data trasfers).

Building ngwire#

The first step is to go to the directory where ngwire is located.

$ cd /path/to/ngwire
$ python setup.py configure
$ make all

Next, start an interactive python session with the following command:

$ make ipython

Now we can import the ngwire module in python.

import ngwire

To run python scripts that use the ngwire module, first start an interactive python session like shown above, and then run the script using the %run command.

cd /path/to/script
%run script.py