[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
distributed ocatave and cygwin
From: |
Trevor R.H. Clarke |
Subject: |
distributed ocatave and cygwin |
Date: |
Fri, 19 Dec 2003 12:09:03 -0500 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 |
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?
--
Trevor R.H. Clarke address@hidden
Computer Science Department and
Lab for Applied Computing
Rochester Institute of Technology
PGP key available at keyserver.net ID: 0C01D2A6
-------------------------------------------------------------
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
-------------------------------------------------------------
- distributed ocatave and cygwin,
Trevor R.H. Clarke <=