My collegue just explained to me that this isnât going to work the way you want it to because /public/openmpiscript behaves differently on the head node than it does on all of the other nodes. On the head node it pays attention to the
arguments passed to it by HTCondor (from the queue statement). On the other nodes, it ignores those arguments, instead getting the arguments by talking to the head node. This is why only the args passed to the head node are being used by all of the jobs.
You need to use the method Jason suggested. If that doesnât work for you, you could have your job look in the .job.ad file to find the arguments that were passed to /public/openmpiscript -tj From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx>
On Behalf Of John M Knoeller Iâm sorry. the thing I asked you to try has the wrong type of braces. It should be (), not {}. like this queue arguments from ( mympiapp args1 mympiapp args2 ) Did you notice my mistake and correct it? because if you tried what I suggested you would have gotten an error message from condor_submit. If you did not, then the problem is that you are not submitting the file that you think you are.
try adding the arguments -dump test.out to your condor_submit command line and then look at the contents of test.out. You should see something like this at the end Args="mympiapp args1" ProcId=0 JobStatus=1 . ProcId=1 JobStatus=1 Args="mympiapp args2" . -tj From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx>
On Behalf Of Tiger Hu John, I tried your method but still got the same result. âArgs2â wasnât be used as before. Any ideas? Sent from my iPhone
|