The installers are the CPU builds for macOS and Windows. The linux installer is a GPU build for the NVIDIA Ampere architecture (you will need CUDA 11).
To install on unix (.sh
installers), run
bash <installer> -b -p <installation directory>
The <installation directory>
is where the program will reside. The -b
flag sets the installation to batch mode. This skips any interactive prompts during the installation process. Then update your $PATH
to add the bin
directory.
For bash
export PATH=<installation directory>/bin:${PATH}
and for csh
setenv PATH <installation directory>/bin:${PATH}
To use the GPU for simtbx.sim_view
, you must set DIFFBRAGG_USE_KOKKOS=1
in your environment. For bash
, the command would be
export DIFFBRAGG_USE_KOKKOS=1
and for csh
, the command would be
setenv DIFFBRAGG_USE_KOKKOS 1