Hello everyone,
I followed the instructions to install nest-simulator-2.20.0 in my Ubuntu. When I do the things follow: ------------------------------------------------------------------------------- cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/bin/nest /home/visapy_and_dependencies/nest-simulator-2.20.0 make make install -------------------------------------------------------------------------------- Unfortunately, during "make" it reports some Error, see following:
[ 49%] Building CXX object nestkernel/CMakeFiles/nestkernel.dir/connection_manage.cpp.o /home/visapy_and_dependencies/nest-simulator-2.20.0/nestkernel/connection_managercpp:419:1: error: prototype for ‘void nest::ConnectionManager::connect(nest::inde, nest::Node*, nest::thread, nest::synindex, const DictionaryDatum&, double, doube)’ does not match any in class ‘nest::ConnectionManager’ nest::ConnectionManager::connect( const index sgid, ^~~~ In file included from /home/visapy_and_dependencies/nest-simulator-2.20.0/nestkerel/connection_manager.cpp:23:0: /home/visapy_and_dependencies/nest-simulator-2.20.0/nestkernel/connection_managerh:135:8: error: candidates are: bool nest::ConnectionManager::connect(nest::inde nest::index, const DictionaryDatum&, nest::synindex) bool connect( const index sgid, const index target, const DictionaryDatum& parms, const synindex syn_id ); ^~~~~~~ /home/visapy_and_dependencies/nest-simulator-2.20.0/nestkernel/connection_managerh:117:8: error: void nest::ConnectionManager::connect(nest::index nest::Node*, nest::thread, nest::synindex, const DictionaryDatum&, double_t, doule_t) void connect( const index sgid, ^~~~~~~ /home/visapy_and_dependencies/nest-simulator-2.20.0/nestkernel/connection_managercpp:352:1: error: void nest::ConnectionManager::connect(const nes::GIDCollection&, const nest::GIDCollection&, const DictionaryDatum&, const DictinaryDatum&) nest::ConnectionManager::connect( const GIDCollection& sources, ^~~~ make[2]: *** [nestkernel/CMakeFiles/nestkernel.dir/connection_manager.cpp.o] Erro 1 make[1]: *** [nestkernel/CMakeFiles/nestkernel.dir/all] Error 2 make: *** [all] Error 2
I have no idea about this, I'd appreciate it if you could help me. and my cmake version 3.10.1, gcc version 7.4.0
Hi 1033471810!
[We do prefer clearnames on NEST User.]
This is strange, the method the compiler is missing is in place.
But I notice that a number of letters seem to be missing in the output you sent, eg., nest::inde instead of nest::index, so I wonder what is going on here. Could the files have been damaged on checkout?
Could you also post the report at the end of the CMake run?
Best, Hans Ekkehard
On 27 Feb 2020, at 11:12, 1033471810@qq.commailto:1033471810@qq.com wrote:
Hello everyone,
I followed the instructions to install nest-simulator-2.20.0 in my Ubuntu. When I do the things follow: ------------------------------------------------------------------------------- cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/bin/nest /home/visapy_and_dependencies/nest-simulator-2.20.0 make make install -------------------------------------------------------------------------------- Unfortunately, during "make" it reports some Error, see following:
[ 49%] Building CXX object nestkernel/CMakeFiles/nestkernel.dir/connection_manage.cpp.o /home/visapy_and_dependencies/nest-simulator-2.20.0/nestkernel/connection_managercpp:419:1: error: prototype for ‘void nest::ConnectionManager::connect(nest::inde, nest::Node*, nest::thread, nest::synindex, const DictionaryDatum&, double, doube)’ does not match any in class ‘nest::ConnectionManager’ nest::ConnectionManager::connect( const index sgid, ^~~~ In file included from /home/visapy_and_dependencies/nest-simulator-2.20.0/nestkerel/connection_manager.cpp:23:0: /home/visapy_and_dependencies/nest-simulator-2.20.0/nestkernel/connection_managerh:135:8: error: candidates are: bool nest::ConnectionManager::connect(nest::inde nest::index, const DictionaryDatum&, nest::synindex) bool connect( const index sgid, const index target, const DictionaryDatum& parms, const synindex syn_id ); ^~~~~~~ /home/visapy_and_dependencies/nest-simulator-2.20.0/nestkernel/connection_managerh:117:8: error: void nest::ConnectionManager::connect(nest::index nest::Node*, nest::thread, nest::synindex, const DictionaryDatum&, double_t, doule_t) void connect( const index sgid, ^~~~~~~ /home/visapy_and_dependencies/nest-simulator-2.20.0/nestkernel/connection_managercpp:352:1: error: void nest::ConnectionManager::connect(const nes::GIDCollection&, const nest::GIDCollection&, const DictionaryDatum&, const DictinaryDatum&) nest::ConnectionManager::connect( const GIDCollection& sources, ^~~~ make[2]: *** [nestkernel/CMakeFiles/nestkernel.dir/connection_manager.cpp.o] Erro 1 make[1]: *** [nestkernel/CMakeFiles/nestkernel.dir/all] Error 2 make: *** [all] Error 2
I have no idea about this, I'd appreciate it if you could help me. and my cmake version 3.10.1, gcc version 7.4.0 _______________________________________________ NEST Users mailing list -- users@nest-simulator.orgmailto:users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.orgmailto:users-leave@nest-simulator.org
--
Prof. Dr. Hans Ekkehard Plesser Head, Data Science Section
Faculty of Science and Technology Norwegian University of Life Sciences PO Box 5003, 1432 Aas, Norway
Phone +47 6723 1560 Email hans.ekkehard.plesser@nmbu.no Home http://arken.nmbu.no/~plesser
Thank you for your reply!
Here is the all CMake report:
nest-simulator-2.20.0 -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Host triple: i686-pc-linux -- Target triple: i686-pc-linux -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Found PythonLibs: /usr/lib/i386-linux-gnu/libpython2.7.so (found suitable exact version "2.7.6") -- Check the abort exitcode. -- Check the abort exitcode. 134 -- Check the segmentation fault exitcode. -- Check the segmentation fault exitcode. 139 -- Check whether the compiler ignores cmath makros. -- Check whether the compiler ignores cmath makros. OFF -- Check whether the compiler does NOT include <*.h> headers ISO conformant. -- Check whether the compiler does NOT include <*.h> headers ISO conformant. OFF -- Check whether the compiler respects symbolic signal names in signal.h. -- Check whether the compiler respects symbolic signal names in signal.h. OFF -- Check static template member declaration. -- Check static template member declaration. OFF -- Check for STL vector capacity base unity. -- Check for STL vector capacity base unity. ON -- Check for STL vector capacity doubling strategy. -- Check for STL vector capacity doubling strategy. ON -- Check whether the compiler fails with ICE. -- Check whether the compiler fails with ICE. OFF -- Check if ::nan is available from cmath. -- Check if ::nan is available from cmath. ON -- Check if ::isnan is available from cmath. -- Check if ::isnan is available from cmath. ON -- NEST version: nest-2.20.0 -- Found PythonLibs: /usr/lib/i386-linux-gnu/libpython2.7.so (found version "2.7.6")
-------------------------------------------------------------------------------- NEST Configuration Summary --------------------------------------------------------------------------------
Build type : Target System : Linux Cross Compiling : FALSE C compiler : GNU 7.4.0 (/usr/bin/gcc) C compiler flags : -O2 -Wall -fopenmp -fdiagnostics-color=auto C++ compiler : GNU 7.4.0 (/usr/bin/g++) C++ compiler flags : -std=c++11 -O2 -Wall -fopenmp -fdiagnostics-color=auto Build dynamic : ON
Built-in modules : models;precise;topology User modules : None Python bindings : Yes (Python 2.7.6: /usr/bin/python) Includes : /usr/include/python2.7 Libraries : /usr/lib/i386-linux-gnu/libpython2.7.so
Cython bindings : Yes (Cython 0.20.1: /usr/bin/cython) Use threading : Yes (OpenMP: -fopenmp) Use GSL : Yes (GSL 1.16) Includes : /usr/include Libraries : /usr/lib/libgsl.so;/usr/lib/libgslcblas.so
Use Readline : Yes (GNU Readline 6.3) Includes : /usr/include Libraries : /usr/lib/i386-linux-gnu/libreadline.so;/usr/lib/i386-linux-gnu/libncurses.so
Use libltdl : Yes (LTDL 2.4.2) Includes : /usr/include Libraries : /usr/lib/i386-linux-gnu/libltdl.so
Use doxygen : No Use MPI : No Use MUSIC : No Use libneurosim : No Use Boost : No
--------------------------------------------------------------------------------
The NEST executable will be installed to: /usr/bin/nest/bin/
Documentation and examples will be installed to: /usr/bin/nest/share/doc/nest/
PyNEST will be installed to: /usr/bin/nest/lib/python2.7/site-packages
To set necessary environment variables, add the following line to your ~/.bashrc : source /usr/bin/nest/bin/nest_vars.sh
--------------------------------------------------------------------------------
You can now build and install NEST with make make install make installcheck
If you experience problems with the installation or the use of NEST, please see https://www.nest-simulator.org/frequently_asked_questions or go to https://www.nest-simulator.org/community to find out how to join the user mailing list.
-- Configuring done -- Generating done -- Build files have been written to: /home/visapy_and_dependencies/nest-simulator-2.20.0
Nothing suspicious here. Could you try with a newer GCC, preferably GCC 9.2.0?
Best, Hans Ekkehard
On 27 Feb 2020, at 13:08, 1033471810@qq.commailto:1033471810@qq.com wrote:
Thank you for your reply!
Here is the all CMake report:
nest-simulator-2.20.0 -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Host triple: i686-pc-linux -- Target triple: i686-pc-linux -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Found PythonLibs: /usr/lib/i386-linux-gnu/libpython2.7.so (found suitable exact version "2.7.6") -- Check the abort exitcode. -- Check the abort exitcode. 134 -- Check the segmentation fault exitcode. -- Check the segmentation fault exitcode. 139 -- Check whether the compiler ignores cmath makros. -- Check whether the compiler ignores cmath makros. OFF -- Check whether the compiler does NOT include <*.h> headers ISO conformant. -- Check whether the compiler does NOT include <*.h> headers ISO conformant. OFF -- Check whether the compiler respects symbolic signal names in signal.h. -- Check whether the compiler respects symbolic signal names in signal.h. OFF -- Check static template member declaration. -- Check static template member declaration. OFF -- Check for STL vector capacity base unity. -- Check for STL vector capacity base unity. ON -- Check for STL vector capacity doubling strategy. -- Check for STL vector capacity doubling strategy. ON -- Check whether the compiler fails with ICE. -- Check whether the compiler fails with ICE. OFF -- Check if ::nan is available from cmath. -- Check if ::nan is available from cmath. ON -- Check if ::isnan is available from cmath. -- Check if ::isnan is available from cmath. ON -- NEST version: nest-2.20.0 -- Found PythonLibs: /usr/lib/i386-linux-gnu/libpython2.7.so (found version "2.7.6")
-------------------------------------------------------------------------------- NEST Configuration Summary --------------------------------------------------------------------------------
Build type : Target System : Linux Cross Compiling : FALSE C compiler : GNU 7.4.0 (/usr/bin/gcc) C compiler flags : -O2 -Wall -fopenmp -fdiagnostics-color=auto C++ compiler : GNU 7.4.0 (/usr/bin/g++) C++ compiler flags : -std=c++11 -O2 -Wall -fopenmp -fdiagnostics-color=auto Build dynamic : ON
Built-in modules : models;precise;topology User modules : None Python bindings : Yes (Python 2.7.6: /usr/bin/python) Includes : /usr/include/python2.7 Libraries : /usr/lib/i386-linux-gnu/libpython2.7.so
Cython bindings : Yes (Cython 0.20.1: /usr/bin/cython) Use threading : Yes (OpenMP: -fopenmp) Use GSL : Yes (GSL 1.16) Includes : /usr/include Libraries : /usr/lib/libgsl.so;/usr/lib/libgslcblas.so
Use Readline : Yes (GNU Readline 6.3) Includes : /usr/include Libraries : /usr/lib/i386-linux-gnu/libreadline.so;/usr/lib/i386-linux-gnu/libncurses.so
Use libltdl : Yes (LTDL 2.4.2) Includes : /usr/include Libraries : /usr/lib/i386-linux-gnu/libltdl.so
Use doxygen : No Use MPI : No Use MUSIC : No Use libneurosim : No Use Boost : No
--------------------------------------------------------------------------------
The NEST executable will be installed to: /usr/bin/nest/bin/
Documentation and examples will be installed to: /usr/bin/nest/share/doc/nest/
PyNEST will be installed to: /usr/bin/nest/lib/python2.7/site-packages
To set necessary environment variables, add the following line to your ~/.bashrc : source /usr/bin/nest/bin/nest_vars.sh
--------------------------------------------------------------------------------
You can now build and install NEST with make make install make installcheck
If you experience problems with the installation or the use of NEST, please see https://www.nest-simulator.org/frequently_asked_questions or go to https://www.nest-simulator.org/community to find out how to join the user mailing list.
-- Configuring done -- Generating done -- Build files have been written to: /home/visapy_and_dependencies/nest-simulator-2.20.0 _______________________________________________ NEST Users mailing list -- users@nest-simulator.orgmailto:users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.orgmailto:users-leave@nest-simulator.org
--
Prof. Dr. Hans Ekkehard Plesser Head, Data Science Section
Faculty of Science and Technology Norwegian University of Life Sciences PO Box 5003, 1432 Aas, Norway
Phone +47 6723 1560 Email hans.ekkehard.plesser@nmbu.no Home http://arken.nmbu.no/~plesser
Hello, please forgive me for replying so late. The problem was resolved after I upgraded the system to ubuntu18.4 and compiled it using GCC9.2. Anyway, I would like to thank you for your kind help and reply.