When I submit the following Slurm file with sbatch, the job has an immediately running status. However, the Python script runs after about 10 minutes. Also, I tried the same with srun command, and after pressing Enter, again srun runs after 10 minutes. What is the reason for this waiting?
Slurm file:
#!/bin/bash
#SBATCH --job-name=Van-BIG_lr
#SBATCH --nodes=1
source activate open-mmlab-swim
python den.py