-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
features to enable #19
Comments
Hey @dev-zero, @annahehn reached out with regards to adding libint to the cp2k version built on conda-forge. As you pointed out in #12 (comment) , cp2k needs a specially configured libint so I guess we can't use the one from the libint feedstock (?). However, I guess it may be relatively straightforward to build this specific libint during the cp2k build process (?). P.S. I guess it would increase the build time significantly but looking at the libint feedstock their build takes of the order of 44 minutes so perhaps it's still doable. |
No, you most likely can't unless it is configured exactly the same way as required (which is usually not the case).
Sure, I somewhat assumed that this is a no-go (as it is for many Linux distros). What you need is the 2.6.0 tarball from https://github.com/cp2k/libint-cp2k/releases (or the CP2K package mirror) which contains the libint source code with the first step (the generation of the code with the required configuration) already done. From there you can do a simple configure/make/make install with the only thing to remember is to pass
On fast machines it is doable, especially when using our pre-prepared tarball. Wrt your list of dependencies: libxsmm (not libsmm) which is likely part of the conda would be very important for CP2K. The only requirement is that the Fortran bindings are enabled. libvori would also be a low-hanging fruit you could integrate in the same way as libint. |
Expect the binary size to grow (+80M) as libint consists of a lot of templated unrolled code. If debug symbols |
Maybe the build time and binary size could be reduced by lowering |
Dear both, thanks a lot for the quick reply and for the thoughtful suggestions! Just for reference, I haven't started adding libint since @annahehn mentioned a vistor in their group may have a stab at adding support here. @dev-zero Concerning libsmm: I think in the list above I likely meant to write |
@ltalirz libsmm is/was optional before and required extra steps. The default is to use blas instead. |
I see. I just searched for "smm" in the installation instructions and did not see any mention of a related configuration option. Am I overlooking something? |
I removed libsmm from the toolchain and the installation instructions (cp2k/cp2k@9d664f5), see also cp2k/cp2k#2044. |
Thanks for the clarification - now that I look back into it, the feedstock already builds cp2k with libxsmm support. When I opened this issue, I probably only glanced over the installation instructions and failed to realize that libxsmm supersedes libsmm and that there is no point in adding both. I've removed the corresponding bullet point from the to-do list. |
from installation instructions
The text was updated successfully, but these errors were encountered: