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:34] theoastro |
installation_nmma [2023/06/10 18:51] (current) theoastro |
||
|---|---|---|---|
| Line 15: | Line 15: | ||
| conda install mpi4py | conda install mpi4py | ||
| - | === Installation on Super-Computer Clusters (e.g. Supermuc) === | + | NMMA can be source cloned from the git repo with the following command: |
| + | git clone https:// | ||
| + | We change into the cloned NMMA directory and pip install it using: | ||
| + | pip install -r requirements.txt | ||
| + | pip install . | ||
| - | While it is not strictly necessary, it reduces possible conflicts if one installs | + | === Installation on Super-Computer Clusters (e.g. Supermuc) === |
| + | For larger computer clusters, a virtual | ||
| python3 -m venv / | python3 -m venv / | ||
| Line 25: | 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 |
| - | + | | |
| - | + | pip install | |
| - | + | ||
| - | In addition, | + | |
| - | | + | |
| - | + | ||
| - | 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:34
