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

No package 'lattice_symmetries' found #14

Open
AndyLiuin opened this issue Apr 9, 2021 · 3 comments
Open

No package 'lattice_symmetries' found #14

AndyLiuin opened this issue Apr 9, 2021 · 3 comments

Comments

@AndyLiuin
Copy link

AndyLiuin commented Apr 9, 2021

Hello I tried to run the code given and I came across a missing package I can't find, 'lattice_symmetries'. Which package/github repository does it correspond to? Or it could be my problem since I didn't read the code fully yet, appreciate if you can point out. Thanks!

@twesterhout
Copy link
Owner

Hello @AndyLiuin! lattice_symmetries module comes from this repo https://github.com/twesterhout/lattice-symmetries. However, if you installed nqs_playground from Conda (i.e. using conda install) or from source but using the provided Conda environments, lattice_symmetries should already be installed. Is that not the case? or did you use a different installation method?

@AndyLiuin
Copy link
Author

AndyLiuin commented Apr 9, 2021

Hello @AndyLiuin! lattice_symmetries module comes from this repo https://github.com/twesterhout/lattice-symmetries. However, if you installed nqs_playground from Conda (i.e. using conda install) or from source but using the provided Conda environments, lattice_symmetries should already be installed. Is that not the case? or did you use a different installation method?

Thanks a lot for your reply! Yes I found the package you're referring to. I built from the source because for some reason it displays Packagenotfounderror with conda install. You may want to look into this?

@twesterhout
Copy link
Owner

I'm using a mac by the way.

Ah that explains it I think. Unfortunately, I don't have access to OS X (neither at home, nor at work), and don't build lattice-symmetries Conda package for OS X. Hence, the "package not found" error from Conda. There are a few ways forward, I think:

  1. You could try to create a Conda environment based on conda-cpu.yml or conda-gpu.yml depending on whether you have access to a CUDA-capable GPU. You might have to replace gcc_linux-64 and gxx_linux-64 with Clang for OS X. In that environment you then first build lattice-symmetries from source (that should be relatively easy since it compiles fine on OS X). After that you can build nqs-playground from source.

  2. You could help out with setting up automatic building of Conda packages in CI. I would be very grateful for it, but I appreciate that it'd potentially require more time than you're willing to spend. With lattice-symmetries Conda package for OS X, building nqs-playground from source should then just work, and if it doesn't I'm happy to fix all OS X specific compilation errors.

  3. Or you could try using Linux (most clusters run Linux anyways, and Neural Network-related tasks often require quite a bit of computational resources).

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