User Tools

Site Tools


neurali:spikestream

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
neurali:spikestream [2015/07/20 18:09]
profpro [Esecuzione]
neurali:spikestream [2020/06/08 22:20] (current)
Line 1: Line 1:
 +=====SpikeStream=====
  
 +Fa da intermediario tra [[neurali:NeMo]] e [[neurali:iSpike]]
 +
 +http://spikestream.sourceforge.net/pages/download.html
 +  * {{:neurali:spikestream-0.2.1.tar.gz|}}
 +  * {{:neurali:spikestream-0.2.1-compilato.zip|}}
 +
 +
 +Utilizza un database MySQL e dei plugin
 +
 +====Dipendenze====
 +
 +  * Dipendenza <del>libqwt-dev</del> libqt4-sql libqt4-gui? (133 MB)
 +  * non installare libqwt-dev, ma libqwt5-qt4-dev 
 +  * libgmp-dev
 +  * [[neurali:SpikeStream dipendenza MySQL]]
 +  * libqt4-sql-mysql
 +  * Dipendenza da Nemo, Boost, Cuda, quindi vedere installazione di [[neurali:NeMo]]
 +
 +
 +=== Correzione errori nel codice prima della compilazione ===
 +
 +aggiungere alla riga 1 in ./spikestream.pro
 +
 +  QMAKE_CXX = /usr/bin/gcc-4.7
 +
 +aggiungere alla riga 11 in applicantionlibrary/include/NetworkViewer.h
 +
 +  #include <GL/glu.h>
 +  
 +@debian jessie: sostituire queste righe in spikestream.pri
 +
 +<code>
 +unix:!macx {
 +     # Qwt
 +     INCLUDEPATH += /usr/include/qwt-qt4/
 +     LIBS += -lqwt-qt4 -L/usr/local/qwt-5.2.1-svn/lib
 +
 +     # GMP
 +     INCLUDEPATH += /usr/include/i386-linux-gnu/
 +     LIBS += -L/usr/lib/i386-linux-gnu -lgmpxx -lgmp
 +
 +     #GLU
 +     LIBS += -lGLU 
 +}
 +
 +</code>
 +
 +
 +====Installazione====
 +  qmake spikestream.pro
 +  make clean
 +  make
 +  make install
 +  
 +make install ([[neurali:spikestream install]]) non funziona molto bene, quindi gli eseguibili si trovano nella cartella ./bin
 +
 +====Configurazione database====
 +
 +file alla radice della cartella dei sorgenti
 +
 +spikestream.config
 +
 +<code>
 +# Configuration file for SpikeStream application
 +# Each configuration item must have a unique name.
 +# SpikeStream needs to be restarted for any changes to take effect
 +
 +# PARAMETERS FOR SpikeStreamNetwork DATABASE 
 +spikeStreamNetworkHost = localhost
 +spikeStreamNetworkUser = spikestream
 +spikeStreamNetworkPassword = spikestream
 +
 +# PARAMETERS FOR SpikeStreamArchive DATABASE
 +spikeStreamArchiveHost = localhost
 +spikeStreamArchiveUser = spikestream
 +spikeStreamArchivePassword = spikestream
 +
 +# PARAMETERS FOR SpikeStreamAnalysis DATABASE
 +spikeStreamAnalysisHost = localhost
 +spikeStreamAnalysisUser = spikestream
 +spikeStreamAnalysisPassword = spikestream
 +
 +# FILE PARAMETERS
 +default_file_location = /home/terry/spikestream
 +
 +# VIEWING PARAMETERS
 +vertex_size = 7.5
 +draw_axes = true
 +maximize_gui = true
 +sphere_radius = 0.1
 +sphere_quality = 6
 +connection_quality = 8
 +minimum_connection_radius = 0.01
 +weight_radius_factor = 0.25
 +connection_visibility_threshold_fast =  500000
 +connection_visibility_threshold_full =  10000
 +connection_thinning_threshold_fast = 10000
 +connection_thinning_threshold_full = 1000
 +
 +# DATABASE OPTIMIZATION PARAMETERS
 +number_insert_connection_buffers = 100
 +number_insert_neuron_buffers = 100
 +
 +
 +</code>
 +
 +====Esecuzione====
 +per poterli eseguire dal terminale bisogna prima configurare la variabile di ambiente
 +
 +  export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
 +
 +Il programma [[neurali:dbconfigtool spikestream]] crea tre database con le tabelle
 +
 +
 +====Esempi====
 +
 +[[neurali:spikestream esempio1]]
neurali/spikestream.txt ยท Last modified: 2020/06/08 22:20 (external edit)