On Thu, Nov 26, 2009 at 10:45 AM, Riccardo Corradini <
[email protected]> wrote:

> Hi all,
> I have updated the example octave_comm_test.cc ( I have just inserted a
> check on the input).
> Let me know what you think.
> Bests
> Riccardo
>
>
I haven't be able to get things to compile with this new communicator stuff.
>From a check out right now, "make all" gives me

mkoctfile -c -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi
comm-util.cc
comm-util.cc: In function ‘ompi_communicator_t* do_get(const octave_value&)
[with T = int]’:
comm-util.cc:39: error: invalid conversion from ‘int’ to
‘ompi_communicator_t*’
comm-util.cc: At global scope:
comm-util.cc:34: error: explicit template specialization cannot have a
storage class
comm-util.cc: In function ‘ompi_communicator_t* do_get(const octave_value&)
[with T = long int]’:
comm-util.cc:51: error: invalid conversion from ‘long int’ to
‘ompi_communicator_t*’
comm-util.cc: At global scope:
comm-util.cc:46: error: explicit template specialization cannot have a
storage class
comm-util.cc:72: error: explicit template specialization cannot have a
storage class
mich...@yosemite
:~/Desktop/of/octave/trunk/octave-forge/extra/openmpi_ext/src$

I'm using openmpi 1.3.2 from Ubuntu:
mich...@yosemite:~$ dpkg -l openmpi*
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                Version             Description
+++-===================-===================-======================================================
ii  openmpi-bin         1.3.2-3ubuntu1      high performance message passing
library -- binaries
ii  openmpi-common      1.3.2-3ubuntu1      high performance message passing
library -- common fil
un  openmpi-dev         <none>              (no description available)
un  openmpi-libs0       <none>              (no description available)
mich...@yosemite:~$ dpkg -l libopenm*
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                Version             Description
+++-===================-===================-======================================================
ii  libopenmpi-dev      1.3.2-3ubuntu1      high performance message passing
library -- header fil
un  libopenmpi1         <none>              (no description available)
ii  libopenmpi1.3       1.3.2-3ubuntu1      high performance message passing
library -- shared lib
mich...@yosemite:~$


The original checkins of MPI_Probe and MPI_Iprobe do work for me, and I'm
making a montecarlo.m that uses them. If you have time to add new functions,
I'd like to see MPI_Bcast. I think that would complete the list of things I
use for my econometric applications.

Cheers, Michael
------------------------------------------------------------------------------
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