help-octave
[Top][All Lists]
Advanced

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

Re: mpirun octave hangs


From: Michael Creel
Subject: Re: mpirun octave hangs
Date: Wed, 7 May 2014 10:15:35 -0700 (PDT)

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.




--
View this message in context: 
http://octave.1599824.n4.nabble.com/mpirun-octave-hangs-tp4663924p4663940.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]