I am trying to run a program called HPVDetector inside the Compute Canada cluster which uses SLURM to schedule jobs. For some reason, when I simply execute the program inside the head node it works perfectly, but when I submit it as a job with sbatch or srun, it takes MUCH longer (not counting queue waiting times), and the output files are all empty (even though the program shows no errors throughout its run). I have looked absolutely everywhere for a solution or explanation but I can find none. I am new to HPC and would really appreciate any help. Thank you so much in advance.
Might want to familiarize yourself with this: https://slurm.schedmd.com/sbatch.html
Thank you very much! This looks extremely useful and complete. Will definitely take a look.