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

configure fails to find libint2 #2675

Open
yurivict opened this issue Aug 11, 2022 · 1 comment
Open

configure fails to find libint2 #2675

yurivict opened this issue Aug 11, 2022 · 1 comment

Comments

@yurivict
Copy link

yurivict commented Aug 11, 2022

-- Could NOT find Libint2 (missing: Libint2_DIR)
-- Suitable Libint2 could not be located, Building Libint2 5-4-3-6-5-4 instead.

libint2-2.7.2 is installed. It installs the pkgconfig file: /usr/local/libdata/pkgconfig/libint2.pc

Also this line isn't correct:

Could NOT find Libint2 (missing: Libint2_DIR)

-DLibint2_DIR=/usr/local was supplied.

@loriab
Copy link
Member

loriab commented Aug 11, 2022

Psi4 uses an branch of L2 that hasn't been merged to master and uses CMake detection, not pkgconfig detection. While the detection scheme can be overcome, several build options need to be set for Psi4 such that if you have a L2 install that works with any other QC package, it probably doesn't work with Psi4. See evaleev/libint#190

Could NOT find Libint2 (missing: Libint2_DIR)

I'd guess this is a red herring. Unless you've built from https://github.com/psi4/psi4/blob/master/external/upstream/libint2/CMakeLists.txt#L63 tarball, the Psi4 buildsys as-is won't succeed for L2.

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