Before you start#
Python is a programming language run by a program called an interpreter. Your laptop and Euler are separate computers; copying an installed environment between them is not a reproducible setup.
| Selection | Lifetime | What it provides |
|---|---|---|
| Euler software modules | Current shell | Training software stack and Python |
| Project environment at its final path | Stored files | Isolated project interpreter and packages |
| Activation | Current shell | Selects that environment for commands here |
A new Slurm batch script must select its module and environment again. A check in a temporary shell verifies the installation without keeping your parent terminal activated. The command's explicit path is the installation target.
Predict which selections a fresh job needs before opening the batch fragment. First inspect the target; do not replace a valid environment.
Read the environment checks
The inspection checks ownership, activation path, Python and both pip entrypoints.
Creation exclusively claims an empty final directory; a failure is retained for
safe recovery. Only the complete verification prints euler-python-env-ok.
An absent success marker is a stop, not permission to delete the directory.
Create at the final path and retain a failed target for safe recovery. Select the module and environment inside each job.