thanks genomax,
so should I change the resources like this:
#!/bin/bash
#SBATCH --job-name=nr # Job name
#SBATCH --mail-type=END,FAIL # Mail events (NONE, BEGIN, END, FAIL, ALL)
#SBATCH --ntasks=40 # Number of MPI ranks
#SBATCH --nodes=1 # Number of nodes
#SBATCH --time=8000:00:00 # Time limit hrs:min:sec
#SBATCH --partition=k2-lowpri
#SBATCH --mem=200G
many thanks