Skip to content

Commit

Permalink
add jupyterlab mc
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpintarelli committed Nov 14, 2024
1 parent b82b452 commit 5ebbc34
Show file tree
Hide file tree
Showing 6 changed files with 74 additions and 0 deletions.
5 changes: 5 additions & 0 deletions recipes/jupyterlab/v4.1.8/mc/compilers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
bootstrap:
spec: gcc@11
gcc:
specs:
- gcc@13
6 changes: 6 additions & 0 deletions recipes/jupyterlab/v4.1.8/mc/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: jupyterlab
spack:
commit: releases/v0.22
repo: https://github.com/spack/spack.git
store: /user-tools
description: Jupyterlab
27 changes: 27 additions & 0 deletions recipes/jupyterlab/v4.1.8/mc/environments.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
gcc-env:
compiler:
- toolchain: gcc
spec: gcc@13
mpi:
spec: [email protected]
gpu: Null
unify: true
specs:
- cmake
- fftw
- fmt
- hdf5+hl
- [email protected]
- openblas threads=openmp
- [email protected]
- py-pybind11
- [email protected]
variants:
- +mpi
views:
develop:
link: roots
uenv:
add_compilers: true
prefix_paths:
LD_LIBRARY_PATH: [lib, lib64]
6 changes: 6 additions & 0 deletions recipes/jupyterlab/v4.1.8/mc/extra/reframe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
default:
features: [osu-micro-benchmarks, mpi, serial, openmp]
cc: mpicc
cxx: mpic++
ftn: mpifort
activation: uenv view develop
23 changes: 23 additions & 0 deletions recipes/jupyterlab/v4.1.8/mc/modules.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
modules:
# Paths to check when creating modules for all module sets
prefix_inspections:
bin:
- PATH
lib:
- LD_LIBRARY_PATH
lib64:
- LD_LIBRARY_PATH

default:
arch_folder: false
# Where to install modules
roots:
tcl: /user-environment/modules
tcl:
all:
autoload: none
hash_length: 0
exclude_implicits: true
exclude: ['%[email protected]', 'gcc %[email protected]']
projections:
all: '{name}/{version}'
7 changes: 7 additions & 0 deletions recipes/jupyterlab/v4.1.8/mc/post-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export PATH=/user-environment/env/default/bin:$PATH
pip install --no-cache jupyterhub==4.1.5 pyfirecrest==2.1.0 SQLAlchemy==1.4.52 oauthenticator==16.0.7 jupyterlab==4.1.8

git clone https://github.com/eth-cscs/firecrestspawner.git
cd firecrestspawner
git checkout test-eiger
pip install .

0 comments on commit 5ebbc34

Please sign in to comment.