Instructions for custom modules are incomplete/outdated(?) #1331
Labels
I: No breaking change
S: Normal
handle this with default priority
T: Maintenance
ZC: Documentation
ZP: Pending
Projects
jakobj commentedNov 1, 2019
When following the guidelines here for compiling and installing a custom module, NEST fails to load the module with the following error:
A possibly related issue is that during cmake NEST announces that the installation will be to a non-default directory, although
-DCMAKE_INSTALL_PREFIX
was not used:Setting the
NEST_MODULE_PATH
,SLI_PATH
variables does not fix the issue.For some reason this can be fixed by setting
LD_LIBRARY_PATH
to{install}/lib
and{install}/lib/nest
:Could we please make the documentation on this topic a bit more precise, e.g., there seems to be a mismatch between the advice from cmake (setting
NEST_MODULE_PATH
) and the advice from the NEST binary (settingLD_LIBRARY_PATH
)?Additionally, the loader should be fixed to only require setting
LD_LIBRARY_PATH
once, if that problem is not specific to my setup (Debian buster 10.1).@heplesser @jessica-mitchell
The text was updated successfully, but these errors were encountered: