Skip to content

Commit 3207b07

Browse files
committed
add new desc-cosmology kernels
1 parent 2775966 commit 3207b07

File tree

5 files changed

+40
-0
lines changed

5 files changed

+40
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
INST_DIR=/global/cfs/cdirs/lsst/groups/MCP
4+
source $INST_DIR/setup-cosmology-dev.sh ""
5+
6+
if [ $# -gt 0 ] ; then
7+
exec python -m ipykernel $@
8+
fi
9+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"argv": [
3+
"/global/common/software/lsst/common/miniconda/kernels/desc-cosmology-dev.sh",
4+
"-f",
5+
"{connection_file}"
6+
],
7+
"display_name": "desc-cosmology-dev",
8+
"language": "python"
9+
}
10+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
INST_DIR=/global/cfs/cdirs/lsst/groups/MCP
4+
source $INST_DIR/setup-cosmology-prod.sh ""
5+
6+
if [ $# -gt 0 ] ; then
7+
exec python -m ipykernel $@
8+
fi
9+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"argv": [
3+
"/global/common/software/lsst/common/miniconda/kernels/desc-cosmology.sh",
4+
"-f",
5+
"{connection_file}"
6+
],
7+
"display_name": "desc-cosmology",
8+
"language": "python"
9+
}
10+

jupyter-kernels/setup/user_setup.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jupyter kernelspec install $INST_DIR/kernels/desc-td-env --user
2929
jupyter kernelspec install $INST_DIR/kernels/desc-forecasts --user
3030
jupyter kernelspec install $INST_DIR/kernels/desc-td-env-dev --user
3131
jupyter kernelspec install $INST_DIR/kernels/desc-forecasts-dev --user
32+
jupyter kernelspec install $INST_DIR/kernels/desc-cosmology-dev --user
33+
jupyter kernelspec install $INST_DIR/kernels/desc-cosmology --user
3234
#echo "Your JupyterLab URL is: "
3335
#echo "https://jupyter.nersc.gov/user/$USER/cori-shared-node-cpu/lab/tree/$HOME"
3436
echo "DESC Kernels Now Available"

0 commit comments

Comments
 (0)