help-octave
[Top][All Lists]
Advanced

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

Re: distributed ocatave and cygwin


From: JD Cole
Subject: Re: distributed ocatave and cygwin
Date: Fri, 19 Dec 2003 18:02:53 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007

Hi Trevor, I haven't tried running this code under cygwin yet, and haven't heard of anybody else doing it either. So this may be fresh ground. That said, this sounds like a good time for me to start.

Which MPI implementation are you using?

Best,

JD

Trevor R.H. Clarke wrote:

I'm trying to compile distributed octave under cygwin and I'm having some trouble. Has anybody succeeded in doing this? I'm using distributed octave sp20040402. I can patch and compile octave and serially execute parallel code. When I try and compile the mpi pil everything is good until it tries to build the pil from the objects. Here's the mpiCC command it is attempting.

mpiCC -g -O2  -DUSE_MPI_API -DUSE_PARALLEL_CMD \
-I/usr/local/include/octave-2.1.45 \
-I/usr/local/include/octave-2.1.45/octave \
-I/usr/local/include -fPIC -DHAVE_CONFIG_H  -shared -o octave_mpi.pil \
pil_octave_mpi.o pil_mpi_comm.o pil_mpi_misc.o pil_mpi_tags.o \
pil_mpi_xrecv.o pil_mpi_xsend.o

I get pages of errors along the lines of:
pil_octave_mpi.o(.text+0x68): In function `pil_initialize':
.../mpi_pil-sp20040402/pil_octave_mpi.cc:69: undefined reference to `___gxx_personality_sj0' pil_octave_mpi.o(.text+0xbd):.../mpi_pil-sp20040402/pil_octave_mpi.cc:71: undefined reference to `operator new(unsigned)'

I tried adding (in various combinations and with the appropriate -L's) -loctave -lcruft -lc -lstdc++ -lm to no avail. I believe I've had similar problems before (something with the way cygwin handles refs to shared libs within shared libs I believe) but can't remember how I fixed it. Any thoughts?





-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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