Skip to content

Commit

Permalink
fix cp2k/2024.1 COSMA support on gh200 (#107)
Browse files Browse the repository at this point in the history
A patch was added in #95 for `COSTA` and `COSMA`, but it was only applied to `COSMA`. This prevented to build with `-DCP2K_USE_COSMA=ON` from an view. This PR actually applies the provided patch.

This issue was likely not spotted because of a typo in the CMake command I used, fixed in #106.

The patches have been contributed upstream:
* eth-cscs/COSMA#144
* eth-cscs/COSTA#22
  • Loading branch information
RMeli authored Jun 4, 2024
1 parent 6f58434 commit 07f0aa2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/cp2k/2024.1/gh200/repo/packages/costa/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ class Costa(CMakePackage):
depends_on("cxxopts", when="+tests")
depends_on("semiprof", when="+profiling")

patch("mpi-view.patch")

def url_for_version(self, version):
if version == Version("2.0"):
return "https://github.com/eth-cscs/COSTA/releases/download/v{0}/COSTA-v{1}.tar.gz".format(
Expand Down

0 comments on commit 07f0aa2

Please sign in to comment.