-
-
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
enable sirius #34
enable sirius #34
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
@conda-forge-admin, please rerender |
Hi! This is the friendly automated conda-forge-webservice. |
@AdhocMan cp2k also has a serial (openmp-enabled) build. for the moment we can add sirius only to the parallel cp2k build |
In any case, we'll still need to wait until the cp2k 8.2 release since cp2k 8.1 only supports libxc 4.3.x |
Sirius always requires MPI, so I think it's best to leave it disabled for the serial version. |
@AdhocMan Could you please let me know how to properly link against sirius? I've tried added the sirius includes and am linking against the library but it complains about undefined symbols |
It looks like the changes required for CP2K to use the latest SIRIUS version did not make into the 8.2 release. Since conda does not seem to support multiple versions very well, I'd suggest applying a patch to CP2K. Here is a patch file that should work: https://gist.github.com/AdhocMan/bdf3f1065af4b5ff7aad0b00f875179f |
Thanks for that patch!
Just to understand, you are saying this could be handled on the conda side? What feature is missing here? |
An older version of SIRIUS should work. I just had the impression, that conda usually only has one version of a package. Looking into it now, it can be solved by creating an additional branch in the sirius feedstock for the required version. |
I'm not sure why the patch isn't working, maybe @mtaillefumier could help here. Alternatively, we could try it with SIRIUS version 7.0.2. |
I think the patch might be faulty. |
the previous patch was referring to something related to dbcsr, so I had to manually modify the patch. This new patch works on the latest master but should work on V8.2 as well |
that's really strange since the patch removes exactly these two functions calls. I wonder if the pipeline apply the patch or not. |
Oops... thanks for pointing out this oversight ;-) |
It seems that 4 of the sirius tests yield results outside the tolerance (some of them by more than an order of magnitude). One of the tests failed:
Any comments @AdhocMan ? |
sirius.patch.txt |
You can stop the pipeline if possible because it will fail. the Fe-DOS.inp has a wrong value for one of the parameters (I deleted it then added it again in my patch forgetting about changing the value of the parameter). |
Thanks! I also invited you as a collaborator to my fork - in case you notice any further issues, feel free to push directly to the branch. |
I will need to modify the patch again later but I need to test the changes before. But this should not be blocking you. If you do not mind I prefer to put the patch in the comments section to avoid screwing up your branch. And it is better for review as well |
thanks, indeed all the tests pass now
@mtaillefumier Should this be merged? |
Go ahead. It needs more work of SIRIUS side and it is not a limiting factor either. |
Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)