Please have a look at the section Running Jobs of the User Portal. Consider using the Slurm JobScript generator to create an efficient Slurm batch script.
If you wish to improve the performance of your code, have a look at the Performance Tools on the systems.