質問

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top