-
Notifications
You must be signed in to change notification settings - Fork 3
Using jupyter notebook on Lassen with OpenCE 1.9.1 conda environment
Kevin" Seung Whan Chung edited this page Jun 29, 2024
·
4 revisions
We follow the instruction from this LC CZ confluence page.
-
Follow OpenCE 1.9.1 installation instruction to install anaconda OpenCE 1.9.1 environment.
-
Install prerequisites and GPLaSDI, according to the instructions from
README.md
. -
In order to use this OpenCE 1.9.1 environment in jupyter notebook, we follow a variation of JupyterHub and Jupyter Notebook:
# save absolute path to your opence environment
OPENCE_PATH=/absolute/path/to/your/opence/environment
conda activate $OPENCE_PATH
conda install ipykernel
python3 -m ipykernel install --prefix=$OPENCE_PATH --name 'gplasdi_kernel' --display-name 'GPLasDI kernel'
conda deactivate
mkdir -p ~/.local/share/jupyter/kernels
cd ~/.local/share/jupyter/kernels
cp -r $OPENCE_PATH/share/jupyter/kernels/gplasdi_kernel ./
- Follow the Orbit and Jupyter Notebook instruction to open jupyter lab on the computing node.
- This seems to run on a log-in node, so a heavy computation is not recommended.
- The walltime limit is 30 minutes.