mercurial changeset 266 openmpi+python problem
Posted: Sat Dec 13, 2008 4:48 am
A while ago NEURON was able to be compiled with python and openmpi, but not in the newest mercurial repository, nrniv compiles fine though:
Code: Select all
$ python setup.py build
...
creating build/temp.linux-i686-2.5
mpicc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I../../../src/oc -I../oc -I/usr/include/python2.5 -c inithoc.cpp -o build/temp.linux-i686-2.5/inithoc.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
In file included from /usr/include/c++/4.3/ios:48,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from /usr/lib/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h:50,
from /usr/lib/openmpi/include/mpi.h:1795,
from inithoc.cpp:14:
/usr/include/c++/4.3/bits/ios_base.h:189: error: ?SEEK_CUR? was not declared in this scope
/usr/include/c++/4.3/bits/ios_base.h:190: error: ?SEEK_END? was not declared in this scope
inithoc.cpp:32: warning: deprecated conversion from string constant to ?char*?
inithoc.cpp:32: warning: deprecated conversion from string constant to ?char*?
inithoc.cpp:32: warning: deprecated conversion from string constant to ?char*?
inithoc.cpp:37: warning: deprecated conversion from string constant to ?char*?
inithoc.cpp:37: warning: deprecated conversion from string constant to ?char*?
error: command 'mpicc' failed with exit status 1
Code: Select all
$ 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)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-========================-========================-================================================================
ii libopenmpi-dev 1.2.8-3 high performance message passing library -- header files
ii libopenmpi1 1.2.8-3 high performance message passing library -- shared library
ii openmpi-bin 1.2.8-3 high performance message passing library -- binaries
ii openmpi-common 1.2.8-3 high performance message passing library -- common files