To set up a DIALS development environment you start off with an empty directory.
On Linux and MacOS you can then run
$ wget https://raw.githubusercontent.com/dials/dials/main/installer/bootstrap.py
$ python bootstrap.pywhich will install a complete development environment into the directory conda_base and
download, configure, and compile cctbx, DIALS,
and xia2. You will find all the source code repositories
in the modules directory.
Once built, you need to load the DIALS development environment by running
$ . dialsFor more information please go to https://dials.github.io/
The constructor installers (built from construct.yaml) expose only the DIALS
programs, so activating DIALS does not put all of the bundled conda environment
on your PATH. After installing, activate DIALS for the current session with:
- Linux / macOS:
. setpaths.sh - Windows (cmd):
setpaths.bat - Windows (PowerShell):
. .\setpaths.ps1
These scripts live in the installation directory.
On Windows the installer also adds a Launch DIALS environment entry to the
Start menu, which opens a command window with DIALS already on PATH.