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!
at
,cron
, something custom to the machine in question? – JigglyNaga Sep 07 '16 at 12:03qsub
the command that submits a job? I can't follow which program is calling (or trying to call)qsub
, and what programqsub
itself is submitting. Does "submit a job using the program" mean "use the program to submit a job", or "submit (a job that uses the program)"? – JigglyNaga Sep 14 '16 at 13:27qsub
is an executable on the system, how does minvappmpi call it "as a subroutine"? Does it use eg. the system() function, as insystem("qsub")
? – JigglyNaga Sep 16 '16 at 11:28