Sage is supplied from https://www.sagemath.org/. There are no direct support at LRZ, or guaranties that this software works without issues. Still, users can try to employ it, but must install it by themselves.
The following procedure might be successful.
Setup Conda Framework
Login to the LRZ via SSH.
This needs to be done just once. Afterwards, it suffices to just re-login. The conda framework is then already loaded.
Installation of Sage
This creates a conda environment
sage, and installs the
sage package (together with its dependencies). This might take quite a while. Please, be patient!
Possibly, if this fails, you must first add the conda-forge channel.
On SuperMUC-NG, downloads must be redirected through SSH reverse tunnels and a http proxy (described elsewhere in the LRZ documentation), or accomplished via offline repositories copied to the SuperMUC-NG location.
Usage of Sage
At its simplest, just activate the conda environment, and start
If you wish to start sage in a jupyter notebook, all terms and conditions hold as for all usage of jupyter on our system (please consult jupyter documentation). Either use SSH forward tunnels, or VNC. Sage is started with jupyter as follows.
As jupyter opens the w3m browser. Just close it via pressing "q" then "y". To stop the notebook, issue Ctrl+C, as usual.
General Considerations on LRZ HPC systems
In principle, setting a conda environment and starting
sage should also work on compute nodes. Please, don't use the login nodes for intensive workloads or memory consuming tasks. Please use the interactive Slurm queues via
salloc, or submit batch jobs via
Documentation, Help, and Troubleshooting
Consult first https://doc.sagemath.org/, and the sage user community when spotting problems or questions. Figure out, if the issues are due to sage itself. Only if this can be excluded, and LRZ system issues might cause the observed trouble, please contact the LRZ ServiceDesk.