Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| habrok:advanced_job_management:passing_parameters_to_a_job_script [2023/03/22 13:22] – fokke | habrok:advanced_job_management:passing_parameters_to_a_job_script [2026/03/16 13:41] (current) – pedro | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| Example for a Python script: | Example for a Python script: | ||
| - | < | + | < |
| #!/bin/env python | #!/bin/env python | ||
| import sys | import sys | ||
| Line 21: | Line 21: | ||
| This file should be saved as python_passing_parameters.py, | This file should be saved as python_passing_parameters.py, | ||
| - | < | + | < |
| #!/bin/bash | #!/bin/bash | ||
| #SBATCH --time=00: | #SBATCH --time=00: | ||