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 ? ]
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