Backends and Diagnostics

The symmetrix-xl distribution includes CPU/OpenMP. Detect the local supported backend first, then install an accelerator extension whose architecture exactly matches the deployment GPU:

python tools/symmetrix_build.py detect --backend auto
python tools/symmetrix_build.py install --backend cuda --arch smNN \
    --cuda-root /path/to/cuda
symmetrix backend list
symmetrix doctor --json

Replace smNN and /path/to/cuda with the target architecture and toolkit on the deployment system. Build one backend per GPU architecture. NVRTC recompiles direct artifacts but cannot replace the ahead-of-time Kokkos and SpheriCart code in an extension. symmetrix doctor is a fresh-process runtime smoke test: it checks OpenMP runtime/worker participation on CPU and device selection plus a sentinel kernel on CUDA/HIP. Use the deployment target’s compiler, runtime, and scheduler documentation when preparing a cluster build.

symmetrix backend list marks a usable accelerator or CPU fallback with *. Use SYMMETRIX_BACKEND=cuda13-sm80 before Python starts to select a particular compatible installed backend. symmetrix backend show [selector] resolves the automatic or explicit selection; it reports an error for an incompatible GPU. Add --probe to load the selected extension and print its runtime OpenBLAS configuration, including whether the build is OpenMP-enabled and its active thread count, OpenMP runtime compatibility, and maximum active levels, just like symmetrix doctor.

Release qualification scope

Public documentation states approved release behavior only. Before final wheel builds, internal pre-release verification runs the selected CPU/CUDA/HIP correctness cases and one OpenMP scaling case. Its performance results detect regressions and are not public unless separately approved. Correctness must pass with no unacceptable regression. Public wheel checks retain archive/install/RECORD/catalog identity, strict native-first doctor results, one-runtime OpenBLAS compatibility, no-native-issues status, source/Python/catalog identity, and applicable numerical smoke/E-F/S checks.

To install a published backend wheel from the command line, use:

symmetrix backend install --arch cuda13-sm120

The default is --arch auto. Automatic installation requires one visible GPU architecture and infers the CUDA or ROCm major version. Use an explicit selector when multiple GPUs are visible or the deployment host has no device. The command uses uv when it is available, otherwise python -m pip, and prints the full resolution details, including the detected architecture, toolkit version and source, selected package, and Python environment, before running it. CUDA 13 hosts automatically fall back to a published CUDA 12 wheel for the same architecture when no CUDA 13 wheel is available; explicit selectors do not fall back. On CPU-only hosts, automatic mode explains that the bundled CPU backend needs no download. If no pre-compiled wheel resolves, it reports the attempted selectors and a source-build command.

External CUDA FFT runtime

CUDA builds load cuFFT on the first particle-mesh FFT request, not when importing the backend. Symmetrix CUDA wheels do not contain NVIDIA’s cuFFT or cuFFTW libraries. Normal dependency installation supplies nvidia-cufft-cu12 (cuFFT ABI 11) for CUDA 12 or nvidia-cufft (cuFFT ABI 12) for CUDA 13. These are required dependencies, not an optional FFT extra.

The selected backend registers the corresponding package’s absolute library path without loading it. symmetrix doctor --json explicitly probes the runtime and reports its path, version, and load failure. The static particle-mesh and FourierD3 capability reports describe the build; they do not prove that an external runtime is installed. A missing runtime blocks FFT operations but not unrelated calculations; no CPU or alternative FFT fallback is substituted.

For a source/C++ deployment, the matching system SONAME can be used instead. Set SYMMETRIX_CUFFT_LIBRARY=/absolute/path/to/libcufft.so.12 (ABI 11 for CUDA 12) before starting the process to override discovery. An invalid override is an error, not a request to search other toolkits. Once cuFFT loads successfully, its provider remains fixed for the process lifetime. Do not mix CUDA majors through LD_LIBRARY_PATH.

An OpenMP-enabled OpenBLAS build using the same OpenMP runtime as Kokkos is preferred for CPU Kokkos deployments. Symmetrix-XL selects compatible builds automatically for host GEMMs and prints a runtime warning when the loaded OpenBLAS build uses pthreads instead.