Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

Libint on Ubuntu only supports L=4 #608

Closed
JensWehner opened this issue Dec 8, 2020 · 12 comments
Closed

Libint on Ubuntu only supports L=4 #608

JensWehner opened this issue Dec 8, 2020 · 12 comments
Assignees

Comments

@JensWehner
Copy link
Member

Whereas fedora, opensuse and gentoo packages support up to L=6

So updating the ubuntu package would be nice.

@junghans
Copy link
Member

junghans commented Dec 8, 2020

@mbanck is that something we could add in the debian package?

@junghans
Copy link
Member

ping @mbanck

@mbanck
Copy link

mbanck commented Jan 16, 2021

Do you have patch, or the configure options that are required?

@JensWehner
Copy link
Member Author

We build our local version with --disable-shared --with-pic --enable-eri2 --enable-eri3 --with-max-am=6

@junghans
Copy link
Member

Here are fedora’s configure options: https://src.fedoraproject.org/rpms/libint2/blob/master/f/generate-sources.sh#_45

@mbanck
Copy link

mbanck commented Jan 16, 2021

Hrm, so --enable-eri2 is the same as --enable-eri2=0 from looking at configure.ac, or what would it correspond to, seeing that Fedora seems to do --enable-eri2=2 (and lot of others)?

@JensWehner
Copy link
Member Author

the number should indicate which derivatives are provided for that type of integral

@mbanck
Copy link

mbanck commented Jan 17, 2021

So what's the real-world benefit in going from 4 to 6, seeing how it blows up the build time (and likely library size) by a lot? What kind of computations/simulations will be possible that are currently not?

@JensWehner
Copy link
Member Author

JensWehner commented Jan 17, 2021

@mbanck So in quantum chemistry basisfunctions are labelled according to their angular momentum. Typically basisfunctions for light elements go up to g(l=4) functions, for heavier elements (3rd row+) higher functions are used. Also often auxiliary basissets are used which routinely go up to i(l=6). Also the derivatives of basisfunctions are used a lot for geometry optimisations of molecules. So the current debian/ubuntu config is basically only useful for unittesting and toy systems. The fedora config can be used in most production settings. The disadvantage obviously is, that the build times go up quite dramatically.

So I would argue the fedora config coves 90% of all usecases, whereas the debian config is like 20-30%.

Also see evaleev/libint#190

Thank you for your help.

@mbanck
Copy link

mbanck commented Jan 17, 2021

I've uploaded libint2 with l=5 for now, let's see whether the autobuilders cope, I'll bump it to 6 if there's no issues.

@mbanck
Copy link

mbanck commented Jan 19, 2021

I've bumped it to l=6 now, and the autobuilders have been building it for 24 hours and counting.

@JensWehner
Copy link
Member Author

I am starting to see your point.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants