Okay Jaroslav
add the comunicator, so I will learn about how to read mpi.h.
Bests
Riccardo

--- Ven 20/11/09, Jaroslav Hajek <[email protected]> ha scritto:

Da: Jaroslav Hajek <[email protected]>
Oggetto: Re: [OctDev] Contribution to Octave-forge with a simple  
Open-MPIPackage
A: "Riccardo Corradini" <[email protected]>
Cc: "Søren Hauberg" <[email protected]>, [email protected], 
"Michael Creel" <[email protected]>
Data: Venerdì 20 novembre 2009, 15:56



On Fri, Nov 20, 2009 at 3:43 PM, Riccardo Corradini 
<[email protected]> wrote:


Sure no problem.
I used only MPI_COMM_WORLD because i simply wanted to make some tests and make 
the things very easy.
I was thinking about a special octave_value_MPI that has a method 
is_comunicator().


Deriving new octave_base_value subclasses in dynamically linked files is a 
little tricky, so I'd recommend not doing it unless needed. Since the 
communicator is always a fixed position argument, I think it doesn't need a 
separate class, besides, it's usually just a handle.


MPI_Comm is usually an integer, so I think we can just provide a pair of
MPI_Comm -> octave_value and octave_value -> MPI_Comm converters and choose an 
appropriate octave built-in type (int32, most likely).


I'll contribute this change if you agree.




I think also I have not implemented yet the recv octave_map and recv Cell, 
because I was focusing only on ND array and sparse matrix. I tested it on the 
past using pvm library. I will fix it with a test as soon as possible

Could you please tell me how you will update the files on svn by command line?
Thanks 
Riccardo


If you have a checkout of the repository, doing

svn update


will fetch any changes from the central server to your disk. If there are 
conflicts, you'll be asked to resolve them (merge).
To send a change to the server (commit), just edit some files and then do

svn commit -m "commit message"



If you're just starting with svn , I recommend you glance at a tutorial. The 
official manual is at
http://svnbook.red-bean.com/
but probably any tutorial you can google out will do.


hth

-- 
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz





      
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to