Hi everyone. I have a couple of questions pertaining to NESTML and would
appreciate some support. I use NEST via WSL with Ubuntu 24.04.3 LTS. More
specifically, I use the micromamba extension on VS Code to manage virtual
environments and install python packages via conda-forge.
1) When using NEST 3.9 I get an error saying that PyGSL is incompatible and
the simulator returns me a warning saying the stiffness test will be
skipped.
[image: image.png]
WARNING:root:PyGSL is not available. The stiffness test will be
skipped. WARNING:root:Error
when importing: No module named 'pygsl
I didn't have this problem before, when I used NEST 3.8.
My installation steps currently are essentially:
micromamba install -c conda-forge nest-simulator=3.9 ipython cxx-compiler
cmake make swig pkg-config
pip install nestml
When I try to install pygsl via micromamba the only version I can attempt
is 2.6.2. Installing pygsl via pip also gives an error even if I have swig
and pkg-config installed.
2) When generating a target using generate_target, I get the following
error message:
/.micromamba/envs/default/x86_64-conda-linux-gnu/sysroot/usr/lib/libpthread.so:
No such file or directory
I realised that while I do not have libpthread.so under that path I do
have libpthread.so.0
and creating a symlink directing the former to the latter solves the
problem. Is this acceptable?
ln -s
/.micromamba/envs/default/x86_64-conda-linux-gnu/sysroot/usr/lib/libpthread.so.0
/.micromamba/envs/default/x86_64-conda-linux-gnu/sysroot/usr/lib/libpthread.so
3) I would like to know if using NESTCodeGeneratorUtils.generate_code_for
is better or equivalent to using generate_target.
That's it for now. Thank you in advance for your help.
Best,
Pedro.