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

build errors, nscattlay_dp not found #16

Open
dvincentwest opened this issue Jun 24, 2019 · 4 comments
Open

build errors, nscattlay_dp not found #16

dvincentwest opened this issue Jun 24, 2019 · 4 comments

Comments

@dvincentwest
Copy link

dvincentwest commented Jun 24, 2019

System information:

Ubuntu 19.10
GCC 8.3.0 (installed with apt)
Boost 1.6.7 (installed with apt)
scattnlay - from github repo
Python 3.7 using miniconda
make ext  # works
make install # fails 

error message from make install:

`which python3` setup.py install --root / 
running install
running build
running build_py
error: package directory 'scattnlay_dp' does not exist
make: *** [Makefile:27: install] Error 1

Here is the directory output after make ext:

(base) vince@vince-vb:~/Coding/scattnlay$ ls -la
total 15632
drwxr-xr-x 11 vince vince    4096 Jun 24 13:10 .
drwxr-xr-x  6 vince vince    4096 Jun 24 11:24 ..
drwxr-xr-x  4 vince vince    4096 Jun 24 13:06 build
-rw-r--r--  1 vince vince       0 Jun 24 11:24 CHANGES
-rw-r--r--  1 vince vince    1404 Jun 24 11:24 COPYING
drwxr-xr-x  3 vince vince    4096 Jun 24 11:24 debian
drwxr-xr-x  2 vince vince    4096 Jun 24 11:24 doc
drwxr-xr-x  2 vince vince    4096 Jun 24 11:24 examples
drwxr-xr-x  8 vince vince    4096 Jun 24 11:24 .git
-rw-r--r--  1 vince vince     483 Jun 24 11:24 .gitignore
-rwxr-xr-x  1 vince vince    4528 Jun 24 11:24 go.sh
-rw-r--r--  1 vince vince     922 Jun 24 13:10 install.md
-rw-r--r--  1 vince vince   35147 Jun 24 11:24 LICENSE
-rw-r--r--  1 vince vince    2522 Jun 24 11:24 Makefile
-rw-r--r--  1 vince vince     284 Jun 24 11:24 MANIFEST.in
-rw-r--r--  1 vince vince     864 Jun 24 11:24 PKG-INFO
-rwxr-xr-x  1 vince vince     137 Jun 24 11:24 push-to-github.sh
-rw-r--r--  1 vince vince    5992 Jun 24 11:24 README.md
drwxr-xr-x  2 vince vince    4096 Jun 24 12:47 scattnlay
-rwxr-xr-x  1 vince vince 6494096 Jun 24 13:06 scattnlay_dp.cpython-37m-x86_64-linux-gnu.so
-rwxr-xr-x  1 vince vince 9373200 Jun 24 13:07 scattnlay_mp.cpython-37m-x86_64-linux-gnu.so
-rw-r--r--  1 vince vince      40 Jun 24 11:24 setup.cfg
-rwxr-xr-x  1 vince vince    3711 Jun 24 11:24 setup.py
drwxr-xr-x  2 vince vince    4096 Jun 24 11:24 src
drwxr-xr-x  5 vince vince    4096 Jun 24 11:24 tests
drwxr-xr-x  3 vince vince    4096 Jun 24 11:24 utils
@dvincentwest
Copy link
Author

I can confirm that the build is successful at this point as I am able to run tests/python/test01.py as long as I add the scattnlay directory to sys.path at the beginning of the test

@kostyfisik
Copy link
Collaborator

Good that you had managed to make it work! However, it looks to be like a bug. So, thank you for finding this, I checked it and I can confirm this. I will take a look as soon as I have some time for Scattnlay development....

@dvincentwest
Copy link
Author

this issue doesn't happen on Mac OSX Catalina, using a recent Conda python 3.7 environment. Has it been fixed or this is just a different system?

@kostyfisik
Copy link
Collaborator

No build changes have been introduced since summer, probably @ovidiopr can clarify this. I was mostly working on a web interface to Scattnlay, see https://physics.itmo.ru/mie/ as a result.

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

2 participants