From 4e038d199f68e69c594c1f264fcd8771569c1314 Mon Sep 17 00:00:00 2001 From: "Kelly L. Rowland" Date: Mon, 11 Nov 2024 11:08:32 -0800 Subject: [PATCH 1/3] add modules for home, scratch, CFS --- etc/modules.d/cfs.yaml | 6 ++++++ etc/modules.d/home.yaml | 6 ++++++ etc/modules.d/scratch.yaml | 6 ++++++ setup.cfg | 3 +++ 4 files changed, 21 insertions(+) create mode 100644 etc/modules.d/cfs.yaml create mode 100644 etc/modules.d/home.yaml create mode 100644 etc/modules.d/scratch.yaml diff --git a/etc/modules.d/cfs.yaml b/etc/modules.d/cfs.yaml new file mode 100644 index 0000000..8ceeaa0 --- /dev/null +++ b/etc/modules.d/cfs.yaml @@ -0,0 +1,6 @@ +name: cfs +cli_arg: cfs +help: Mount CFS +env: MOUNT_CFS +bind: + - $CFS:$CFS diff --git a/etc/modules.d/home.yaml b/etc/modules.d/home.yaml new file mode 100644 index 0000000..4646570 --- /dev/null +++ b/etc/modules.d/home.yaml @@ -0,0 +1,6 @@ +name: home +cli_arg: home +help: Mount home directory +env: MOUNT_HOME +bind: + - $HOME:$HOME diff --git a/etc/modules.d/scratch.yaml b/etc/modules.d/scratch.yaml new file mode 100644 index 0000000..cc5c521 --- /dev/null +++ b/etc/modules.d/scratch.yaml @@ -0,0 +1,6 @@ +name: scratch +cli_arg: scratch +help: Mount scratch directory +env: MOUNT_SCRATCH +bind: + - $SCRATCH:$SCRATCH diff --git a/setup.cfg b/setup.cfg index f494ee1..cd4b59d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -24,6 +24,9 @@ console_scripts = etc/01-cvmfs.conf etc/podman_hpc.yaml etc/podman_hpc/modules.d = + etc/modules.d/home.yaml + etc/modules.d/scratch.yaml + etc/modules.d/cfs.yaml etc/modules.d/gpu.yaml etc/modules.d/mpich.yaml etc/modules.d/cuda-mpich.yaml From f368f2373db23d6053a76d6a8e06c45e51161978 Mon Sep 17 00:00:00 2001 From: "Kelly L. Rowland" Date: Wed, 13 Nov 2024 09:25:35 -0800 Subject: [PATCH 2/3] add module to mount home and tmp for jupyter convenience --- etc/modules.d/jupyter.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 etc/modules.d/jupyter.yaml diff --git a/etc/modules.d/jupyter.yaml b/etc/modules.d/jupyter.yaml new file mode 100644 index 0000000..e4b4ebc --- /dev/null +++ b/etc/modules.d/jupyter.yaml @@ -0,0 +1,7 @@ +name: jupyter +cli_arg: jupyter +help: Mount /tmp and home for Jupyter use +env: MOUNT_JUPYTER +bind: + - /tmp:/tmp + - $HOME:$HOME From 3e9c668162d5318c8da35d5aac226e2c98b69a86 Mon Sep 17 00:00:00 2001 From: "Kelly L. Rowland" Date: Wed, 13 Nov 2024 09:36:34 -0800 Subject: [PATCH 3/3] add jupyter yaml to setup config --- setup.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.cfg b/setup.cfg index cd4b59d..ecf233e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -27,6 +27,7 @@ console_scripts = etc/modules.d/home.yaml etc/modules.d/scratch.yaml etc/modules.d/cfs.yaml + etc/modules.d/jupyter.yaml etc/modules.d/gpu.yaml etc/modules.d/mpich.yaml etc/modules.d/cuda-mpich.yaml