I have a program, called "minvappmpi", which is parallelised and itself calls qsub as a subroutine.
When I use the program on the cluster, it throws the error
qsub: command not found
If I want to submit another job using "qsub", then everything is fine. It is only when I call "qsub" inside my program that somehow the command is not found.
I think the issue is something to do with paths: somehow the environment I am working in knows where the executable "qsub" is sitting, but the cluster doesn't?
I'd like to know: firstly, how to make sure what the path is for the batch environment, and if it is different to the one for the login environment, and, secondly, if there is a way to change the path for the batch environment without root permissions?
Thanks so much for your help!