build jfjoch viewer
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
jfjviewer
|
||||
|
||||
Step 1: login with your -adm account
|
||||
|
||||
```
|
||||
[smith_k@ra-l-005 xds]$ kinit smith_k-adm
|
||||
[smith_k@ra-l-005 xds]$ aklog
|
||||
```
|
||||
|
||||
Step 2: load the latest Pmodules package
|
||||
|
||||
```
|
||||
module use unstable
|
||||
module load Pmodules/1.1.20
|
||||
```
|
||||
|
||||
Step 3: go into xds directory, update config.yaml to add newest release version and build module with that release name (e.g. below is for 20240724)
|
||||
|
||||
```
|
||||
cd jfjviewer
|
||||
vi files/config.yaml
|
||||
./build 1.0.0-rc.156
|
||||
```
|
||||
|
||||
Step 4: confirm that the module loads as expected
|
||||
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
|
||||
pbuild::prep() { :; }
|
||||
|
||||
pbuild::configure() { :; }
|
||||
|
||||
pbuild::compile() { :; }
|
||||
|
||||
pbuild::install() {
|
||||
mkdir "${PREFIX}/bin"
|
||||
cd "${PREFIX}/bin"
|
||||
tar -xvzf "${BUILDBLOCK_DIR}/jfjoch_viewer-1.0.0-rc.156-linux-cuda12.tgz" --strip-components=1
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
format: 1
|
||||
jfjoch_viewer:
|
||||
defaults:
|
||||
group: MX
|
||||
overlay: base
|
||||
relstage: stable
|
||||
versions:
|
||||
1.0.0-rc.156:
|
||||
config:
|
||||
relstage: stable
|
||||
build_requires: ["cuda/12.8.1"]
|
||||
@@ -0,0 +1,10 @@
|
||||
#%Pmodule
|
||||
|
||||
module-whatis "jfjoch viewer trying install offline processing for mx beamlines"
|
||||
module-url "https://gitea.psi.ch/mx/-/packages/rpm/jfjoch-viewer"
|
||||
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
|
||||
Reference in New Issue
Block a user