Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update index.rst #350

Merged
merged 1 commit into from
Apr 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,37 @@ and follow the instructions above.
module load gcc/9.2.0
module load openmpi/4.1.1

Internetless Clusters
^^^^^^^^^^^^^^^^^^^^^

Some cluster resources may not have access to the internet or could block some forms of data transfer. This will cause some difficulties with certain packages and will require some fixes to how NMMA interacts with them and changes to how you call some commands in NMMA. This can also affect how you install NMMA on the cluster. Because the cluster is in some way restricted, it may be that the `conda install nmma -c conda-forge` or the `pip install nmma` commands don't work. Thus to install NMMA, you will need to install from the source. To begin, you will want to copy the NMMA repository from your local to the cluster using an `scp` or `rsync` commmand because likely the git commands will fail. Once NMMA is downloaded to the cluster, navigate to the main directory and run

.. code::
pip install -r requirements.txt
pip install .

and check that the installation was successful by running the first check for NMMA given above. After installation, the next most likely difference is how NMMA uses the trained kilonova models during any form of EM analysis. When running any analysis that requires the use of the trained grid of models you will need to add the `--local-only` flag to the analysis command. For example,

.. code::
lightcurve-analysis \
--model LANLTP2 \
--svd-path svdmodels/ \
--filters ztfg,ztfi,ztfr \
--ztf-sampling \
--ztf-uncertainties \
--ztf-ToO 180 \
--local-only \
--interpolation-type tensorflow \
--outdir outdir/TP2_ztf \
--label TP2_ztf \
--prior priors/LANL2022.prior \
--tmin 0. \
--tmax 14 \
--dt 0.1 \
--error-budget 1 \
--nlive 1024 \


Matplotlib fonts
^^^^^^^^^^^^^^^^

Expand Down
Loading