run Escript on Savanna with srun
Asked by
Zhenyu Han
Hi,
I used ".sh" file to submit Escript missions to Savanna.
For example:
-------
#!/bin/bash -l
#SBATCH --job-name=esys_tr1
#SBATCH --comment="esctry1"
#SBATCH --partition=workq
#SBATCH --mail-
#SBATCH --mail-user=xxxxx
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=20
#SBATCH --mem=10000
#SBATCH --time=16:00:00
srun run-escript -n 1 -p 2 ./regula.py
-------
Escript did not work.
And "srun" will output errors "srun: Job step creation temporarily disabled, retrying"
Why did that happen?
While, if I delete "srun" and ran "run-escript -n 1 -p 2 ./regula.py " directly in ".sh" files, Escript could work well.
Thanks in advance.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Bob
- Solved:
- Last query:
- Last reply:
To post a message you must log in.