Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error? #3

Open
kerazarek opened this issue Oct 29, 2018 · 0 comments
Open

Compilation error? #3

kerazarek opened this issue Oct 29, 2018 · 0 comments

Comments

@kerazarek
Copy link

I attempted to install NSAT on my computer (python installation: anaconda, version 3.6, on Mac OS 10.13), it appeared to install correctly (using install.sh) but I get errors when I attempt to run the test files. Here is an example of the output from one such error:

$ python tests/python/test_adapting_neuron.py

/Users/zarek/.local/lib/python3.6/site-packages/pyNCSre/experimentTools.py:21: UserWarning: Cannot import dill, falling back to pickle. Several pyNCS objects cannot be pickled
warnings.warn('Cannot import dill, falling back to pickle. Several pyNCS objects cannot be pickled')
Begin test_adapting_neuron:main()
Begin test_adapting_neuron:setup()
Begin nsat_writer:NSATWriter.write()
End nsat_writer:NSATWriter.write() previous write_config, running time: 0.002358 seconds
End nsat_writer:NSATWriter.write() pickling, running time: 0.001535 seconds
End test_adapting_neuron:setup()
Begin test_adapting_neuron:run()
Running C NSAT!
/Users/zarek/Downloads/NSAT-master
Traceback (most recent call last):
File "tests/python/test_adapting_neuron.py", line 127, in
run(fnames)
File "tests/python/test_adapting_neuron.py", line 104, in run
nsat.run_c_nsat(fnames)
File "/Users/zarek/Downloads/NSAT-master/pyNSATlib/NSATlib.py", line 72, in run_c_nsat
_nsat = cdll.LoadLibrary(find_nsat_library())
File "/Users/zarek/anaconda/lib/python3.6/ctypes/init.py", line 426, in LoadLibrary
return self._dlltype(name)
File "/Users/zarek/anaconda/lib/python3.6/ctypes/init.py", line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: dlopen(../../lib/libnsat.so, 6): image not found

As far as I can tell the file .../NSAT-master/lib/libnsat.so does exist, but I am not sure if this file was compiled correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant