Question

I have a program that takes some value from user (parameter is passed using boost option). ./prog --my-value 32

Its fine till here, but now I am running the program in multi nodes and multi cores using qsub script(and I am allowed to use pbs script only) and want to pass the argument. qsub ./xyz.sh --my-value 32 [ how could I do this .. I mean can I do this somehow ? ]

Était-ce utile?

La solution

Its simple, in the pbs script after you specify your executable,
APP_PATH= /.. (what ever app) APP_OPTION = (what ever goes here) pbsdsh - u -v ... --my-value 32

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top