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

Remove pseudopotentials directory #842

Merged
merged 6 commits into from
May 4, 2018

Conversation

jtkrogel
Copy link
Contributor

@jtkrogel jtkrogel commented May 4, 2018

The pseudopotentials directory contains misleading/poor projectors for some potentials, is not comprehensive, and is too large (MB-wise) to keep in the main repo.

Beyond this, the intended home for pseudopotentials is now www.pseudopotentiallibrary.org.

If anyone is aware of a reason we should keep these here, please comment now.

Closes #39

@jtkrogel jtkrogel added the cleanup For cleanling legacy lines of code label May 4, 2018
@ghost ghost assigned jtkrogel May 4, 2018
@ghost ghost added the in progress label May 4, 2018
@qmc-robot
Copy link

Can one of the maintainers verify this patch?

1 similar comment
@qmc-robot
Copy link

Can one of the maintainers verify this patch?

@prckent
Copy link
Contributor

prckent commented May 4, 2018

OK to test

@ye-luo
Copy link
Contributor

ye-luo commented May 4, 2018

Please check if there is any dead softlink in the tests folder.

@jtkrogel
Copy link
Contributor Author

jtkrogel commented May 4, 2018

I searched for these and I do not see any. So far the policy for tests has been to include all the files you need locally (at least somewhere within tests). We appear to have succeeded at this.

@ye-luo
Copy link
Contributor

ye-luo commented May 4, 2018

The PP reading tests in the Hamiltonian unit test make the CI fail.

@jtkrogel
Copy link
Contributor Author

jtkrogel commented May 4, 2018

Correct. I will see if it can be rerouted to another existing file.

@jtkrogel
Copy link
Contributor Author

jtkrogel commented May 4, 2018

Should be fixed now. Unit tests now pass on my local machine.

@ye-luo
Copy link
Contributor

ye-luo commented May 4, 2018

I found the following.

$ find -name "*.xml" -exec ls -l {} \; | grep ^l |grep pseudopotentials
lrwxrwxrwx 1 yeluo yeluo 39 Apr  8 22:05 ./molecules/FeCO6_b3lyp_pyscf/C.BFD.xml -> ../../../pseudopotentials/BFD/C.BFD.xml
lrwxrwxrwx 1 yeluo yeluo 39 Apr  8 22:05 ./molecules/FeCO6_b3lyp_pyscf/O.BFD.xml -> ../../../pseudopotentials/BFD/O.BFD.xml
lrwxrwxrwx 1 yeluo yeluo 40 Apr  8 22:05 ./molecules/FeCO6_b3lyp_pyscf/Fe.BFD.xml -> ../../../pseudopotentials/BFD/Fe.BFD.xml
lrwxrwxrwx 1 yeluo yeluo 39 Apr  8 22:05 ./molecules/C2_pp/C.BFD.xml -> ../../../pseudopotentials/BFD/C.BFD.xml
lrwxrwxrwx 1 yeluo yeluo 39 Apr  8 22:05 ./molecules/FeCO6_b3lyp_gms/C.BFD.xml -> ../../../pseudopotentials/BFD/C.BFD.xml
lrwxrwxrwx 1 yeluo yeluo 39 Apr  8 22:05 ./molecules/FeCO6_b3lyp_gms/O.BFD.xml -> ../../../pseudopotentials/BFD/O.BFD.xml
lrwxrwxrwx 1 yeluo yeluo 40 Apr  8 22:05 ./molecules/FeCO6_b3lyp_gms/Fe.BFD.xml -> ../../../pseudopotentials/BFD/Fe.BFD.xml

We probably need a pseudopotentials folder under tests in order not to have them randomly.

@prckent
Copy link
Contributor

prckent commented May 4, 2018

I agree to put a pseudopotentials_for_tests folder under tests.

@jtkrogel
Copy link
Contributor Author

jtkrogel commented May 4, 2018

How's that?

@ghost ghost assigned ye-luo May 4, 2018
@ye-luo
Copy link
Contributor

ye-luo commented May 4, 2018

It seems very good. I'm running all the short tests now. If nothing is caught, I will approve and merge the PR.

@ye-luo
Copy link
Contributor

ye-luo commented May 4, 2018

I saw the following error.

Adding Nexus example tests
Error copying directory from "/sandbox/opt/cleanup/jtkrogel/nexus/examples/qmcpack/pseudopotentials" to "/sandbox/opt/cleanup/jtkrogel/build_real/nexus/examples/qmcpack/pseudopotentials".
-- Configuring done

/sandbox/opt/cleanup/jtkrogel is my local folder cloning your branch.

@jtkrogel
Copy link
Contributor Author

jtkrogel commented May 4, 2018

Some pseudopotentials in Nexus examples were apparently symlinked to the pseudopotentials folder. I copied the appropriate files in.

Everything in Nexus should work independently of qmcpack, i.e. only links within nexus and below are allowed.

Copy link
Contributor

@ye-luo ye-luo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't spot any issue due to PP file change in short tests.

@ye-luo ye-luo merged commit 961753d into QMCPACK:develop May 4, 2018
@ghost ghost removed the in progress label May 4, 2018
@jtkrogel jtkrogel deleted the cleanup_pseudopotentials branch May 22, 2018 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup For cleanling legacy lines of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants