[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Cannot use multiple arguments to run MPI application in "parallel" universe


The way openmpiscript works is that mpirun is executed on a head node, which then sets up worker processes on all of the nodes. Setting up the worker processes includes passing arguments that were passed to mpirun on the head node. Thus, only arguments that are passed to the head node ("args1") will be reflected in your mpi application. I believe this is how mpirun works in general... I'm not aware of how to pass per-worker argument lists to mpi applications.

What is it that your job is trying to accomplish? Is "mympiapp" meant to be run with a controlling head process?


On Fri, Oct 26, 2018 at 11:04 AM hufh <hufh2004@xxxxxxxxx> wrote:

I tried to run a OpenMPI application with different arguments by writing two "queue" section in"parallel" universe, 

Here is my submission file:
arguments="mympiapp args1"

arguments="mympiapp args2"

I am expecting that two "mympiapp" instances running with "args1" and "args2" respectively, each running on two machines, but the reality is that only the first one("mympiapp args1") is running, but on four machines, not two machines, looks like it is using the resource claimed in two queues).

Who can give me hand? Thanks a lot.


HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at: