You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any documentation for how to use scoop with SLURM?
One of the main things I'm wondering about is whether to provide a hosts file to scoop or not when running it from SLURM. Does it automatically figure out the hosts and run simulations on them otherwise?
#!/bin/bash
#SBATCH --mail-user=abc@xyz.com
#SBATCH --mail-type=ALL
#SBATCH --nodes=7
#SBATCH --ntasks=72
#SBATCH --time=99:00:00
#SBATCH --mem=10G
#SBATCH --output=python_job_slurm.out
# Which one is correct?
python -m scoop --hostfile hosts.txt my-script.py
python -m scoop my-script.py
and I run it with sbatch python.slurm
The text was updated successfully, but these errors were encountered:
that said, the parsing fails for me (the code you see above is not the one of the latest release!), so at the moment i'm running manually with python -m scoop --host ... my-script.py, which seems to work
Is there any documentation for how to use scoop with SLURM?
One of the main things I'm wondering about is whether to provide a hosts file to scoop or not when running it from SLURM. Does it automatically figure out the hosts and run simulations on them otherwise?
and I run it with
sbatch python.slurm
The text was updated successfully, but these errors were encountered: