Skip to content

Commit a3dc902

Browse files
committed
add installer
1 parent e2023bb commit a3dc902

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

activate.sh

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ml use /global/common/software/nersc9/julia/modules/

install.sh

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/usr/bin/env bash
2+
set -eu
3+
4+
__INSTALL_SH_DIR=$(
5+
cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd
6+
)
7+
8+
source ${__INSTALL_SH_DIR}/activate.sh
9+
10+
mkdir -p /global/homes/b/blaschke/.local/share/jupyter/kernels
11+
pushd ~/.local/share/jupyter/kernels
12+
cp -r /global/common/software/nersc9/julia/kernels/rendered/*-beta .
13+
popd
14+
15+
julia_versions=("julia/1.8.5" "julia/1.9.4" "julia/1.10.8" "julia/1.11.3")
16+
for jv in "${julia_versions[@]}"
17+
do
18+
ml load $jv
19+
julia /global/common/software/nersc9/julia/kernels/bootstrap.jl
20+
done
21+

0 commit comments

Comments
 (0)