For some unknown reasons, the HPC cannot run too many instances of maxwell. To fix this issue, I use job array to control the maximal numbers of concurrent jobs.