It would be hard to answer your question without having more details about it. Do you get an output file in return? Is there any mention of an error in it, if so which one? What information do you get out of your log and error file?
In that case then I'm not really sure where the error could be coming from. Have you tried reducing the "ntasks-per-node" number in your submit script? I know by experience that for some frequency calculations I run into a memory error if I try to run it as usual with "ntasks-per-node=32", but when I reduce it to "ntasks-per-node=8" it runs smoothly.