SageMath

SageMath

Create sage conda environment

These instructions will create a sage conda environment on your user space to enable using SageMath from a Jupyter notebook on Open OnDemand.

## Load miniforge3 module load miniforge3 ## Add the conda-forge channel to the sources and set the channel priority conda config --add channels conda-forge conda config --set channel_priority strict ## Create the virtual environment (ignore any errors about "Could not open lockfile", hit Y to install the packages) mamba create -n sage sage python=3.11 ## Activate the environment conda activate sage ## Install extra packages (hit Y to install the packages) pip install ipykernel jupyterlab pandas

Go to the Open OnDemand web portal at https://athena3.hprc.vcu.edu/ adjust your required resources (CPUs, memory) and provide sage as the name of the conda environment.