.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/swissmetro/generate_jed_run.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_auto_examples_swissmetro_generate_jed_run.py: Generate SLURM `.run` scripts for Biogeme experiments. This script scans the current directory for Python files whose names start with ``plot_`` and automatically generates corresponding SLURM ``.run`` submission scripts for each of them. Each generated ``.run`` file: - executes the matching Python script, - uses a predefined SLURM template (CPU-based, OpenBLAS, JAX/XLA enabled), and - writes both stdout and stderr to a log file named ``