install the rugnux apart from jfjoch_viewer

This commit is contained in:
2026-08-27 14:57:03 +02:00
parent 546ace238d
commit db90904255
4 changed files with 61 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
# rugnux
Step 1: make sure you are in the `unx-mx_adm` group -- no -adm account needed, members can update the modules in `/opt/psi/MX` directly (if you have problems, please let the admins know)
Step 2: load the build tool (modbuild)
```
module load modbuild/2.1.3
```
Step 3: go into rugnux directory, update config.yaml to add the newest release version from https://gitea.psi.ch/mx/Jungfraujoch/releases and build the module with that release name -- the linux-cuda12 tarball is downloaded from the releases page automatically, no local tarball needed
```
cd rugnux
vi files/config.yaml
modbuild build 1.0.0-rc.164
```
Step 4: confirm that the module loads as expected
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env modbuild
pbuild::prep() { :; }
pbuild::configure() { :; }
pbuild::compile() { :; }
pbuild::install() {
# Release tag on gitea.psi.ch/mx/Jungfraujoch matches the module version,
# so the tarball is fetched per-version instead of shipped in the buildblock.
# https://gitea.psi.ch/mx/Jungfraujoch/releases/download/1.0.0-rc.164/rugnux-1.0.0-rc.164-linux-x86_64-cuda12.tgz
local -r tarball="rugnux-${V}-linux-x86_64-cuda12.tgz"
mkdir -p "${PREFIX}/bin"
cd "${PREFIX}/bin"
curl -fLO "https://gitea.psi.ch/mx/Jungfraujoch/releases/download/${V}/${tarball}"
curl -fLO "https://gitea.psi.ch/mx/Jungfraujoch/releases/download/${V}/${tarball}"
tar -xzf "${tarball}" --strip-components=1
rm "${tarball}"
}
+11
View File
@@ -0,0 +1,11 @@
---
format: 1
rugnux:
defaults:
group: MX
overlay: base
relstage: stable
versions:
1.0.0-rc.164:
config:
relstage: stable
+10
View File
@@ -0,0 +1,10 @@
#%Module
module-whatis "jfjoch viewer trying install offline processing for mx beamlines"
module-url "https://gitea.psi.ch/mx/Jungfraujoch/releases"
module-license "for internal testing right now"
module-maintainer "MX Data <jiaxin.duan@psi.ch>"
module-help "testing and learning how to install"
setenv JFJOCH $PREFIX/bin