To start with slurm first of all check if you can the commandsbatch /lustre/nyx/bio/first/asarti/test.sh
Once you know better what you are doing, check how to submit array of jobs havin a look at: /lustre/nyx/bio/first/asarti/DPSimulation/ScriptSubmission_v0.sh