Coder Social home page Coder Social logo

alberto-antonietti / cerebnest Goto Github PK

View Code? Open in Web Editor NEW
8.0 6.0 1.0 2.7 MB

Module for NEST simulator developed in the Project CerebNEST, aiming to recreate and simulate in NEST realistic cerebellar-inspired models.

License: GNU General Public License v2.0

CMake 5.37% C++ 79.81% Python 11.89% Shell 2.92%
nest-module cerebellum snn spiking-neural-networks

cerebnest's People

Contributors

alberto-antonietti avatar alicegem avatar edne avatar vasco944 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cerebnest's Issues

LTD problem

LTD (trigger_update_weight function in stdp_connection_sinexp and stdp_connection_cosexp) is not handled properly when loading CerebNEST module.

The problem regards the check of the gid of the volume_transmitter_alberto nodes.
Note that there are two get_vt_gid functions, one overrides the CommonSynapseProperties, while the other one is a new method of the STDPSinExpConnection class.

I will try to solve the issue in the coming days.

EGLIF warnings

Fixing EGLIF warnings during standard build of cereb module

Is the n parameter still required for volume_transmitter_alberto?

Additional parameter vt number ("n") required for multithreading simulations with plasticity. Can't this be done internally since we just give each volume transmitter an incrementing ID?

            for n,vti in enumerate(vt):
        		nest.SetStatus([vti],{"deliver_interval" : 2})            # TO CHECK
        		nest.SetStatus([vti],{"n" : n})

STDP synapses warnings

stdp_connection_alpha

In file included from /home/alberto/workspace/CerebNEST/cerebmodule.cpp:33:0:
/home/alberto/workspace/CerebNEST/stdp_connection_alpha.h: In instantiation of ‘mynest::STDPAlphaConnection<targetidentifierT>::STDPAlphaConnection() [with targetidentifierT = nest::TargetIdentifierPtrRport]’:
/home/alberto/workspace/nest-simulator/b/include/nest/connector_model.h:181:25:   required from ‘nest::GenericConnectorModel<ConnectionT>::GenericConnectorModel(std::__cxx11::string, bool, bool, bool, bool, bool) [with ConnectionT = mynest::STDPAlphaConnection<nest::TargetIdentifierPtrRport>; std::__cxx11::string = std::__cxx11::basic_string<char>]’
/home/alberto/workspace/nest-simulator/b/include/nest/model_manager_impl.h:93:32:   required from ‘void nest::ModelManager::register_connection_model(const string&, bool, bool) [with ConnectionT = mynest::STDPAlphaConnection<nest::TargetIdentifierPtrRport>; ConnectorModelT = nest::GenericConnectorModel; std::__cxx11::string = std::__cxx11::basic_string<char>]’
/home/alberto/workspace/nest-simulator/b/include/nest/model_manager_impl.h:114:66:   required from ‘void nest::ModelManager::register_connection_model(const string&, bool, bool) [with ConnectionT = mynest::STDPAlphaConnection<nest::TargetIdentifierPtrRport>; std::__cxx11::string = std::__cxx11::basic_string<char>]’
/home/alberto/workspace/CerebNEST/cerebmodule.cpp:139:60:   required from here
/home/alberto/workspace/CerebNEST/stdp_connection_alpha.h:215:10: warning: ‘mynest::STDPAlphaConnection<nest::TargetIdentifierPtrRport>::t_last_update_’ will be initialized after [-Wreorder]
   double t_last_update_;
          ^
/home/alberto/workspace/CerebNEST/stdp_connection_alpha.h:207:10: warning:   ‘double mynest::STDPAlphaConnection<nest::TargetIdentifierPtrRport>::vt_num_’ [-Wreorder]
   double vt_num_;
          ^
/home/alberto/workspace/CerebNEST/stdp_connection_alpha.h:224:41: warning:   when initialized here [-Wreorder]
 template < typename targetidentifierT > STDPAlphaConnection< targetidentifierT >::STDPAlphaConnection()
                                         ^
In file included from /home/alberto/workspace/CerebNEST/cerebmodule.cpp:33:0:
/home/alberto/workspace/CerebNEST/stdp_connection_alpha.h: In instantiation of ‘mynest::STDPAlphaConnection<targetidentifierT>::STDPAlphaConnection(const mynest::STDPAlphaConnection<targetidentifierT>&) [with targetidentifierT = nest::TargetIdentifierPtrRport]’:
/home/alberto/workspace/nest-simulator/b/include/nest/connection_label.h:54:7:   required from ‘void nest::GenericConnectorModel<ConnectionT>::add_connection(nest::Node&, nest::Node&, std::vector<nest::ConnectorBase*>&, nest::synindex, const DictionaryDatum&, double, double) [with ConnectionT = nest::ConnectionLabel<mynest::STDPAlphaConnection<nest::TargetIdentifierPtrRport> >; nest::synindex = unsigned int; DictionaryDatum = lockPTRDatum<Dictionary, (& SLIInterpreter::Dictionarytype)>]’
/home/alberto/workspace/CerebNEST/cerebmodule.cpp:157:1:   required from here
/home/alberto/workspace/CerebNEST/stdp_connection_alpha.h:215:10: warning: ‘mynest::STDPAlphaConnection<nest::TargetIdentifierPtrRport>::t_last_update_’ will be initialized after [-Wreorder]
   double t_last_update_;
          ^
/home/alberto/workspace/CerebNEST/stdp_connection_alpha.h:207:10: warning:   ‘double mynest::STDPAlphaConnection<nest::TargetIdentifierPtrRport>::vt_num_’ [-Wreorder]
   double vt_num_;
          ^
/home/alberto/workspace/CerebNEST/stdp_connection_alpha.h:235:41: warning:   when initialized here [-Wreorder]
 template < typename targetidentifierT > STDPAlphaConnection< targetidentifierT >::STDPAlphaConnection( const STDPAlphaConnection
                                         ^
In file included from /home/alberto/workspace/CerebNEST/cerebmodule.cpp:33:0:
/home/alberto/workspace/CerebNEST/stdp_connection_alpha.h: In instantiation of ‘mynest::STDPAlphaConnection<targetidentifierT>::STDPAlphaConnection() [with targetidentifierT = nest::TargetIdentifierPtrRport]’:
/home/alberto/workspace/nest-simulator/b/include/nest/connector_model.h:181:25:   required from ‘nest::GenericConnectorModel<ConnectionT>::GenericConnectorModel(std::__cxx11::string, bool, bool, bool, bool, bool) [with ConnectionT = mynest::STDPAlphaConnection<nest::TargetIdentifierPtrRport>; std::__cxx11::string = std::__cxx11::basic_string<char>]’
/home/alberto/workspace/nest-simulator/b/include/nest/model_manager_impl.h:93:32:   required from ‘void nest::ModelManager::register_connection_model(const string&, bool, bool) [with ConnectionT = mynest::STDPAlphaConnection<nest::TargetIdentifierPtrRport>; ConnectorModelT = nest::GenericConnectorModel; std::__cxx11::string = std::__cxx11::basic_string<char>]’
/home/alberto/workspace/nest-simulator/b/include/nest/model_manager_impl.h:114:66:   required from ‘void nest::ModelManager::register_connection_model(const string&, bool, bool) [with ConnectionT = mynest::STDPAlphaConnection<nest::TargetIdentifierPtrRport>; std::__cxx11::string = std::__cxx11::basic_string<char>]’
/home/alberto/workspace/CerebNEST/cerebmodule.cpp:139:60:   required from here
/home/alberto/workspace/CerebNEST/stdp_connection_alpha.h:215:10: warning: ‘mynest::STDPAlphaConnection<nest::TargetIdentifierPtrRport>::t_last_update_’ will be initialized after [-Wreorder]
   double t_last_update_;
          ^
/home/alberto/workspace/CerebNEST/stdp_connection_alpha.h:207:10: warning:   ‘double mynest::STDPAlphaConnection<nest::TargetIdentifierPtrRport>::vt_num_’ [-Wreorder]
   double vt_num_;
          ^
/home/alberto/workspace/CerebNEST/stdp_connection_alpha.h:224:41: warning:   when initialized here [-Wreorder]
 template < typename targetidentifierT > STDPAlphaConnection< targetidentifierT >::STDPAlphaConnection()
                                         ^
In file included from /home/alberto/workspace/CerebNEST/cerebmodule.cpp:33:0:
/home/alberto/workspace/CerebNEST/stdp_connection_alpha.h: In instantiation of ‘mynest::STDPAlphaConnection<targetidentifierT>::STDPAlphaConnection(const mynest::STDPAlphaConnection<targetidentifierT>&) [with targetidentifierT = nest::TargetIdentifierPtrRport]’:
/home/alberto/workspace/nest-simulator/b/include/nest/connection_label.h:54:7:   required from ‘void nest::GenericConnectorModel<ConnectionT>::add_connection(nest::Node&, nest::Node&, std::vector<nest::ConnectorBase*>&, nest::synindex, const DictionaryDatum&, double, double) [with ConnectionT = nest::ConnectionLabel<mynest::STDPAlphaConnection<nest::TargetIdentifierPtrRport> >; nest::synindex = unsigned int; DictionaryDatum = lockPTRDatum<Dictionary, (& SLIInterpreter::Dictionarytype)>]’
/home/alberto/workspace/CerebNEST/cerebmodule.cpp:157:1:   required from here
/home/alberto/workspace/CerebNEST/stdp_connection_alpha.h:215:10: warning: ‘mynest::STDPAlphaConnection<nest::TargetIdentifierPtrRport>::t_last_update_’ will be initialized after [-Wreorder]
   double t_last_update_;
          ^
/home/alberto/workspace/CerebNEST/stdp_connection_alpha.h:207:10: warning:   ‘double mynest::STDPAlphaConnection<nest::TargetIdentifierPtrRport>::vt_num_’ [-Wreorder]
   double vt_num_;
          ^
/home/alberto/workspace/CerebNEST/stdp_connection_alpha.h:235:41: warning:   when initialized here [-Wreorder]
 template < typename targetidentifierT > STDPAlphaConnection< targetidentifierT >::STDPAlphaConnection( const STDPAlphaConnection
                                         ^

stdp_connection_sinexp


In file included from /home/alberto/workspace/CerebNEST/cerebmodule.cpp:31:0:
/home/alberto/workspace/CerebNEST/stdp_connection_sinexp.h: In instantiation of ‘mynest::STDPSinExpConnection<targetidentifierT>::STDPSinExpConnection() [with targetidentifierT = nest::TargetIdentifierPtrRport]’:
/home/alberto/workspace/nest-simulator/b/include/nest/connector_model.h:181:25:   required from ‘nest::GenericConnectorModel<ConnectionT>::GenericConnectorModel(std::__cxx11::string, bool, bool, bool, bool, bool) [with ConnectionT = mynest::STDPSinExpConnection<nest::TargetIdentifierPtrRport>; std::__cxx11::string = std::__cxx11::basic_string<char>]’
/home/alberto/workspace/nest-simulator/b/include/nest/model_manager_impl.h:93:32:   required from ‘void nest::ModelManager::register_connection_model(const string&, bool, bool) [with ConnectionT = mynest::STDPSinExpConnection<nest::TargetIdentifierPtrRport>; ConnectorModelT = nest::GenericConnectorModel; std::__cxx11::string = std::__cxx11::basic_string<char>]’
/home/alberto/workspace/nest-simulator/b/include/nest/model_manager_impl.h:114:66:   required from ‘void nest::ModelManager::register_connection_model(const string&, bool, bool) [with ConnectionT = mynest::STDPSinExpConnection<nest::TargetIdentifierPtrRport>; std::__cxx11::string = std::__cxx11::basic_string<char>]’
/home/alberto/workspace/CerebNEST/cerebmodule.cpp:143:61:   required from here
/home/alberto/workspace/CerebNEST/stdp_connection_sinexp.h:214:10: warning: ‘mynest::STDPSinExpConnection<nest::TargetIdentifierPtrRport>::t_last_update_’ will be initialized after [-Wreorder]
   double t_last_update_;
          ^
/home/alberto/workspace/CerebNEST/stdp_connection_sinexp.h:206:10: warning:   ‘double mynest::STDPSinExpConnection<nest::TargetIdentifierPtrRport>::vt_num_’ [-Wreorder]
   double vt_num_;
          ^
/home/alberto/workspace/CerebNEST/stdp_connection_sinexp.h:223:41: warning:   when initialized here [-Wreorder]
 template < typename targetidentifierT > STDPSinExpConnection< targetidentifierT >::STDPSinExpConnection()
                                         ^

In file included from /home/alberto/workspace/CerebNEST/cerebmodule.cpp:31:0:
/home/alberto/workspace/CerebNEST/stdp_connection_sinexp.h: In instantiation of ‘mynest::STDPSinExpConnection<targetidentifierT>::STDPSinExpConnection(const mynest::STDPSinExpConnection<targetidentifierT>&) [with targetidentifierT = nest::TargetIdentifierPtrRport]’:
/home/alberto/workspace/nest-simulator/b/include/nest/connection_label.h:54:7:   required from ‘void nest::GenericConnectorModel<ConnectionT>::add_connection(nest::Node&, nest::Node&, std::vector<nest::ConnectorBase*>&, nest::synindex, const DictionaryDatum&, double, double) [with ConnectionT = nest::ConnectionLabel<mynest::STDPSinExpConnection<nest::TargetIdentifierPtrRport> >; nest::synindex = unsigned int; DictionaryDatum = lockPTRDatum<Dictionary, (& SLIInterpreter::Dictionarytype)>]’
/home/alberto/workspace/CerebNEST/cerebmodule.cpp:157:1:   required from here
/home/alberto/workspace/CerebNEST/stdp_connection_sinexp.h:214:10: warning: ‘mynest::STDPSinExpConnection<nest::TargetIdentifierPtrRport>::t_last_update_’ will be initialized after [-Wreorder]
   double t_last_update_;
          ^
/home/alberto/workspace/CerebNEST/stdp_connection_sinexp.h:206:10: warning:   ‘double mynest::STDPSinExpConnection<nest::TargetIdentifierPtrRport>::vt_num_’ [-Wreorder]
   double vt_num_;
          ^
/home/alberto/workspace/CerebNEST/stdp_connection_sinexp.h:234:41: warning:   when initialized here [-Wreorder]
 template < typename targetidentifierT > STDPSinExpConnection< targetidentifierT >::STDPSinExpConnection( const STDPSinExpConnect
                                         ^

In file included from /home/alberto/workspace/CerebNEST/cerebmodule.cpp:31:0:
/home/alberto/workspace/CerebNEST/stdp_connection_sinexp.h: In instantiation of ‘mynest::STDPSinExpConnection<targetidentifierT>::STDPSinExpConnection() [with targetidentifierT = nest::TargetIdentifierPtrRport]’:
/home/alberto/workspace/nest-simulator/b/include/nest/connector_model.h:181:25:   required from ‘nest::GenericConnectorModel<ConnectionT>::GenericConnectorModel(std::__cxx11::string, bool, bool, bool, bool, bool) [with ConnectionT = mynest::STDPSinExpConnection<nest::TargetIdentifierPtrRport>; std::__cxx11::string = std::__cxx11::basic_string<char>]’
/home/alberto/workspace/nest-simulator/b/include/nest/model_manager_impl.h:93:32:   required from ‘void nest::ModelManager::register_connection_model(const string&, bool, bool) [with ConnectionT = mynest::STDPSinExpConnection<nest::TargetIdentifierPtrRport>; ConnectorModelT = nest::GenericConnectorModel; std::__cxx11::string = std::__cxx11::basic_string<char>]’
/home/alberto/workspace/nest-simulator/b/include/nest/model_manager_impl.h:114:66:   required from ‘void nest::ModelManager::register_connection_model(const string&, bool, bool) [with ConnectionT = mynest::STDPSinExpConnection<nest::TargetIdentifierPtrRport>; std::__cxx11::string = std::__cxx11::basic_string<char>]’
/home/alberto/workspace/CerebNEST/cerebmodule.cpp:143:61:   required from here
/home/alberto/workspace/CerebNEST/stdp_connection_sinexp.h:214:10: warning: ‘mynest::STDPSinExpConnection<nest::TargetIdentifierPtrRport>::t_last_update_’ will be initialized after [-Wreorder]
   double t_last_update_;
          ^
/home/alberto/workspace/CerebNEST/stdp_connection_sinexp.h:206:10: warning:   ‘double mynest::STDPSinExpConnection<nest::TargetIdentifierPtrRport>::vt_num_’ [-Wreorder]
   double vt_num_;
          ^
/home/alberto/workspace/CerebNEST/stdp_connection_sinexp.h:223:41: warning:   when initialized here [-Wreorder]
 template < typename targetidentifierT > STDPSinExpConnection< targetidentifierT >::STDPSinExpConnection()
                                         ^
In file included from /home/alberto/workspace/CerebNEST/cerebmodule.cpp:31:0:
/home/alberto/workspace/CerebNEST/stdp_connection_sinexp.h: In instantiation of ‘mynest::STDPSinExpConnection<targetidentifierT>::STDPSinExpConnection(const mynest::STDPSinExpConnection<targetidentifierT>&) [with targetidentifierT = nest::TargetIdentifierPtrRport]’:
/home/alberto/workspace/nest-simulator/b/include/nest/connection_label.h:54:7:   required from ‘void nest::GenericConnectorModel<ConnectionT>::add_connection(nest::Node&, nest::Node&, std::vector<nest::ConnectorBase*>&, nest::synindex, const DictionaryDatum&, double, double) [with ConnectionT = nest::ConnectionLabel<mynest::STDPSinExpConnection<nest::TargetIdentifierPtrRport> >; nest::synindex = unsigned int; DictionaryDatum = lockPTRDatum<Dictionary, (& SLIInterpreter::Dictionarytype)>]’
/home/alberto/workspace/CerebNEST/cerebmodule.cpp:157:1:   required from here
/home/alberto/workspace/CerebNEST/stdp_connection_sinexp.h:214:10: warning: ‘mynest::STDPSinExpConnection<nest::TargetIdentifierPtrRport>::t_last_update_’ will be initialized after [-Wreorder]
   double t_last_update_;
          ^
/home/alberto/workspace/CerebNEST/stdp_connection_sinexp.h:206:10: warning:   ‘double mynest::STDPSinExpConnection<nest::TargetIdentifierPtrRport>::vt_num_’ [-Wreorder]
   double vt_num_;
          ^
/home/alberto/workspace/CerebNEST/stdp_connection_sinexp.h:234:41: warning:   when initialized here [-Wreorder]
 template < typename targetidentifierT > STDPSinExpConnection< targetidentifierT >::STDPSinExpConnection( const STDPSinExpConnect
                                         ^

stdp_connection_cosexp

In file included from /home/alberto/workspace/CerebNEST/cerebmodule.cpp:32:0:
/home/alberto/workspace/CerebNEST/stdp_connection_cosexp.h: In instantiation of ‘mynest::STDPCosExpConnection<targetidentifierT>::STDPCosExpConnection() [with targetidentifierT = nest::TargetIdentifierPtrRport]’:
/home/alberto/workspace/nest-simulator/b/include/nest/connector_model.h:181:25:   required from ‘nest::GenericConnectorModel<ConnectionT>::GenericConnectorModel(std::__cxx11::string, bool, bool, bool, bool, bool) [with ConnectionT = mynest::STDPCosExpConnection<nest::TargetIdentifierPtrRport>; std::__cxx11::string = std::__cxx11::basic_string<char>]’
/home/alberto/workspace/nest-simulator/b/include/nest/model_manager_impl.h:93:32:   required from ‘void nest::ModelManager::register_connection_model(const string&, bool, bool) [with ConnectionT = mynest::STDPCosExpConnection<nest::TargetIdentifierPtrRport>; ConnectorModelT = nest::GenericConnectorModel; std::__cxx11::string = std::__cxx11::basic_string<char>]’
/home/alberto/workspace/nest-simulator/b/include/nest/model_manager_impl.h:114:66:   required from ‘void nest::ModelManager::register_connection_model(const string&, bool, bool) [with ConnectionT = mynest::STDPCosExpConnection<nest::TargetIdentifierPtrRport>; std::__cxx11::string = std::__cxx11::basic_string<char>]’
/home/alberto/workspace/CerebNEST/cerebmodule.cpp:147:61:   required from here
/home/alberto/workspace/CerebNEST/stdp_connection_cosexp.h:216:10: warning: ‘mynest::STDPCosExpConnection<nest::TargetIdentifierPtrRport>::t_last_update_’ will be initialized after [-Wreorder]
   double t_last_update_;
          ^
/home/alberto/workspace/CerebNEST/stdp_connection_cosexp.h:208:10: warning:   ‘double mynest::STDPCosExpConnection<nest::TargetIdentifierPtrRport>::vt_num_’ [-Wreorder]
   double vt_num_;
          ^
/home/alberto/workspace/CerebNEST/stdp_connection_cosexp.h:225:41: warning:   when initialized here [-Wreorder]
 template < typename targetidentifierT > STDPCosExpConnection< targetidentifierT >::STDPCosExpConnection()
                                         ^
In file included from /home/alberto/workspace/CerebNEST/cerebmodule.cpp:32:0:
/home/alberto/workspace/CerebNEST/stdp_connection_cosexp.h: In instantiation of ‘mynest::STDPCosExpConnection<targetidentifierT>::STDPCosExpConnection(const mynest::STDPCosExpConnection<targetidentifierT>&) [with targetidentifierT = nest::TargetIdentifierPtrRport]’:
/home/alberto/workspace/nest-simulator/b/include/nest/connection_label.h:54:7:   required from ‘void nest::GenericConnectorModel<ConnectionT>::add_connection(nest::Node&, nest::Node&, std::vector<nest::ConnectorBase*>&, nest::synindex, const DictionaryDatum&, double, double) [with ConnectionT = nest::ConnectionLabel<mynest::STDPCosExpConnection<nest::TargetIdentifierPtrRport> >; nest::synindex = unsigned int; DictionaryDatum = lockPTRDatum<Dictionary, (& SLIInterpreter::Dictionarytype)>]’
/home/alberto/workspace/CerebNEST/cerebmodule.cpp:157:1:   required from here
/home/alberto/workspace/CerebNEST/stdp_connection_cosexp.h:216:10: warning: ‘mynest::STDPCosExpConnection<nest::TargetIdentifierPtrRport>::t_last_update_’ will be initialized after [-Wreorder]
   double t_last_update_;
          ^
/home/alberto/workspace/CerebNEST/stdp_connection_cosexp.h:208:10: warning:   ‘double mynest::STDPCosExpConnection<nest::TargetIdentifierPtrRport>::vt_num_’ [-Wreorder]
   double vt_num_;
          ^
/home/alberto/workspace/CerebNEST/stdp_connection_cosexp.h:236:41: warning:   when initialized here [-Wreorder]
 template < typename targetidentifierT > STDPCosExpConnection< targetidentifierT >::STDPCosExpConnection( const STDPCosExpConnect
                                         ^
In file included from /home/alberto/workspace/CerebNEST/cerebmodule.cpp:32:0:
/home/alberto/workspace/CerebNEST/stdp_connection_cosexp.h: In instantiation of ‘mynest::STDPCosExpConnection<targetidentifierT>::STDPCosExpConnection() [with targetidentifierT = nest::TargetIdentifierPtrRport]’:
/home/alberto/workspace/nest-simulator/b/include/nest/connector_model.h:181:25:   required from ‘nest::GenericConnectorModel<ConnectionT>::GenericConnectorModel(std::__cxx11::string, bool, bool, bool, bool, bool) [with ConnectionT = mynest::STDPCosExpConnection<nest::TargetIdentifierPtrRport>; std::__cxx11::string = std::__cxx11::basic_string<char>]’
/home/alberto/workspace/nest-simulator/b/include/nest/model_manager_impl.h:93:32:   required from ‘void nest::ModelManager::register_connection_model(const string&, bool, bool) [with ConnectionT = mynest::STDPCosExpConnection<nest::TargetIdentifierPtrRport>; ConnectorModelT = nest::GenericConnectorModel; std::__cxx11::string = std::__cxx11::basic_string<char>]’
/home/alberto/workspace/nest-simulator/b/include/nest/model_manager_impl.h:114:66:   required from ‘void nest::ModelManager::register_connection_model(const string&, bool, bool) [with ConnectionT = mynest::STDPCosExpConnection<nest::TargetIdentifierPtrRport>; std::__cxx11::string = std::__cxx11::basic_string<char>]’
/home/alberto/workspace/CerebNEST/cerebmodule.cpp:147:61:   required from here
/home/alberto/workspace/CerebNEST/stdp_connection_cosexp.h:216:10: warning: ‘mynest::STDPCosExpConnection<nest::TargetIdentifierPtrRport>::t_last_update_’ will be initialized after [-Wreorder]
   double t_last_update_;
          ^
/home/alberto/workspace/CerebNEST/stdp_connection_cosexp.h:208:10: warning:   ‘double mynest::STDPCosExpConnection<nest::TargetIdentifierPtrRport>::vt_num_’ [-Wreorder]
   double vt_num_;
          ^
/home/alberto/workspace/CerebNEST/stdp_connection_cosexp.h:225:41: warning:   when initialized here [-Wreorder]
 template < typename targetidentifierT > STDPCosExpConnection< targetidentifierT >::STDPCosExpConnection()
                                         ^
In file included from /home/alberto/workspace/CerebNEST/cerebmodule.cpp:32:0:
/home/alberto/workspace/CerebNEST/stdp_connection_cosexp.h: In instantiation of ‘mynest::STDPCosExpConnection<targetidentifierT>::STDPCosExpConnection(const mynest::STDPCosExpConnection<targetidentifierT>&) [with targetidentifierT = nest::TargetIdentifierPtrRport]’:
/home/alberto/workspace/nest-simulator/b/include/nest/connection_label.h:54:7:   required from ‘void nest::GenericConnectorModel<ConnectionT>::add_connection(nest::Node&, nest::Node&, std::vector<nest::ConnectorBase*>&, nest::synindex, const DictionaryDatum&, double, double) [with ConnectionT = nest::ConnectionLabel<mynest::STDPCosExpConnection<nest::TargetIdentifierPtrRport> >; nest::synindex = unsigned int; DictionaryDatum = lockPTRDatum<Dictionary, (& SLIInterpreter::Dictionarytype)>]’
/home/alberto/workspace/CerebNEST/cerebmodule.cpp:157:1:   required from here
/home/alberto/workspace/CerebNEST/stdp_connection_cosexp.h:216:10: warning: ‘mynest::STDPCosExpConnection<nest::TargetIdentifierPtrRport>::t_last_update_’ will be initialized after [-Wreorder]
   double t_last_update_;
          ^
/home/alberto/workspace/CerebNEST/stdp_connection_cosexp.h:208:10: warning:   ‘double mynest::STDPCosExpConnection<nest::TargetIdentifierPtrRport>::vt_num_’ [-Wreorder]
   double vt_num_;
          ^
/home/alberto/workspace/CerebNEST/stdp_connection_cosexp.h:236:41: warning:   when initialized here [-Wreorder]
 template < typename targetidentifierT > STDPCosExpConnection< targetidentifierT >::STDPCosExpConnection( const STDPCosExpConnect
                                         ^

Sgritta2017

In file included from /home/alberto/workspace/CerebNEST/cerebmodule.cpp:35:0:
/home/alberto/workspace/CerebNEST/Sgritta2017.h: In instantiation of ‘mynest::Sgritta2017<targetidentifierT>::Sgritta2017(const mynest::Sgritta2017<targetidentifierT>&) [with targetidentifierT = nest::TargetIdentifierPtrRport]’:
/home/alberto/workspace/nest-simulator/b/include/nest/connection_label.h:54:7:   required from ‘void nest::GenericConnectorModel<ConnectionT>::add_connection(nest::Node&, nest::Node&, std::vector<nest::ConnectorBase*>&, nest::synindex, const DictionaryDatum&, double, double) [with ConnectionT = nest::ConnectionLabel<mynest::Sgritta2017<nest::TargetIdentifierPtrRport> >; nest::synindex = unsigned int; DictionaryDatum = lockPTRDatum<Dictionary, (& SLIInterpreter::Dictionarytype)>]’
/home/alberto/workspace/CerebNEST/cerebmodule.cpp:157:1:   required from here
/home/alberto/workspace/CerebNEST/Sgritta2017.h:449:10: warning: ‘mynest::Sgritta2017<nest::TargetIdentifierPtrRport>::Wmin_’ will be initialized after [-Wreorder]
   double Wmin_;
          ^
/home/alberto/workspace/CerebNEST/Sgritta2017.h:448:10: warning:   ‘double mynest::Sgritta2017<nest::TargetIdentifierPtrRport>::Kplus_’ [-Wreorder]
   double Kplus_;
          ^
In file included from /home/alberto/workspace/CerebNEST/cerebmodule.cpp:35:0:
/home/alberto/workspace/CerebNEST/Sgritta2017.h:638:1: warning:   when initialized here [-Wreorder]
 Sgritta2017< targetidentifierT >::Sgritta2017(
 ^
In file included from /home/alberto/workspace/CerebNEST/cerebmodule.cpp:35:0:
/home/alberto/workspace/CerebNEST/Sgritta2017.h: In instantiation of ‘mynest::Sgritta2017<targetidentifierT>::Sgritta2017(const mynest::Sgritta2017<targetidentifierT>&) [with targetidentifierT = nest::TargetIdentifierPtrRport]’:
/home/alberto/workspace/nest-simulator/b/include/nest/connection_label.h:54:7:   required from ‘void nest::GenericConnectorModel<ConnectionT>::add_connection(nest::Node&, nest::Node&, std::vector<nest::ConnectorBase*>&, nest::synindex, const DictionaryDatum&, double, double) [with ConnectionT = nest::ConnectionLabel<mynest::Sgritta2017<nest::TargetIdentifierPtrRport> >; nest::synindex = unsigned int; DictionaryDatum = lockPTRDatum<Dictionary, (& SLIInterpreter::Dictionarytype)>]’
/home/alberto/workspace/CerebNEST/cerebmodule.cpp:157:1:   required from here
/home/alberto/workspace/CerebNEST/Sgritta2017.h:449:10: warning: ‘mynest::Sgritta2017<nest::TargetIdentifierPtrRport>::Wmin_’ will be initialized after [-Wreorder]
   double Wmin_;
          ^
/home/alberto/workspace/CerebNEST/Sgritta2017.h:448:10: warning:   ‘double mynest::Sgritta2017<nest::TargetIdentifierPtrRport>::Kplus_’ [-Wreorder]
   double Kplus_;
          ^
In file included from /home/alberto/workspace/CerebNEST/cerebmodule.cpp:35:0:
/home/alberto/workspace/CerebNEST/Sgritta2017.h:638:1: warning:   when initialized here [-Wreorder]
 Sgritta2017< targetidentifierT >::Sgritta2017(
 ^

iSTDP

In file included from /home/alberto/workspace/CerebNEST/cerebmodule.cpp:34:0:
/home/alberto/workspace/CerebNEST/iSTDP.h: In instantiation of ‘mynest::iSTDP<targetidentifierT>::iSTDP(const mynest::iSTDP<targetidentifierT>&) [with targetidentifierT = nest::TargetIdentifierPtrRport]’:
/home/alberto/workspace/nest-simulator/b/include/nest/connection_label.h:54:7:   required from ‘void nest::GenericConnectorModel<ConnectionT>::add_connection(nest::Node&, nest::Node&, std::vector<nest::ConnectorBase*>&, nest::synindex, const DictionaryDatum&, double, double) [with ConnectionT = nest::ConnectionLabel<mynest::iSTDP<nest::TargetIdentifierPtrRport> >; nest::synindex = unsigned int; DictionaryDatum = lockPTRDatum<Dictionary, (& SLIInterpreter::Dictionarytype)>]’
/home/alberto/workspace/CerebNEST/cerebmodule.cpp:157:1:   required from here
/home/alberto/workspace/CerebNEST/iSTDP.h:216:10: warning: ‘mynest::iSTDP<nest::TargetIdentifierPtrRport>::Wmin_’ will be initialized after [-Wreorder]
   double Wmin_;
          ^
/home/alberto/workspace/CerebNEST/iSTDP.h:215:10: warning:   ‘double mynest::iSTDP<nest::TargetIdentifierPtrRport>::Kplus_’ [-Wreorder]
   double Kplus_;
          ^
/home/alberto/workspace/CerebNEST/iSTDP.h:318:1: warning:   when initialized here [-Wreorder]
 iSTDP< targetidentifierT >::iSTDP(
 ^
In file included from /home/alberto/workspace/CerebNEST/cerebmodule.cpp:34:0:
/home/alberto/workspace/CerebNEST/iSTDP.h: In instantiation of ‘mynest::iSTDP<targetidentifierT>::iSTDP(const mynest::iSTDP<targetidentifierT>&) [with targetidentifierT = nest::TargetIdentifierPtrRport]’:
/home/alberto/workspace/nest-simulator/b/include/nest/connection_label.h:54:7:   required from ‘void nest::GenericConnectorModel<ConnectionT>::add_connection(nest::Node&, nest::Node&, std::vector<nest::ConnectorBase*>&, nest::synindex, const DictionaryDatum&, double, double) [with ConnectionT = nest::ConnectionLabel<mynest::iSTDP<nest::TargetIdentifierPtrRport> >; nest::synindex = unsigned int; DictionaryDatum = lockPTRDatum<Dictionary, (& SLIInterpreter::Dictionarytype)>]’
/home/alberto/workspace/CerebNEST/cerebmodule.cpp:157:1:   required from here
/home/alberto/workspace/CerebNEST/iSTDP.h:216:10: warning: ‘mynest::iSTDP<nest::TargetIdentifierPtrRport>::Wmin_’ will be initialized after [-Wreorder]
   double Wmin_;
          ^
/home/alberto/workspace/CerebNEST/iSTDP.h:215:10: warning:   ‘double mynest::iSTDP<nest::TargetIdentifierPtrRport>::Kplus_’ [-Wreorder]
   double Kplus_;
          ^
/home/alberto/workspace/CerebNEST/iSTDP.h:318:1: warning:   when initialized here [-Wreorder]
 iSTDP< targetidentifierT >::iSTDP(
 ^

CereNEST does not compile for Python 3.8+, missing function cgi.escape()

Looks like cgi.escape() was removed in Python 3.8+, so CerebNEST does not compile

Traceback (most recent call last):
  File "generate_help.py", line 135, in <module>
    line = cgi.escape(line)
AttributeError: module 'cgi' has no attribute 'escape'
CMakeFiles/generate_help.dir/build.make:57: recipe for target 'generate_help' failed
make[2]: *** [generate_help] Error 1
CMakeFiles/Makefile2:173: recipe for target 'CMakeFiles/generate_help.dir/all' failed
make[1]: *** [CMakeFiles/generate_help.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2

Supervisor/supervisor#1257

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.