Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
installation_nmma [2023/06/10 18:33] theoastro |
installation_nmma [2023/06/10 18:51] (current) theoastro |
||
|---|---|---|---|
| Line 12: | Line 12: | ||
| conda activate < | conda activate < | ||
| - | === Installation on Super-Computer Clusters (e.g. Supermuc) === | + | In order to allow python programs to exploit multiple processors, the [[https:// |
| + | conda install mpi4py | ||
| + | NMMA can be source cloned from the git repo with the following command: | ||
| + | git clone https:// | ||
| - | While it is not strictly necessary, it reduces possible conflicts if one installs python packages that do not need to be available system-wide | + | We change |
| + | pip install -r requirements.txt | ||
| + | pip install | ||
| + | === Installation on Super-Computer Clusters (e.g. Supermuc) === | ||
| + | For larger computer clusters, a virtual python-based environment is recommended which can be created using: | ||
| python3 -m venv / | python3 -m venv / | ||
| Line 22: | Line 29: | ||
| source / | source / | ||
| + | With activated virtual environment, | ||
| + | pip install mpi4py | ||
| + | If this is done, all 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. | ||
| - | === Cloning and installation === | + | === Optional on-top installations (applicable for both installation |
| - | + | Some further installations (use-case dependent) might be needed. For GRB based analyses make sure to install | |
| - | With activated virtual environment, | + | pip install afterglowpy |
| - | pip install afterglowpy | + | For using tensorflow-based interpolation during an inference make sure to install |
| - | + | | |
| - | In order to allow python programs to exploit multiple processors, the [[https:// | + | pip install |
| - | conda install | + | |
| - | + | ||
| - | In addition, install: | + | |
| - | | + | |
| - | + | ||
| - | NMMA can be source cloned from the git repo with the following command: | + | |
| - | git clone git@github.com: | + | |
| - | + | ||
| - | This will create an nmma folder, in which you can install the NMMA package using: | + | |
| - | pip install | + | |
| - | === Optional on-top installations === | ||
| - | Several tasks require the Bayesian inference tool [[https:// | ||
| - | conda install pymultinest | ||
Last modified: le 2023/06/10 18:33
