-
Notifications
You must be signed in to change notification settings - Fork 2
Installation
Christophe Morisset edited this page Jun 28, 2024
·
7 revisions
- Install the last version (development one) of PyNeb:
pip install -U git+https://github.com/Morisset/PyNeb_devel.git
- You will need the Chianti database installed (
http://www.chiantidatabase.org/download/CHIANTI_8.0.6_data.tar.gz
) and the environment variable XUVTOP pointing to it. - Install the pySSN distribution:
pip install -U git+https://github.com/Morisset/pySSN.git
- Download the data file (107Mo) from http://3mdb.astro.unam.mx/~morisset/data_pySSN.tgz
- Uncompress it somewhere, e.g. /user/myname/pySSN_data/
- Link this directory with the main program:
pySSN_link2data /user/myname/pySSN_data/data
- Compile the fortran program (this needs to be done after every update of pySSN, as the fortran code may have been changed):
pySSN_compile --compiler=gfortran
To install gfortran on OSX, visit https://github.com/fxcoudert/gfortran-for-macOS/releases