help-octave
[Top][All Lists]
Advanced

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

Re: octave - compile error in send.cc


From: Javier Fernández
Subject: Re: octave - compile error in send.cc
Date: Tue, 17 Mar 2009 17:11:11 +0100
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

"m.vaessen" wrote:
Hello,

I want to install the parallel toolbox. I downloaded the sources from
http://atc.ugr.es/javier-bin/mpitb .

Hello,

I think you might have inadvertently downloaded "parallel octave" from its home URL at tohoku.ac, instead of MPITB from ugr.es, since MPITB has no send.cc file

The routine send.cc (I attach the source) gets the error:

send.cc:111: error: no match for 'operator[]' in 'map["fd"]'

Line 111 of send.cc is:

 sockfd = map["fd"](0).int_value();


Google code finds that sentence in poctave-0.0.4, at line 109
http://www.google.com/codesearch?q=%22sockfd+%3D+map%5B%22+%22%5D%280%29.int_value%28%29%3B%22&hl=en&btnG=Search+Code

Is it possible that oct-map.h is incomplete concerning the operator [] ?

Many thanks for your help in advance!

Best regards,
Marga Vaeßen

I think poctave was designed for an older Octave release, and the Octave API has changed since then. According to
http://www.aoki.ecei.tohoku.ac.jp/octave/index.html#parallel

2003/12/12
    I made the MPI-based Parallel Octave for 2.1.44.

        * README, INSTALL, USAGE
* octave-parallel_mpi_0.0.4.tar.gz

I think the link points to the 0.0.4 version you are using. It seems to match the API for Octave-2.1.44, back in 2003.

-javier


reply via email to

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