Question
I submitted 2 jobs for the first time in a HPC to test it. It's a very light calculation that takes almost 5 minutes or less in my desktop. But it has been almost 1 hour since I submitted the job in the HPC with SLURM using the command sbatch script.sl
and I still didn't see an output from my calculations.
When I use the command squeue -u username
I get the folloming :
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
192137 shortq one username PD 0:00 2 (Nodes required for job are DOWN, DRAINED or reserved for jobs in higher priority partitions)
192138 shortq one username PD 0:00 2 (Priority)
I tried to verify the status of the calculation by the command sacct -j 192138 -o start,end
but I got the following result (same thing for the other job):
Start End
------------------- -------------------
Unknown Unknown
Scripts that I used
For Job 192137:
#!/bin/bash
#SBATCH -J one
#SBATCH --ntasks=64
#SBATCH --ntasks-per-core=1
#SBATCH --partition=shortq
#SBATCH -o %x-%j.out
#SBATCH -e %x-%j.err
#load QuantumESPRESSO
module load QuantumESPRESSO/intel/7.0
export OMP_NUM_THREADS=1
#prepare work dir
export WORK_DIR=/data/$USER/Qe${SLURM_JOB_ID}
export INPUT_DIR=$PWD/myInput
[[ -z $INPUT_DIR ]] && { echo "Error: Input Directory (INPUT_DIR) is not defined "; exit 1; }
[[ ! -d $INPUT_DIR ]] && { echo "Error:Input Directory (INPUT_DIR) does not exist "; exit 1; }
export ESPRESSO_PSEUDO=/data/$USER/pseudo
mkdir -p $WORK_DIR
cp -R $INPUT_DIR/* $WORK_DIR
cd $WORK_DIR
#run
echo "Running Quantum Espresso with $SLURM_NTASKS at $WORK_DIR"
mpirun -np $SLURM_NTASKS pw.x -i 1.in > 1.out
echo "Done"
For Job 192138:
#!/bin/bash
#SBATCH -J one
#SBATCH --ntasks=64
#SBATCH --ntasks-per-core=1
#SBATCH --time=00:10:00
#SBATCH --partition=shortq
#SBATCH -o %x-%j.out
#SBATCH -e %x-%j.err
#load QuantumESPRESSO
module load QuantumESPRESSO/intel/7.0
export OMP_NUM_THREADS=1
#prepare work dir
export WORK_DIR=/data/$USER/Qe${SLURM_JOB_ID}
export INPUT_DIR=$PWD/myInput
[[ -z $INPUT_DIR ]] && { echo "Error: Input Directory (INPUT_DIR) is not defined "; exit 1; }
[[ ! -d $INPUT_DIR ]] && { echo "Error:Input Directory (INPUT_DIR) does not exist "; exit 1; }
export ESPRESSO_PSEUDO=/data/$USER/pseudo
mkdir -p $WORK_DIR
cp -R $INPUT_DIR/* $WORK_DIR
cd $WORK_DIR
#run
echo "Running Quantum Espresso with $SLURM_NTASKS at $WORK_DIR"
mpirun -np $SLURM_NTASKS pw.x -i 1.in > 1.out
echo "Done"
squeue
output, the column labeledNODELIST (REASON)
lists either the nodes a calculation is running on or the reason it isn't running yet. Both your job submissions seemed to be marked as having low priority, so they haven't started yet. $\endgroup$NODELIST (REASON)
it's giving meQOSMaxCpuPerUserLimit
what does that mean, please? $\endgroup$