I want to use the parallel version of NEURON, so I uninstalled my old one to start from the beginning. I have an Ubuntu 16.04.
I started installing MPICH.
Then, following the main instructions for IV:
Code: Select all
# Compiling iv:
$ ./configure --prefix=`pwd`
$ make
$ make install
Code: Select all
$ ./configure --prefix=`pwd` --with-iv=$HOME/neuron/iv --with-paranrn --with-nrnpython=/home/andrea/anaconda3/envs/py27/bin/python
$ make
- for './configure' it seemed ok:
Code: Select all
andrea@inrc-mprida-14:~/neuron/nrn$ ./configure --prefix=`pwd` --with-iv=$HOME/neuron/iv --with-paranrn --with-nrnpython=/home/andrea/anaconda3/envs/py27/bin/python
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.22... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
CYGWIN=no
MINGW=no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
Not trying to build rpms for your system (use --enable-rpm-rules to override)
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for gawk... (cached) gawk
checking for flex... no
checking for lex... no
checking for bison... no
checking for byacc... no
checking whether ln -s works... yes
checking for cos in -lm... yes
Python binary found (/home/andrea/anaconda3/envs/py27/bin/python)
checking nrnpython configuration... get_python_version() '2.7'
sys.version_info[0] '2'
get_python_inc(0) '/home/andrea/anaconda3/envs/py27/include/python2.7'
get_config_var('LIBS') '-lpthread -ldl -lutil'
get_config_var('LIBRARY') 'libpython2.7.a'
get_config_var('LIBDIR') '/home/andrea/anaconda3/envs/py27/lib'
get_config_var('LIBS') '-lpthread -ldl -lutil'
get_config_var('MODLIBS') '' returning ''
checking if python include files and libraries work... yes
checking for python... python
checking for cython... yes
checking for cython... cython
checking for mpicc... mpicc
checking for MPI_Init... yes
checking for mpi.h... yes
checking for mpic++... mpic++
checking for mpi.h... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by mpicc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from mpicc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if mpicc supports -fno-rtti -fno-exceptions... no
checking for mpicc option to produce PIC... -fPIC -DPIC
checking if mpicc PIC flag -fPIC -DPIC works... yes
checking if mpicc static flag -static works... no
checking if mpicc supports -c -o file.o... yes
checking if mpicc supports -c -o file.o... (cached) yes
checking whether the mpicc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... mpic++ -E
checking for ld used by mpic++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the mpic++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for mpic++ option to produce PIC... -fPIC -DPIC
checking if mpic++ PIC flag -fPIC -DPIC works... yes
checking if mpic++ static flag -static works... no
checking if mpic++ supports -c -o file.o... yes
checking if mpic++ supports -c -o file.o... (cached) yes
checking whether the mpic++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: Use the NRNMECH_DLL_STYLE for "special"
checking for tgetent in -lncurses... yes
checking which library has the termcap functions... using libncurses
checking checking compilation with -lreadline... ok
Do not compile neosim specific code.
Not building the nrnjava interface
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sgtty.h usability... yes
checking sgtty.h presence... yes
checking for sgtty.h... yes
checking for strings.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking for unistd.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking sys/conf.h usability... no
checking sys/conf.h presence... no
checking for sys/conf.h... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
configure: Using pthreads.
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
configure: successful.
PTHREAD_LIBS=
PTHREAD_CFLAGS=
PTHREAD_CC=mpicc
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking stream.h usability... no
checking stream.h presence... no
checking for stream.h... no
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for int64_t... yes
checking whether byte ordering is bigendian... no
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working alloca.h... yes
checking for alloca... yes
checking for working memcmp... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for ftime... yes
checking for getcwd... yes
checking for getpw... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for mkdir... yes
checking for putenv... yes
checking for setenv... yes
checking for select... yes
checking for strdup... yes
checking for strstr... yes
checking for index... yes
checking for bzero... yes
checking for bcopy... yes
checking for stty... no
checking for lockf... yes
checking for isatty... yes
checking for mkstemp... yes
checking for setitimer... yes
checking for sigaction... yes
checking for fesetround... yes
checking for posix_memalign... yes
checking for mallinfo... yes
checking if SIGBUS defined in signal.h... yes
checking if SIGSEGV defined in signal.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether mpic++ accepts -g... (cached) yes
checking dependency style of mpic++... (cached) gcc3
checking _G_config.h usability... yes
checking _G_config.h presence... yes
checking for _G_config.h... yes
checking whether the compiler implements namespaces... yes
checking whether the compiler has stringstream... yes
checking compilation with interviews... ok
checking if InterViews is up to date with respect to nrn-7.4 and later... ok
The signal function does not need a cast for the handler
do SIGPOLL and I_GETSIG work: no
But see config.log to see why it failed.
checking whether the compiler supports Standard Template Library... yes
NRNOC_X11 = 1
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/modlunit/Makefile
config.status: creating src/nmodl/Makefile
config.status: creating src/nrnpython/Makefile
config.status: creating src/mswin/nrncygso.sh
config.status: creating src/nrnpython/setup.py
config.status: creating share/lib/python/neuron/rxd/geometry3d/Makefile
config.status: creating share/lib/python/neuron/rxd/geometry3d/setup.py
config.status: creating nrnrpm.spec
config.status: creating src/sundials/Makefile
config.status: creating src/sundials/shared/Makefile
config.status: creating src/sundials/cvodes/Makefile
config.status: creating src/sundials/ida/Makefile
config.status: creating src/sparse/Makefile
config.status: creating src/memacs/Makefile
config.status: creating src/readline/Makefile
config.status: creating src/sparse13/Makefile
config.status: creating src/Random123/Makefile
config.status: creating src/oc/Makefile
config.status: creating src/scopmath/Makefile
config.status: creating src/nrnoc/Makefile
config.status: creating src/gnu/Makefile
config.status: creating src/uxnrnbbs/Makefile
config.status: creating src/mesch/Makefile
config.status: creating src/uxnrnbbs/mos2nrn.h
config.status: creating src/nrnmpi/Makefile
config.status: creating src/ivoc/Makefile
config.status: creating src/nrncvode/Makefile
config.status: creating src/parallel/Makefile
config.status: creating src/nrniv/Makefile
config.status: creating src/ivos/Makefile
config.status: creating src/ivos/InterViews/Makefile
config.status: creating src/ivos/OS/Makefile
config.status: creating src/nrnjava/Makefile
config.status: creating src/nrnjava/nrnccmb/Makefile
config.status: creating src/nrnjava/neuron/Makefile
config.status: creating src/ni_pci_6229/Makefile
config.status: creating src/mac/Makefile
config.status: creating src/mswin/Makefile
config.status: creating src/mswin/batch/Makefile
config.status: creating src/mac/macdist.pkgproj
config.status: creating src/mac/postinstall.sh
config.status: creating src/mswin/nrnsetup.nsi
config.status: creating src/mswin/lib/mknrndll.mak
config.status: creating src/mswin/nrnsetupmingw.nsi
config.status: creating src/mswin/EnvVarUpdate.nsh
config.status: creating src/mswin/AddToPath.nsh
config.status: creating src/mswin/extra/Makefile
config.status: creating src/mswin/rdln/Makefile
config.status: creating src/mswin/windll/Makefile
config.status: creating src/mswin/wnrnbbs/Makefile
config.status: creating src/mswin/lib/Makefile
config.status: creating src/mswin/bin/Makefile
config.status: creating src/neuronmusic/Makefile
config.status: creating src/neuronmusic/setup.py
config.status: creating share/Makefile
config.status: creating bin/nrnoc_makefile
config.status: WARNING: 'bin/nrnoc_makefile.in' seems to ignore the --datarootdir setting
config.status: creating bin/nrniv_makefile
config.status: WARNING: 'bin/nrniv_makefile.in' seems to ignore the --datarootdir setting
config.status: creating bin/nrnmech_makefile
config.status: creating share/lib/Makefile
config.status: creating share/lib/hoc/Makefile
config.status: creating share/lib/python/Makefile
config.status: creating share/lib/hoc/celbild/Makefile
config.status: creating share/lib/hoc/mulfit/Makefile
config.status: creating share/lib/hoc/netbild/Makefile
config.status: creating share/lib/hoc/lincir/Makefile
config.status: creating share/lib/hoc/mview/Makefile
config.status: creating share/lib/hoc/chanbild/Makefile
config.status: creating share/lib/hoc/import3d/Makefile
config.status: creating share/lib/auditscripts/Makefile
config.status: creating share/lib/nrn.defaults
config.status: creating bin/Makefile
config.status: creating bin/nrnocmodl
config.status: creating bin/nrnivmodl
config.status: creating bin/neurondemo
config.status: creating bin/nrngui
config.status: creating bin/bbswork.sh
config.status: creating bin/mos2nrn2.sh
config.status: creating bin/hel2mos1.sh
config.status: creating share/examples/Makefile
config.status: creating share/examples/ivoc/Makefile
config.status: creating share/examples/nrniv/Makefile
config.status: creating share/examples/nrniv/cable/Makefile
config.status: creating share/examples/nrniv/kkin/Makefile
config.status: creating share/examples/nrniv/netcon/Makefile
config.status: creating share/examples/nrniv/netsyn/Makefile
config.status: creating share/examples/nrniv/nmodl/Makefile
config.status: creating share/examples/nrniv/nrnoc/Makefile
config.status: creating share/examples/nrniv/randomsyn/Makefile
config.status: creating share/examples/nrniv/soma/Makefile
config.status: creating share/examples/nrniv/vrecorder/Makefile
config.status: creating share/examples/nrniv/xmech/Makefile
config.status: creating share/demo/Makefile
config.status: creating share/demo/release/Makefile
config.status: creating share/demo/dend3/Makefile
config.status: creating share/demo/sync/Makefile
config.status: creating share/lib/python/neuron/Makefile
config.status: creating share/lib/python/neuron/rxd/Makefile
config.status: creating config.h
config.status: creating nmodlconf.h
config.status: nmodlconf.h is unchanged
config.status: creating src/nrnpython/nrnpython_config.h
config.status: src/nrnpython/nrnpython_config.h is unchanged
config.status: creating nrnconf.h
config.status: nrnconf.h is unchanged
config.status: creating src/nrnoc/nrnconfigargs.h
config.status: creating src/oc/nrnmpiuse.h
config.status: src/oc/nrnmpiuse.h is unchanged
config.status: creating src/oc/nrnrtuse.h
config.status: src/oc/nrnrtuse.h is unchanged
config.status: creating src/oc/nrnpthread.h
config.status: src/oc/nrnpthread.h is unchanged
config.status: creating src/parallel/bbsconf.h
config.status: src/parallel/bbsconf.h is unchanged
config.status: creating src/nrnjava/njconf.h
config.status: src/nrnjava/njconf.h is unchanged
config.status: creating src/nrncvode/nrnneosm.h
config.status: src/nrncvode/nrnneosm.h is unchanged
config.status: creating src/ivos/ivstream.h
config.status: src/ivos/ivstream.h is unchanged
config.status: creating src/sundials/sundials_config.h
config.status: src/sundials/sundials_config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
Code: Select all
andrea@inrc-mprida-14:~/neuron/nrn$ make
make all-recursive
make[1]: Entering directory '/home/andrea/neuron/nrn'
Making all in src
make[2]: Entering directory '/home/andrea/neuron/nrn/src'
Making all in memacs
make[3]: Entering directory '/home/andrea/neuron/nrn/src/memacs'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/andrea/neuron/nrn/src/memacs'
Making all in modlunit
make[3]: Entering directory '/home/andrea/neuron/nrn/src/modlunit'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/andrea/neuron/nrn/src/modlunit'
Making all in nmodl
make[3]: Entering directory '/home/andrea/neuron/nrn/src/nmodl'
make[3]: Leaving directory '/home/andrea/neuron/nrn/src/nmodl'
Making all in sparse
make[3]: Entering directory '/home/andrea/neuron/nrn/src/sparse'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/andrea/neuron/nrn/src/sparse'
Making all in sparse13
make[3]: Entering directory '/home/andrea/neuron/nrn/src/sparse13'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/andrea/neuron/nrn/src/sparse13'
Making all in scopmath
make[3]: Entering directory '/home/andrea/neuron/nrn/src/scopmath'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/andrea/neuron/nrn/src/scopmath'
Making all in Random123
make[3]: Entering directory '/home/andrea/neuron/nrn/src/Random123'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/andrea/neuron/nrn/src/Random123'
Making all in nrnmpi
make[3]: Entering directory '/home/andrea/neuron/nrn/src/nrnmpi'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/andrea/neuron/nrn/src/nrnmpi'
Making all in oc
make[3]: Entering directory '/home/andrea/neuron/nrn/src/oc'
make all-am
make[4]: Entering directory '/home/andrea/neuron/nrn/src/oc'
make[4]: Leaving directory '/home/andrea/neuron/nrn/src/oc'
make[3]: Leaving directory '/home/andrea/neuron/nrn/src/oc'
Making all in nrnoc
make[3]: Entering directory '/home/andrea/neuron/nrn/src/nrnoc'
if test -d ../../.git ; then \
sh ../../git2nrnversion_h.sh ../.. > ./nrnversion.h.tmp ; \
if cmp ./nrnversion.h.tmp ./nrnversion.h ; then \
echo "nrnversion.h not changed" ; \
rm ./nrnversion.h.tmp ; \
else \
mv ./nrnversion.h.tmp ./nrnversion.h ; \
echo "updated nrnversion.h" ; \
fi \
elif test -d ../../.hg ; then \
sh ../../hg2nrnversion_h.sh ../.. > ./nrnversion.h.tmp ; \
if cmp ./nrnversion.h.tmp ./nrnversion.h ; then \
echo "nrnversion.h not changed" ; \
rm ./nrnversion.h.tmp ; \
else \
mv ./nrnversion.h.tmp ./nrnversion.h ; \
echo "updated nrnversion.h" ; \
fi \
else \
if test -d ../../.svn && svnversion ../.. ; then \
if test "`svnversion ../..`" != "`sed -n 's/.*SVN_CHANGESET.*(\([^)]*\).*/\1/p' ./nrnversion.h`" ; then \
sh ../../svn2nrn_h.sh ../.. > ./nrnversion.h.tmp; \
if test -s ./nrnversion.h.tmp ; then \
mv ./nrnversion.h.tmp ./nrnversion.h ; \
fi ; \
echo "updated nrnversion.h" ; \
else \
echo "nrnversion.h not changed" ; \
fi \
fi \
fi
make all-am
make[4]: Entering directory '/home/andrea/neuron/nrn/src/nrnoc'
if test -d ../../.git ; then \
sh ../../git2nrnversion_h.sh ../.. > ./nrnversion.h.tmp ; \
if cmp ./nrnversion.h.tmp ./nrnversion.h ; then \
echo "nrnversion.h not changed" ; \
rm ./nrnversion.h.tmp ; \
else \
mv ./nrnversion.h.tmp ./nrnversion.h ; \
echo "updated nrnversion.h" ; \
fi \
elif test -d ../../.hg ; then \
sh ../../hg2nrnversion_h.sh ../.. > ./nrnversion.h.tmp ; \
if cmp ./nrnversion.h.tmp ./nrnversion.h ; then \
echo "nrnversion.h not changed" ; \
rm ./nrnversion.h.tmp ; \
else \
mv ./nrnversion.h.tmp ./nrnversion.h ; \
echo "updated nrnversion.h" ; \
fi \
else \
if test -d ../../.svn && svnversion ../.. ; then \
if test "`svnversion ../..`" != "`sed -n 's/.*SVN_CHANGESET.*(\([^)]*\).*/\1/p' ./nrnversion.h`" ; then \
sh ../../svn2nrn_h.sh ../.. > ./nrnversion.h.tmp; \
if test -s ./nrnversion.h.tmp ; then \
mv ./nrnversion.h.tmp ./nrnversion.h ; \
fi ; \
echo "updated nrnversion.h" ; \
else \
echo "nrnversion.h not changed" ; \
fi \
fi \
fi
/bin/bash ../../libtool --tag=CC --mode=compile mpicc -DHAVE_CONFIG_H -I. -I../.. -I../../src/nrnpython -I../../src/oc -I../../src/parallel -I../../src/nrnjava -I../../src/nrncvode -I../../src/ivos -I../../src/sundials -DCABLE=1 -DOOP=1 -I../../src/oc -I../../src/oc -I../../src/scopmath -I../../src/sparse13 -I../../src/nrnmpi -g -O2 -MT nrnversion.lo -MD -MP -MF .deps/nrnversion.Tpo -c -o nrnversion.lo nrnversion.c
libtool: compile: mpicc -DHAVE_CONFIG_H -I. -I../.. -I../../src/nrnpython -I../../src/oc -I../../src/parallel -I../../src/nrnjava -I../../src/nrncvode -I../../src/ivos -I../../src/sundials -DCABLE=1 -DOOP=1 -I../../src/oc -I../../src/oc -I../../src/scopmath -I../../src/sparse13 -I../../src/nrnmpi -g -O2 -MT nrnversion.lo -MD -MP -MF .deps/nrnversion.Tpo -c nrnversion.c -fPIC -DPIC -o .libs/nrnversion.o
mv -f .deps/nrnversion.Tpo .deps/nrnversion.Plo
/bin/bash ../../libtool --tag=CC --mode=link mpicc -g -O2 -o libnrnoc.la -rpath /home/andrea/neuron/nrn/x86_64/lib hh.lo feature.lo passive.lo stim.lo syn.lo vclmp.lo apcount.lo svclmp.lo oclmp.lo xmech.lo netstim.lo intfire1.lo intfire2.lo intfire4.lo expsyn.lo exp2syn.lo ppmark.lo pattern.lo cabcode.lo capac.lo clamp.lo eion.lo extcelln.lo fadvance.lo fstim.lo init.lo nrnnemo.lo point.lo psection.lo solve.lo synapse.lo treeset.lo hoc_init.lo code.lo hoc_oop.lo seclist.lo method3.lo hocprax.lo secref.lo ldifus.lo hocusr.lo nrnversion.lo nrntimeout.lo passive0.lo -lm -ldl
libtool: link: rm -fr .libs/libnrnoc.la .libs/libnrnoc.lai .libs/libnrnoc.so .libs/libnrnoc.so.0 .libs/libnrnoc.so.0.0.0
libtool: link: mpicc -shared -fPIC -DPIC .libs/hh.o .libs/feature.o .libs/passive.o .libs/stim.o .libs/syn.o .libs/vclmp.o .libs/apcount.o .libs/svclmp.o .libs/oclmp.o .libs/xmech.o .libs/netstim.o .libs/intfire1.o .libs/intfire2.o .libs/intfire4.o .libs/expsyn.o .libs/exp2syn.o .libs/ppmark.o .libs/pattern.o .libs/cabcode.o .libs/capac.o .libs/clamp.o .libs/eion.o .libs/extcelln.o .libs/fadvance.o .libs/fstim.o .libs/init.o .libs/nrnnemo.o .libs/point.o .libs/psection.o .libs/solve.o .libs/synapse.o .libs/treeset.o .libs/hoc_init.o .libs/code.o .libs/hoc_oop.o .libs/seclist.o .libs/method3.o .libs/hocprax.o .libs/secref.o .libs/ldifus.o .libs/hocusr.o .libs/nrnversion.o .libs/nrntimeout.o .libs/passive0.o -lm -ldl -g -O2 -Wl,-soname -Wl,libnrnoc.so.0 -o .libs/libnrnoc.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libnrnoc.so.0" && ln -s "libnrnoc.so.0.0.0" "libnrnoc.so.0")
libtool: link: (cd ".libs" && rm -f "libnrnoc.so" && ln -s "libnrnoc.so.0.0.0" "libnrnoc.so")
libtool: link: ( cd ".libs" && rm -f "libnrnoc.la" && ln -s "../libnrnoc.la" "libnrnoc.la" )
/bin/bash ../../libtool --tag=CC --mode=link mpicc -g -O2 -o nrnoc ocmain.o nrnnoiv.o ocnoiv.o cprop.o ../oc/modlreg.o libnrnoc.la ../oc/liboc.la ../memacs/libmemacs.la ../scopmath/libscopmath.la ../sparse13/libsparse13.la ../nrnmpi/libnrnmpi.la -lreadline -lncurses -lm -ldl
libtool: link: mpicc -g -O2 -o .libs/nrnoc ocmain.o nrnnoiv.o ocnoiv.o cprop.o ../oc/modlreg.o ./.libs/libnrnoc.so ../oc/.libs/liboc.so ../memacs/.libs/libmemacs.so ../scopmath/.libs/libscopmath.so ../sparse13/.libs/libsparse13.so ../nrnmpi/.libs/libnrnmpi.so -lreadline -lncurses -lm -ldl -Wl,-rpath -Wl,/home/andrea/neuron/nrn/x86_64/lib
make[4]: Leaving directory '/home/andrea/neuron/nrn/src/nrnoc'
make[3]: Leaving directory '/home/andrea/neuron/nrn/src/nrnoc'
Making all in nrnpython
make[3]: Entering directory '/home/andrea/neuron/nrn/src/nrnpython'
if test inithoc.cpp -ot ../../src/nrnpython/inithoc.cpp ; then \
cp ../../src/nrnpython/inithoc.cpp inithoc.cpp ; \
fi
make all-am
make[4]: Entering directory '/home/andrea/neuron/nrn/src/nrnpython'
make[4]: Leaving directory '/home/andrea/neuron/nrn/src/nrnpython'
make[3]: Leaving directory '/home/andrea/neuron/nrn/src/nrnpython'
Making all in sundials
make[3]: Entering directory '/home/andrea/neuron/nrn/src/sundials'
make all-recursive
make[4]: Entering directory '/home/andrea/neuron/nrn/src/sundials'
Making all in shared
make[5]: Entering directory '/home/andrea/neuron/nrn/src/sundials/shared'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/andrea/neuron/nrn/src/sundials/shared'
Making all in cvodes
make[5]: Entering directory '/home/andrea/neuron/nrn/src/sundials/cvodes'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/andrea/neuron/nrn/src/sundials/cvodes'
Making all in ida
make[5]: Entering directory '/home/andrea/neuron/nrn/src/sundials/ida'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/andrea/neuron/nrn/src/sundials/ida'
make[5]: Entering directory '/home/andrea/neuron/nrn/src/sundials'
make[5]: Leaving directory '/home/andrea/neuron/nrn/src/sundials'
make[4]: Leaving directory '/home/andrea/neuron/nrn/src/sundials'
make[3]: Leaving directory '/home/andrea/neuron/nrn/src/sundials'
Making all in mesch
make[3]: Entering directory '/home/andrea/neuron/nrn/src/mesch'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/andrea/neuron/nrn/src/mesch'
Making all in gnu
make[3]: Entering directory '/home/andrea/neuron/nrn/src/gnu'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/andrea/neuron/nrn/src/gnu'
Making all in ivoc
make[3]: Entering directory '/home/andrea/neuron/nrn/src/ivoc'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/andrea/neuron/nrn/src/ivoc'
Making all in nrncvode
make[3]: Entering directory '/home/andrea/neuron/nrn/src/nrncvode'
make all-am
make[4]: Entering directory '/home/andrea/neuron/nrn/src/nrncvode'
make[4]: Leaving directory '/home/andrea/neuron/nrn/src/nrncvode'
make[3]: Leaving directory '/home/andrea/neuron/nrn/src/nrncvode'
Making all in parallel
make[3]: Entering directory '/home/andrea/neuron/nrn/src/parallel'
make all-am
make[4]: Entering directory '/home/andrea/neuron/nrn/src/parallel'
make[4]: Leaving directory '/home/andrea/neuron/nrn/src/parallel'
make[3]: Leaving directory '/home/andrea/neuron/nrn/src/parallel'
Making all in nrniv
make[3]: Entering directory '/home/andrea/neuron/nrn/src/nrniv'
/bin/bash ../../libtool --tag=CXX --mode=link mpic++ -D_GLIBCXX_USE_CXX11_ABI=0 -o nrniv nvkludge.o ../ivoc/nrnmain.o ../ivoc/ivocmain.o ../oc/modlreg.o ../oc/ockludge.o ../nrnoc/libnrnoc.la ../oc/liboc.la libnrniv.la ../ivoc/libivoc.la ../oc/liboc.la ../nrnmpi/libnrnmpi.la ../gnu/libneuron_gnu.la ../scopmath/libscopmath.la ../sparse13/libsparse13.la ../sundials/libsundials.la ../memacs/libmemacs.la ../mesch/libmeschach.la /home/andrea/neuron/iv/x86_64/lib/libIVhines.la ../nrnpython/libnrnpython.la -L/home/andrea/anaconda3/envs/py27/lib -lpython2.7 -lpthread -ldl -lutil -R/home/andrea/anaconda3/envs/py27/lib -lreadline -lncurses -lm -ldl
libtool: link: mpic++ -D_GLIBCXX_USE_CXX11_ABI=0 -o .libs/nrniv nvkludge.o ../ivoc/nrnmain.o ../ivoc/ivocmain.o ../oc/modlreg.o ../oc/ockludge.o ../nrnoc/.libs/libnrnoc.so ./.libs/libnrniv.so ../ivoc/.libs/libivoc.so ../oc/.libs/liboc.so ../nrnmpi/.libs/libnrnmpi.so ../gnu/.libs/libneuron_gnu.so ../scopmath/.libs/libscopmath.so ../sparse13/.libs/libsparse13.so ../sundials/.libs/libsundials.so ../memacs/.libs/libmemacs.so ../mesch/.libs/libmeschach.so /home/andrea/neuron/iv/x86_64/lib/libIVhines.so ../nrnpython/.libs/libnrnpython.so -L/home/andrea/anaconda3/envs/py27/lib -lpython2.7 -lpthread -lutil -lreadline -lncurses -lm -ldl -Wl,-rpath -Wl,/home/andrea/neuron/nrn/x86_64/lib -Wl,-rpath -Wl,/home/andrea/neuron/iv/x86_64/lib -Wl,-rpath -Wl,/home/andrea/anaconda3/envs/py27/lib
./.libs/libnrniv.so: undefined reference to `VTT for std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
./.libs/libnrniv.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
/home/andrea/neuron/iv/x86_64/lib/libIVhines.so: undefined reference to `vtable for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
./.libs/libnrniv.so: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_stringstream()@GLIBCXX_3.4.21'
./.libs/libnrniv.so: undefined reference to `vtable for std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
./.libs/libnrniv.so: undefined reference to `vtable for std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
./.libs/libnrniv.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)@GLIBCXX_3.4.21'
/home/andrea/neuron/iv/x86_64/lib/libIVhines.so: undefined reference to `std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::_M_sync(char*, unsigned long, unsigned long)@GLIBCXX_3.4.21'
/home/andrea/neuron/iv/x86_64/lib/libIVhines.so: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_ostringstream()@GLIBCXX_3.4.21'
/home/andrea/neuron/iv/x86_64/lib/libIVhines.so: undefined reference to `VTT for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
collect2: error: ld returned 1 exit status
Makefile:743: recipe for target 'nrniv' failed
make[3]: *** [nrniv] Error 1
make[3]: Leaving directory '/home/andrea/neuron/nrn/src/nrniv'
Makefile:516: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/andrea/neuron/nrn/src'
Makefile:653: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/andrea/neuron/nrn'
Makefile:511: recipe for target 'all' failed
make: *** [all] Error 2
collect2: error: ld returned 1 exit status
Makefile:743: recipe for target 'nrniv' failed
make[3]: *** [nrniv] Error 1
make[3]: Leaving directory '/home/andrea/neuron/nrn/src/nrniv'
Makefile:516: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/andrea/neuron/nrn/src'
Makefile:653: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/andrea/neuron/nrn'
Makefile:511: recipe for target 'all' failed
make: *** [all] Error 2
I tried searching for similar errors in the forum, as this one:
viewtopic.php?t=3880
so I added CXXFLAGS='-D_GLIBCXX_USE_CXX11_ABI=0' to the configure:
Code: Select all
./configure --prefix=`pwd` --with-iv=$HOME/neuron/iv --with-paranrn --with-nrnpython=/home/andrea/anaconda3/envs/py27/bin/python CXXFLAGS='-D_GLIBCXX_USE_CXX11_ABI=0'
What should I do to solve them?
Thanks in advance!! :D
Andrea