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

How to install dmrgscf manually #7

Open
jeanwsr opened this issue Jun 2, 2022 · 2 comments
Open

How to install dmrgscf manually #7

jeanwsr opened this issue Jun 2, 2022 · 2 comments

Comments

@jeanwsr
Copy link

jeanwsr commented Jun 2, 2022

Following the README, I clone the repository and modify PYSCF_EXT_PATH. But I guess I need also to compile this extension.
So I tried python setup.py build and the compilation works fine. But how can I install it (i.e. make the compiled libunpack.so work)? It seems python setup.py install cannot place the libunpack.so in a right place.

@1234zou
Copy link

1234zou commented Jun 11, 2022

Here is what I do: after python setup.py build, I move the libunpack.so file into PySCF lib/, i.e.
mv build/lib.linux-x86_64-3.7/pyscf/lib/libunpack.cpython-37m-x86_64-linux-gnu.so ~/software/pyscf-2.0.1/pyscf/lib/
and it works. I think a few more words should be added into the README for elegant manual installation.

@arturosauza
Copy link

Totally agree, I was having a hard time installing dmrgscf extension until I saw these instructions.
The README file must be updated with a better description.

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

3 participants