-
Notifications
You must be signed in to change notification settings - Fork 10
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
compilation problem for libint2 interface to Quax #1
Comments
Hi @binghaung2018, unfortunately it seems that the Libint interface under these conditions (4th order derivatives up to g-basis functions) is simply too large to compile using g++. This is not an issue exclusive to Quax; I believe even a simple C++ code which imports such a large library will fail to compile. There may be some workaround with compiler tricks/ alternative compilers, but I do not have expertise in that area. I have successfully used Libint and Quax with 4th derivatives and f-functions (max angular momentum 3)... I think the g-functions just makes the library too large. Some possible solutions:
What do you think? |
Hi, @adabbott, thanks for your reply! For speed, there seems to be only one viable solution: compile Libint & Libint-Quax-interface all together! Yet another approach is to compile different contributions (i.e., deriv4(i,j|1/r_12|k,l), part 1: i,j,k,l \in [S,P,D], part2: i,j,k \in [S,P,D], l \in [F,G], ...) into different library files. Of course, the latter is not trivial. Do you agree? |
I love quantum chemistry. |
Hi,
I followed exactly what's told in the github page of Quax for installation, with the only exception of support for a larger angular momentum (=4), i.e., while exporting libint2, I used
Whie compiling the libint2 interface to Quax, I encounter the following error:
The central error message is PC-relative offset overflow in GOT PLT entry, which seems to be caused by the lack of support of large library file produced by installing libint2 (the resulting libint2.a file is of size >3GB). And by setting
-mcmodel=large
as option of g++ while compiling the interface does not solve the problem. Any idea to fix this issue?Best,
Bing
The text was updated successfully, but these errors were encountered: