From 94db5f8bb829dd3c547047b86cfb0b45b426431d Mon Sep 17 00:00:00 2001 From: Jin Zhou Date: Fri, 13 Nov 2026 15:05:12 -0500 Subject: [PATCH 1/5] tmp-conda --- tmp-conda.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 tmp-conda.sh diff --git a/tmp-conda.sh b/tmp-conda.sh new file mode 100755 index 0000000..98b1db2 --- /dev/null +++ b/tmp-conda.sh @@ -0,0 +1,20 @@ +#!/bin/bash +# Build the env on local /tmp, without touching NFS. Usage: bash tmp-conda.sh +set -e +BASE=/tmp/$(id -un)-tmp +YML=$(readlink -f "$(dirname "$0")/environment.yml") + +unset PYTHONPATH LD_LIBRARY_PATH BASH_ENV CONDARC +export HOME=$BASE/home TMPDIR=$BASE/tmp CONDA_PKGS_DIRS=$BASE/pkgs PIP_CACHE_DIR=$BASE/pip XDG_CACHE_HOME=$BASE/cache +mkdir -p $BASE $HOME $TMPDIR && chmod 700 $BASE + +curl -fsSL -o $BASE/miniforge.sh https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh +bash $BASE/miniforge.sh -b -u -p $BASE/miniforge3 +$BASE/miniforge3/bin/conda env create -y -f $YML -p $BASE/env + +cat > $BASE/activate.sh < Date: Fri, 13 Nov 2026 15:13:38 -0500 Subject: [PATCH 2/5] tmp conda --- tmp-conda.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tmp-conda.sh b/tmp-conda.sh index 98b1db2..5ee73cf 100755 --- a/tmp-conda.sh +++ b/tmp-conda.sh @@ -1,8 +1,7 @@ #!/bin/bash -# Build the env on local /tmp, without touching NFS. Usage: bash tmp-conda.sh +# Build the env on local /tmp, without touching NFS. Usage (in vine-cms-analysis-stack/): bash tmp-conda.sh set -e BASE=/tmp/$(id -un)-tmp -YML=$(readlink -f "$(dirname "$0")/environment.yml") unset PYTHONPATH LD_LIBRARY_PATH BASH_ENV CONDARC export HOME=$BASE/home TMPDIR=$BASE/tmp CONDA_PKGS_DIRS=$BASE/pkgs PIP_CACHE_DIR=$BASE/pip XDG_CACHE_HOME=$BASE/cache @@ -10,7 +9,7 @@ mkdir -p $BASE $HOME $TMPDIR && chmod 700 $BASE curl -fsSL -o $BASE/miniforge.sh https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh bash $BASE/miniforge.sh -b -u -p $BASE/miniforge3 -$BASE/miniforge3/bin/conda env create -y -f $YML -p $BASE/env +$BASE/miniforge3/bin/conda env create -y -f environment.yml -p $BASE/env cat > $BASE/activate.sh < Date: Fri, 13 Nov 2026 15:20:15 -0500 Subject: [PATCH 3/5] update --- tmp-conda.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmp-conda.sh b/tmp-conda.sh index 5ee73cf..c809330 100755 --- a/tmp-conda.sh +++ b/tmp-conda.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Build the env on local /tmp, without touching NFS. Usage (in vine-cms-analysis-stack/): bash tmp-conda.sh +# source /tmp/$(id -un)-tmp/activate.sh set -e BASE=/tmp/$(id -un)-tmp From dde2aed11abf3f47d8cf4eaa032ab427d2bbd6a7 Mon Sep 17 00:00:00 2001 From: Jin Zhou Date: Fri, 13 Nov 2026 15:32:49 -0500 Subject: [PATCH 4/5] datapath --- mv-data-path.sh | 1 + 1 file changed, 1 insertion(+) create mode 100644 mv-data-path.sh diff --git a/mv-data-path.sh b/mv-data-path.sh new file mode 100644 index 0000000..07b947c --- /dev/null +++ b/mv-data-path.sh @@ -0,0 +1 @@ +sed -i 's#/project01/ndcms/btovar/tutorial/tutorial#/tmp/vinereduce-tutorial#g' ~/vine-cms-analysis-stack/examples/tutorial_nd/data/datasets_vast.json From e5f50d1a47774894b8adc70e4bf1462a67a076c0 Mon Sep 17 00:00:00 2001 From: Jin Zhou Date: Fri, 13 Nov 2026 15:38:54 -0500 Subject: [PATCH 5/5] update --- mv-data-path.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mv-data-path.sh b/mv-data-path.sh index 07b947c..9925b24 100644 --- a/mv-data-path.sh +++ b/mv-data-path.sh @@ -1 +1,2 @@ -sed -i 's#/project01/ndcms/btovar/tutorial/tutorial#/tmp/vinereduce-tutorial#g' ~/vine-cms-analysis-stack/examples/tutorial_nd/data/datasets_vast.json +cd ~/vine-cms-analysis-stack +sed -i 's#/project01/ndcms/btovar/tutorial/tutorial#/tmp/vinereduce-tutorial#g' examples/tutorial_nd/data/datasets_vast.json