FWIW: OpenMPI does support spawning of both MPI and non-MPI jobs. If you are
spawning a non-MPI job, then you have to -tell- us that so we don’t hang trying
to connect the new procs to the spawning proc as per MPI requirements.
This is done by providing an info key to indicate that the child job
On 9 October 2015 at 12:05, simona bellavista wrote:
>
>
> 2015-10-09 9:40 GMT+02:00 Lisandro Dalcin :
>>
>> On 8 October 2015 at 14:54, simona bellavista wrote:
>> >
>>
>> >>
>> >> I cannot figure out how spawn would work with a string-command. I tried
>> >> MPI.COMM_SELF.Spawn(cmd, args=None,ma
2015-10-09 9:40 GMT+02:00 Lisandro Dalcin :
> On 8 October 2015 at 14:54, simona bellavista wrote:
> >
>
> >>
> >> I cannot figure out how spawn would work with a string-command. I tried
> >> MPI.COMM_SELF.Spawn(cmd, args=None,maxproc=4) and it just hangs
> >
>
> MPI.COMM_SELF.Spawn("/bin/echo",
On 8 October 2015 at 14:54, simona bellavista wrote:
>
>>
>> I cannot figure out how spawn would work with a string-command. I tried
>> MPI.COMM_SELF.Spawn(cmd, args=None,maxproc=4) and it just hangs
>
MPI.COMM_SELF.Spawn("/bin/echo", args=["Hello",
"World!"],maxprocs=1).Disconnect()
Could you
iirc, MPI_Comm_spawn should be used to spawn MPI apps only.
and depending on your interconnect, fork might not be supported from an MPI
app.
that being said, I am not sure MPI is the best way to go.
you might want to use the batch manager api to execute task on remote
nodes, or third party tools s
2015-10-08 12:09 GMT+02:00 simona bellavista :
>
>
> 2015-10-07 14:59 GMT+02:00 Lisandro Dalcin :
>
>> On 7 October 2015 at 14:54, simona bellavista wrote:
>> > I have written a small code in python 2.7 for launching 4 independent
>> > processes on the shell viasubprocess, using the library mpi4p
2015-10-07 14:59 GMT+02:00 Lisandro Dalcin :
> On 7 October 2015 at 14:54, simona bellavista wrote:
> > I have written a small code in python 2.7 for launching 4 independent
> > processes on the shell viasubprocess, using the library mpi4py. I am
> getting
> > ORTE_ERROR_LOG and I would like to u
On 7 October 2015 at 14:54, simona bellavista wrote:
> I have written a small code in python 2.7 for launching 4 independent
> processes on the shell viasubprocess, using the library mpi4py. I am getting
> ORTE_ERROR_LOG and I would like to understand where it is happening and why.
>
> This is my
I have written a small code in python 2.7 for launching 4 independent
processes on the shell viasubprocess, using the library mpi4py. I am
getting ORTE_ERROR_LOG and I would like to understand where it is happening
and why.
This is my code:
#!/usr/bin/python
import subprocess
import re
import sys