I’m trying to run NEST on Jureca, but I get an error:

Traceback (most recent call last):
  File "/p/project/jinm60/users/wybo1/Code/NEAST_models/BBP/tests/run_all_tests.py", line 2, in <module>
    import nest.lib.hl_api_exceptions as nestexceptions
  File "/p/home/jusers/wybo1/jureca/nest/nest-install/lib64/python3.11/site-packages/nest/__init__.py", line 64, in <module>
    from .ll_api_kernel_attributes import KernelAttribute  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/p/home/jusers/wybo1/jureca/nest/nest-install/lib64/python3.11/site-packages/nest/ll_api_kernel_attributes.py", line 22, in <module>
    from .ll_api import spp, sps, sr, stack_checker
  File "/p/home/jusers/wybo1/jureca/nest/nest-install/lib64/python3.11/site-packages/nest/ll_api.py", line 53, in <module>
    from . import pynestkernel as kernel  # noqa pylint: disable=no-name-in-module
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: libltdl.so.7: cannot open shared object file: No such file or directory

Apparently it doesn’t find pynestkernel.so (I think?). However, this file is definitely there.

wybo1@jrlogin09 ~/.../site-packages/nest> pwd
/p/home/jusers/wybo1/jureca/nest/nest-install/lib64/python3.11/site-packages/nest
wybo1@jrlogin09 ~/.../site-packages/nest> ls
__init__.py  __pycache__  lib  ll_api.py  ll_api_kernel_attributes.py  logic  math  pynest-init.sli  pynestkernel.so  random  raster_plot.py  server  spatial  spatial_distributions  versionchecker.py  visualization.py  voltage_trace.py

The problem also only manifests itself while running from a SLURM script.

I followed the install instruction here:

And source the nest_vars.sh file according to the instructions:
`source /p/home/jusers/wybo1/jureca/nest/nest-install/bin/nest_vars.sh`

Also, `make installcheck` passes successfully (both from the login node and from a slurm script).

Cheers,
Willem

----------------------
Dr. Willem Wybo
Peter Grünberg Institute 15 - Neuromorphic Software Ecosystems
Forschungszentrum Jülich
www.fz-juelich.de/pgi/PGI-15
----------------------



------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich
Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Stefan Müller
Geschäftsführung: Prof. Dr. Astrid Lambrecht (Vorsitzende),
Karsten Beneke (stellv. Vorsitzender), Dr. Ir. Pieter Jansens
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------