Hello all,
I am trying to implement a sort of plasticity that keeps the sum of all
outgoing weights of the neuron constant. It would require not only knowing
the weights of all synapses at a simulation timestep, but also setting them
externally with this knowledge, i.e. setting weights outside of single
synapse context.
Is there any way I could implement it efficiently in NEST? Thanks in
advance!
Best regards,
--
Stefan Dvoretskii
Hello,
I am using an example synapse model which utilizes both post and pre spikes
(nestml/models/synapses/stdp_nn_symm.nestml at master · nest/nestml
(github.com)
<https://github.com/nest/nestml/blob/master/models/synapses/stdp_nn_symm.nes…>
).
I get an error:
...
File
"/dss/dsshome1/00/ge72puf2/.conda/envs/nest/lib/python3.8/site-packages/pynestml/codegeneration/nest_code_generator.py",
line 469, in _get_synapse_model_namespace
assert len(namespace["pre_ports"]) <= 1, "Synapses only support one
spiking input port"
AssertionError: Synapses only support one spiking input port
It is confusing: can I or can I not use a model with 2 synaptic inputs
(post and pre)? Is that a version thing?
Best regards,
--
Stefan
Dear NEST Community,
I hope this email finds you well. I am encountering some challenges
while attempting to compile the NEST simulator on an openSUSE machine. I
am using the provided CMake command, which has worked successfully on my
Ubuntu machine with the required libraries and environment loaded.
However, on the openSUSE machine, the compilation process fails with an
error related to the <mach-o/dyld.h> header, which seems specific to macOS.
The CMake command I am using is as follows:
```
conda activate python_for_nest
module load gsl/2.6 openmpi/cxx-4.1.1
cmake -Dwith-python=ON \
-Dwith-gsl=ON \
-Dwith-openmp=ON \
-DMPI_CXX_COMPILER=$(which mpic++) \
-DMPI_C_COMPILER=$(which mpicc) \
-Dwith-mpi=ON \
-DCMAKE_INSTALL_PREFIX:PATH=${PREFIX} ${SRC}
```
The error messages I encounter during the compilation are as follows,
all mach-related:
```
Building C object CMakeFiles/cmTC_4dc4e.dir/HAVE_MACH_O_DYLD_H.c.o
/usr/bin/cc -o CMakeFiles/cmTC_4dc4e.dir/HAVE_MACH_O_DYLD_H.c.o -c
/home/espinoza/opt/nest/master/nest-simulator-build/CMakeFiles/CheckIncludeFiles/HAVE_MACH_O_DYLD_H.c
/home/espinoza/opt/nest/master/nest-simulator-build/CMakeFiles/CheckIncludeFiles/HAVE_MACH_O_DYLD_H.c:2:10:
fatal error: mach-o/dyld.h: No such file or directory
2 | #include <mach-o/dyld.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
gmake[1]: *** [CMakeFiles/cmTC_4dc4e.dir/build.make:85:
CMakeFiles/cmTC_4dc4e.dir/HAVE_MACH_O_DYLD_H.c.o] Fehler 1
gmake[1]: Verzeichnis
„/home/espinoza/opt/nest/master/nest-simulator-build/CMakeFiles/CMakeTmp“
wird verlassen
gmake: *** [Makefile:140: cmTC_4dc4e/fast] Fehler 2
```
From my understanding, `<mach-o/dyld.h>` is primarily used for macOS,
and its absence on openSUSE is causing the compilation error.
I kindly request any hint or advice for resolving this issue. Is there
any way I can modify the CMake command or the environment to ensure
successful compilation on the openSUSE machine? Additionally, if there
are any specific libraries or configurations that need to be adjusted
for openSUSE, I would greatly appreciate your guidance.
To further investigate the issue, I will attach the `CMakeError.log` and
`CMakeOutput.log` files to this email.
Thank you very much for your time and support. Any insights or
suggestions you can provide will be invaluable in resolving this problem.
Best regards,
Jesús Espinoza
--
Jesús Espinoza
Bergische Universität Wuppertal
Fakultät für Mathematik und Naturwissenschaften Wissenschaftliches
Rechnen und Hochleistungsrechnen Gaußstraße 20
42119 Wuppertal
Germany
E-Mail: espinozavalverd{at}uni-wuppertal.de