[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mpirun octave hangs
From: |
c. |
Subject: |
Re: mpirun octave hangs |
Date: |
Thu, 8 May 2014 13:51:29 +0200 |
On 7 May 2014, at 19:15, Michael Creel <address@hidden> wrote:
> Ah, perhaps I see now. The mpi package for Octave is not used interactively.
> You need to use something like:
>
> address@hidden:~$ mpirun -np 3 octave -q --eval "MPI_Init;
> COMM=MPI_Comm_Load('NEWORLD'); node=MPI_Comm_rank(COMM); printf('hello from
> %d\n', node); MPI_Finalize"
>
> the output of which is
>
> hello from 0
> hello from 1
> hello from 2
> ans = 0
> ans = 0
> ans = 0
> address@hidden:~$
>
> There was a package called MPITB which worked interactively, which was quite
> neat. That is out of date for modern Octaves, though.
>
Michael,
I don't think that's what the Original Poster is asking about, he says
'I'm using octave for MPI calculations, using wrappers to the mpi
routines that I wrote myself.' so the "mpi" package from Octave forge is
not involved here.
c.