Giter Site home page Giter Site logo

Comments (5)

phu0ngng avatar phu0ngng commented on May 29, 2024

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.

houzf avatar houzf commented on May 29, 2024

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.

phu0ngng avatar phu0ngng commented on May 29, 2024

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.

houzf avatar houzf commented on May 29, 2024

Hi, Phuong,

Thank you very much for your comments. I will check the user-guide of compiling CP2K again.

Regards
Hou

from xconfigure.

hfp avatar hfp commented on May 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.