Files
Jungfraujoch/docs/RUGNUX_DOWNLOAD.md
leonarski_f 63f5f96132
Build Packages / Create release (push) Successful in 9s
Build Packages / build:portable:macos-arm64:nocuda (push) Successful in 5m19s
Build Packages / build:rugnux:linux-aarch64:cuda (push) Successful in 10m26s
Build Packages / build:portable:linux-x86_64:nocuda (push) Successful in 19m33s
Build Packages / build:portable:windows-x86_64:nocuda (push) Successful in 23m17s
Build Packages / build:portable:linux-x86_64:cuda (push) Successful in 23m28s
Build Packages / build:jfjoch:ubuntu2204:nocuda (push) Successful in 24m38s
Build Packages / build:portable:windows-x86_64:cuda (push) Successful in 27m30s
Build Packages / HDF5 consumer tests (DIALS, XDS) (push) Successful in 29m4s
Build Packages / build:jfjoch:rocky8:nocuda (push) Successful in 29m19s
Build Packages / build:jfjoch:rocky9:nocuda (push) Successful in 29m31s
Build Packages / build:jfjoch:ubuntu2404:nocuda (push) Successful in 23m19s
Build Packages / Generate python client (push) Successful in 28s
Build Packages / Build documentation (push) Successful in 1m22s
Build Packages / build:jfjoch:rocky8:cuda-sls9 (push) Successful in 24m39s
Build Packages / build:jfjoch:rocky9:cuda-sls9 (push) Successful in 29m40s
Build Packages / build:jfjoch:rocky8:cuda (push) Successful in 28m31s
Build Packages / build:jfjoch:ubuntu2204:cuda (push) Successful in 24m33s
Build Packages / build:jfjoch:ubuntu2404:cuda (push) Successful in 27m45s
Build Packages / build:jfjoch:rocky9:cuda (push) Successful in 29m25s
Build Packages / Unit tests (push) Successful in 1h35m24s
Build Packages / Validation Battery (push) Successful in 35m45s
v1.0.0-rc.180 (#91)
* Rugnux: A placed model is refined by default - restrained maximum-likelihood refinement on the GPU (CPU without one), writing `<prefix>_refined_model.cif`, `<prefix>_refined_maps.mtz` and the difference-map blobs in `<prefix>_blobs.json`; `--no-refine` skips it.
* Rugnux: `--mode refine` refines a model against merged structure factors from an MTZ or mmCIF file.
* Rugnux: The embedded restraint dictionary covers amino acids, nucleotides including common modified RNA nucleotides, common cofactors, crystallisation additives, waters and ions, with metal sites restrained from the model's LINK records.
* Rugnux: A model or reference file can be given among the inputs in any order, recognised by its contents.
* Rugnux: The geometry refinement algorithm option is now `-r, --geom-refine` (was `--refine`).
* Rugnux: Serial stills resolve the indexing ambiguity from the data when no model or reference is given, reject merge outliers by default, follow the run's measured rocking curve in prediction and partiality (also in `--mode scale`), and index reproducibly on the GPU.
* Rugnux: Reflections touching the beam-stop shadow are not integrated, reflections coarser than the low-resolution limit are merged and written (but kept out of the scale fit), and the polarisation plane is measured more reliably.
* Rugnux: Small-molecule runs report unit-cell e.s.d.s, in a SHELX `.ins` beside the `.hkl` and in the mmCIF.
* jfjoch_broker: Live Rugnux refines the uploaded model after placement; the web frontend's Rugnux live page has a hero panel with resolution, ISa, space group, placement and refined R-work/R-free, and its Mol* viewer shows the refined model and maps.
* Documentation: A new front page with download pages for Rugnux and the viewer, and the technical reference reorganised below it.
* Build: The fast-feedback indexer is part of the source tree instead of being downloaded at build time.

Reviewed-on: #91
Co-authored-by: Filip Leonarski <filip.leonarski@psi.ch>
2026-10-27 13:18:42 +01:00

3.0 KiB

Download Rugnux

rugnux is one self-contained executable: no CUDA toolkit, no Qt, no service to run. Take the archive for your machine, unpack it into a directory of its own, and run it. The links point at the current release; the full list of what each release ships is on its release page.

.. jfjoch-downloads:: rugnux

On a machine with an NVIDIA GPU take the GPU archive: it is the only one that uses the card, and it also runs on a machine without one (it reports zero CUDA devices and takes the CPU path). The CPU only archive is smaller and for machines that will never have a GPU. A V100 needs the CUDA 12 build; the CUDA 13 builds start at Turing (T4). The driver versions and the GPU generations each build covers are in Release contents.

After downloading

The archive has no top-level directory: it unpacks straight into bin/ and share/, so always give it a directory of its own.

mkdir -p ~/rugnux
tar xzf rugnux-<version>-linux-x86_64-cuda12.tgz -C ~/rugnux      # Linux, macOS
~/rugnux/bin/rugnux                                               # prints the usage

On Windows, extract the .zip into a folder and run bin\rugnux.exe from a terminal. On macOS the binary is signed and notarized; the first run of a freshly downloaded copy checks the notarization online.

Nothing is written outside that directory, nothing needs root, and several versions can sit side by side; to remove one, delete its directory. Put bin/ on your PATH to type rugnux rather than the full path, then:

rugnux dataset_master.h5

Rugnux takes it from there: what the run writes, what the terminal shows and the few options worth knowing.

Linux packages

On RHEL / Rocky 8 and 9 and Ubuntu 22.04 / 24.04, rugnux is also a package of its own in the package repositories, which keeps it current with the system's package manager:

sudo dnf install rugnux          # RHEL / Rocky
sudo apt install rugnux          # Ubuntu

The package depends on nothing from the acquisition side and installs /usr/bin/rugnux. The repository's CUDA variant keeps cuFFT as a system dependency, where the archive above links it in; either works on the same machine.

From source

cmake -S . -B build -DJFJOCH_RUGNUX_ONLY=ON builds rugnux alone, on Linux, macOS and Windows, with every dependency fetched during the first configure. The flags that match the released binaries, and what a build needs on a Mac, are in Installing Rugnux ▸ Building from source.

Memory and hardware

A run wants host and GPU memory in proportion to the number of reflections it integrates, not to the detector: 16 GB of RAM and a 6 GB card for an ordinary sweep, 32 GB and 8 GB for the largest measured, and far more for a very large unit cell. The sizing table and the flags that lower it are in Installing Rugnux ▸ Memory.