Comments (5)
Hi,
I encountered the same problem.
You could simply remove these lines in the libint configure script:
--with-cc-optflags="${CFLAGS}" \
--with-libderiv-max-am1=5 \
--with-libint-max-am=6 \
--disable-libtool \
Since '--with-libderiv-max-am1, --with-libint-max-am' options are already omitted in libint2, it should be fine to remove those.
rgds,
Phuong
from xconfigure.
Hi, Phuong
Thank you very much!
I acutually omitted those warning messages and successfuly compiled the libint2. However, I can't obtain the libderiv.a, which will be needed for compiling CP2K.
rgds,
Hou
from xconfigure.
Hi,
If you are using libint2, it does not require to link to the libderiv.a. Check the 2g. LIBINT session. In other words, linking to only libint2.a is fine.
I guess the reason behind is all essential functions in the libderiv were integrated into the libint2 already.
rgds,
Phuong
from xconfigure.
Hi, Phuong,
Thank you very much for your comments. I will check the user-guide of compiling CP2K again.
Regards
Hou
from xconfigure.
Hi all, thanks for resolving this issue!
The warnings you encountered are expected and the configure-options are meant to remain. This is because configuring earlier versions of LIBINT (including 1.x) shall continue to work. XCONFIGURE attempts to stay compatible with earlier versions of LIBINT and only cleanup legacy if it breaks with current versions. For this reason, people are asked to ignore such warnings. Sometimes XCONFIGURE´s documentation points out that certain messages can/should be ignored. However, I have not written this down for every case.
However, I can't obtain the libderiv.a, which will be needed for compiling CP2K.
Thank you @phu0ngng for pointing to CP2K´s documentation! Indeed, libderiv.a
is only needed prior to CP2K 7.x, e.g., with CP2K 6.1. I also tried to make this clear: https://xconfigure.readthedocs.io/libint/ (it is the first sentence). This is repeated multiple times and finally covered by the step-by-step guide, which is separate for CP2K 7.1 and CP2K 6.1.
Finally, CP2K is still relatively often requested in older versions and administrators/users want to configure/build older versions. This is the main reason to not only provide support for the latest version. Further, it is often the case that one cannot simply move to a major new version of a certain library. The most prominent example is CP2K 6.1 which requires LIBINT 1.1 and also CP2K 7.1 which requires a version of LIBINT 2.x that is preconfigured for CP2K (and which is not from the official LIBINT home page).
from xconfigure.
Related Issues (20)
- Issue with QE v6.3 with and without openmp HOT 2
- Issue with the arch file of CP2K HOT 5
- Compilation instructions for AMD EPYC HOT 9
- cp2k/README.md: "./" missing in front of configure-lib*-skx-gnu.sh HOT 1
- error in cp2k compilation HOT 5
- Issue : compile cp2k-7.1 with libint-2 HOT 4
- QE - Compilation fails using configure-qe-skx
- CP2K build fails HOT 15
- New feature request HOT 3
- ld: warning: alignment 32 of symbol is smaller than 64 ...
- Feature Request HOT 2
- CP2K Compilation error at ".inject.sh: 1: Bad substitution" HOT 1
- Nothing shows up after 20 mins HOT 4
- How to run c tests?
- Compiling QE 6.1 : configure-qe-hsw-omp.sh looks for a make.sys? HOT 5
- Lost compatibility with QE 6.1 HOT 7
- Build fails in make all HOT 2
- No need to patch QE for ELPA HOT 4
- YAMBO? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xconfigure.