It is possible that you need to run jobs under "srun" rather than mpiexec. This is a common case with SLURM. However, the exact details depend on your cluster setup, so you really need a sysadmin to show you what the proper way to submit a job is, manually.
So, talk to the admins about how the input script (that you attached) should be modified in order to run correctly, e.g. by changing the last line to "srun" and changing some of the resource allocation commands (and, in particular, srun probably doesn't recognize the -ppn option, but also doesn't need it).
After that, we can help you set up the Job Manager to automate this for future jobs.