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

Problem with 2- and 3-center derivatives #4

Closed
evaleev opened this issue Mar 5, 2014 · 1 comment
Closed

Problem with 2- and 3-center derivatives #4

evaleev opened this issue Mar 5, 2014 · 1 comment
Assignees
Labels

Comments

@evaleev
Copy link
Owner

evaleev commented Mar 5, 2014

When generating Libint with the compiler, the struct Libint_t in libint2_types.h doesn't always contain the right number of aB_s___0__s___1___TwoPRep_s___0__s___1___Ab__up* fields. The index at the end of the field name is expected to run from 0 to LIBINT_MAX_AM_4 + max(INCLUDE_ERI, INCLUDE_ERI2, INCLUDE_ERI3). Instead, the fields are present only up to LIBINT_MAX_AM_4 + INCLUDE_ERI, which causes problems if INCLUDE_ERI2 > INCLUDE_ERI or INCLUDE_ERI3 > INCLUDE_ERI.
The config parameters we were using were ../libint/configure '--with-cxx=g++ -std=c++0x' '--with-cxx-optflags=-O2 -fPIC' '--enable-eri=1' '--enable-eri2=3' '--enable-eri3=1' '--with-max-am=5' '--with-opt-am=4' '--disable-unrolling' '--enable-generic-code' '--enable-contracted-ints' '--with-pic'. As a workaround, we increased --enable-eri to 3, which solved the problem, but increased compilation time considerably.

@evaleev
Copy link
Owner Author

evaleev commented Mar 5, 2014

there is no bug here. The core ints are needed for up to quantum number max(LIBINT_MAX_AM * 4 + INCLUDE_ERI, LIBINT_MAX_AM * 2 + INCLUDE_ERI2, LIBINT_MAX_AM * 3 + INCLUDE_ERI3).

@evaleev evaleev closed this as completed Mar 5, 2014
@evaleev evaleev added the invalid label Mar 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant