I've recently started a new job and need to run some scripts on the HPC through Slurm.
My scripts are written in Python, and therefore I want to execute these using python script.py in my .slurm file.
However, when I try to run the .slurm file, it doesn't seem to be able to call the python scripts. I've tried loading the python environment using module load anaconda3, and variations thereof (e.g. module load python, etc.). Attached is my array.slurm file, for reference(.slurm file). I've left the account and mail-user empty for uploading here for anonymity, but I have these in when I run the script.
The error file output by Slurm indicates the following:
/var/spool/slurmd/job220829/slurm_script: line 19: module: command not found
Can someone offer practical guidance? I need to run these Python scripts as soon as possible.