Files
MX_Pmodule/adxv/README.md
T

42 lines
1.3 KiB
Markdown

# adxv
Adxv — display and analyze X-ray diffraction images (ADSC, MarCCD, CBF,
XDS `.pck`, EDF, NumPy, HDF5, TIFF, raw ...). X11/Motif GUI.
- Upstream: https://adxv.scripps.edu/ (manual: https://adxv.scripps.edu/adxv/AdxvUserManual.pdf)
- License: free for everyone, no registration/fee; binary-only, no source
## How it is built
No build: the recipe downloads the prebuilt, sha-pinned
`adxv.x86_64CentOS7` binary (CentOS7 build runs fine on RHEL8) and
installs it as `$PREFIX/bin/adxv`. Runtime needs system X11 + Motif
(`motif` RPM, libXm) on the execution host and an X server.
## Building on Ra
```sh
module use unstable && module load modbuild/2.1.3
cd adxv
modbuild build \
--tmpdir=/das/work/p21/p21515/.cache/Pmodules \
--distdir=/das/work/p21/p21515/.cache/Pmodules \
1.9.15
module use MX unstable && module load adxv/1.9.15
```
## Verifying the install
```sh
which adxv # -> /opt/psi/MX/adxv/1.9.15/bin/adxv
ldd $(which adxv) # no "not found" lines (libXm etc. resolve)
adxv -help # usage text; GUI itself needs X
```
## Adding a new version
Check the download section on https://adxv.scripps.edu/adxv.html for the
new `adxv_<ver>/adxv.x86_64CentOS7` path, add version + binary sha256 in
`files/config.yaml` (`sha256sum` the downloaded binary), then build as
above.