aboutsummaryrefslogtreecommitdiff
path: root/src/crystfel_gui.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2022-01-12 12:47:01 +0100
committerThomas White <taw@physics.org>2022-01-12 12:47:01 +0100
commit48c02e71e5bf548180c0191645bb77dec01a5559 (patch)
treecb110d079e0864c35bc512b70f47692f1f76104a /src/crystfel_gui.c
parent5f4d0976a893aad5aca17daed96cb743f48bdd21 (diff)
SLURM: Copy environment from parent process
Unfortunately, several environments rely on "magic" environment variables to make things work. These need to be propagated. The path to the GUI will no longer be added to the PATH. This was intended to help when the indexing executables (mosflm, dirax etc) were found alongside the CrystFEL executables. However, it's highly likely that the path to the CrystFEL executables will be in PATH anyway. This way, running the SLURM jobs in the same environment as the GUI itself, also seems more compliant with the "principle of least surprise".
Diffstat (limited to 'src/crystfel_gui.c')
0 files changed, 0 insertions, 0 deletions