Files

33 lines
1.6 KiB
Plaintext

#%Module1.0
module-whatis "Olex2 - small-molecule structure solution, refinement and analysis: GUI (olex2) and console (olex2c)"
module-url "https://www.olexsys.org/olex2"
module-license "BSD - https://www.olexsys.org/olex2/docs/getting-started/installing-olex2/open-source/"
module-maintainer "MX Data <jiaxin.duan@psi.ch>"
module-help "
Olex2 is a free, open-source (BSD) package for determining, visualising and
analysing small-molecule crystal structures (solution, refinement with
olex2.refine/ShelXL, reports), built on cctbx/smtbx.
This module installs the official OlexSys Linux x86_64 distribution 1:1 and
puts two launchers on PATH:
olex2 the wxWidgets GUI (needs an X display; uses software OpenGL
by default, export LIBGL_ALWAYS_SOFTWARE=0 to override)
olex2c the console / headless Olex2 - same engine, same commands
(reap, refine, solve, ...), no GUI, scriptable in batch jobs.
Both set LD_LIBRARY_PATH/PYTHONHOME for the bundled CPython 3.8 and cctbx
and never run the vendor auto-updater (shared read-only install).
Per-user data (DataDir) lives in ~/.olex2. The vendor Python API (olx, olex
modules) is only available from inside olex2/olex2c, not as a system python.
"
# Install root (= Olex2 BaseDir): sample_data, sysroot, version.txt live here.
# Our own name on purpose - OLEX2_DIR is a vendor variable that re-targets
# the auto-updater, so it must stay unset.
setenv OLEX2_ROOT $PREFIX
# Launchers only: the raw binaries, the vendor 'start' script (auto-updater)
# and the private python live under $PREFIX root and stay off PATH.
prepend-path PATH $PREFIX/bin