diff options
author | Thomas White <taw@physics.org> | 2022-01-12 12:47:01 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2022-01-12 12:47:01 +0100 |
commit | 48c02e71e5bf548180c0191645bb77dec01a5559 (patch) | |
tree | cb110d079e0864c35bc512b70f47692f1f76104a /src/crystfel_gui.c | |
parent | 5f4d0976a893aad5aca17daed96cb743f48bdd21 (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