Skip to content

Commit

Permalink
test quotas and slurm config
Browse files Browse the repository at this point in the history
  • Loading branch information
mboisson committed Sep 20, 2024
1 parent df421bd commit 498896c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 3 deletions.
23 changes: 23 additions & 0 deletions test-mc-infra-cours/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,26 @@ jupyterhub::jupyterhub_config_hash:

profile::freeipa::mokey::require_verify_admin: false
profile::software_stack::lmod_default_modules: ['StdEnv/2023', 'gcc/12.3', 'openmpi/4.1.5', 'python/3.10', 'ipython-kernel/3.10']

profile::users::ldap::users:
dummy_cours1:
count: 1
groups: ['def-cours1']

dummy_cours2:
groups: ['def-cours2']

dummy_cours3:
count: 1
groups: ['def-cours3']

profile::slurm::accounting::accounts:
def-cours1:
Fairshare: 1
MaxJobs: 1
def-cours2:
Fairshare: 1
MaxJobs: 10
def-cours3:
Fairshare: 1
MaxJobs: 10
14 changes: 11 additions & 3 deletions test-mc-infra-cours/custom.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,19 @@ locals {
ncpupool = 1
ngpu = 0
ngpupool = 1
home_size = 100
project_size = 100
scratch_size = 50
# home_size = 100
# project_size = 100
# scratch_size = 50
image_cpu = "snapshot-cpunode-2024-R810.4"
image_gpu = "snapshot-gpunode-2024-R810.4"

volumes = {
nfs = {
home = { size = 100, quota = "1g" }
project = { size = 500 }
scratch = { size = 400, quota = "4g" }
}
}
}

name = "test-mc-infra-cours"
Expand Down

0 comments on commit 498896c

Please sign in to comment.