我在github上查了相关的信息,其中开发者提到:
Check if the Fortran module name has been generated in lower-case letters (libint_f.mod) and has been installed e.g. in the libint-v2.6.0-cp2k-lmax-5/include/ folder for CP2K.
You can also run make fortran in the build folder libint-v2.6.0-cp2k-lmax-5 or just make in its subfolder fortran. That's quick and does not interfere with the library build. If needed fix the make file in the fortran folder by hand and run make until no error occurs and the Fortran module has been built successfully, then run make install again in libint-v2.6.0-cp2k-lmax-5.