Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
installation_nmma [2023/06/10 18:43]
theoastro
installation_nmma [2023/06/10 18:51] (current)
theoastro
Line 21: Line 21:
   pip install -r requirements.txt   pip install -r requirements.txt
   pip install .   pip install .
- 
- 
  
 === Installation on Super-Computer Clusters (e.g. Supermuc) === === Installation on Super-Computer Clusters (e.g. Supermuc) ===
- +For larger computer clustersa virtual python-based environment is recommended which can be created using:
- +
-While it is not strictly necessaryit reduces possible conflicts if one installs python packages that do not need to be available system-wide into local, virtual environments. An easy option to setup such virtual environments is the [[https://docs.python.org/3/library/venv.html#module-venv|venv]] module. +
   python3 -m venv /path/to/new/virtual/environment   python3 -m venv /path/to/new/virtual/environment
  
Line 34: Line 29:
   source /path/to/new/virtual/environment/bin/activate   source /path/to/new/virtual/environment/bin/activate
  
-With activated virtual environment, basic packages need to be installed with: +With activated virtual environment, we now install **mpi4py** this time with pip
-  pip install afterglowpy extinction dill multiprocess bilby lalsuite +  pip install mpi4py 
- +
  
-This will create an nmma folderin which you can install the NMMA package using: +If this is doneall the other steps can be taken from the installation version explained above, meaning source cloning NMMA and pip installing it with potential on-top installations explained below.
-  pip install .+
  
 === Optional on-top installations (applicable for both installation versions) === === Optional on-top installations (applicable for both installation versions) ===
Last modified: le 2023/06/10 18:43