easybuild-easyblocks
easybuild-easyblocks copied to clipboard
add support for CP2K QM/MM in GROMACS easyblock
This PR implements building GROMACS with CP2K QM/MM enabled.
As such a version of GROMACS needs to be compiled statically, which doesn't generate any libraries, the sanity_check needs to be adjusted to not expect any libs in such a case.
I found an issue when building this for AVX512. Will push some changes to this soon.
Resolved merge-conflict caused by changes in #2749 This PR is ready for review and this easyblock is already in use at ComputeCanada
I've opened easybuilders/easybuild-easyconfigs#16362 with the missing easyconfigs to test this patch.
I'll add the check for pkg-config shortly.
Thanks @Micket,
I've added some checks that CP2K has been compiled with library = True and that pkg-config was used.
It also checks that pkg-config is has been loaded (e.g. as a build-dep).
Easyconfigs to test this enhancement are in: easybuilders/easybuild-easyconfigs#16362