From 14f823a8ca44856805000bd922539a8f294dd180 Mon Sep 17 00:00:00 2001
From: Rui Machado <rui.machado@itwm.fraunhofer.de>
Date: Tue, 23 Jan 2024 09:33:52 +0100
Subject: [PATCH] Add GPI-2 EB recipe.

---
 .../g/GPI-2/gpi2-deepsea-GCC-11.3.0.eb        | 41 +++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 Golden_Repo/g/GPI-2/gpi2-deepsea-GCC-11.3.0.eb

diff --git a/Golden_Repo/g/GPI-2/gpi2-deepsea-GCC-11.3.0.eb b/Golden_Repo/g/GPI-2/gpi2-deepsea-GCC-11.3.0.eb
new file mode 100644
index 00000000..305eb48e
--- /dev/null
+++ b/Golden_Repo/g/GPI-2/gpi2-deepsea-GCC-11.3.0.eb
@@ -0,0 +1,41 @@
+easyblock = 'ConfigureMake'
+
+name = 'GPI-2'
+version = 'deepsea'
+
+homepage = 'https://github.com/cc-hpc-itwm/GPI-2'
+description = f"""GPI-2 is an API for asynchronous communication.
+It provides a flexible, scalable and fault tolerant interface for parallel applications."""
+
+toolchain = {'name': 'GCC', 'version': '11.3.0'}
+
+local_gpi2_arch_fname = f"gpi2_archive_{version}.tar.gz"
+sources = [{
+    'filename': local_gpi2_arch_fname,
+    'git_config': {
+        'url': 'git@gitlab.jsc.fz-juelich.de:deep-sea/wp5/software',
+        'repo_name': 'gpi-2',
+        'commit': 'deepsea',
+        'keep_git_dir': True,
+    },
+}]
+checksums = ['0ea50c55b76ed08fe7c6933442785c9b5db0db3c646193fc39a4382bb183c450']
+
+builddependencies = [
+    ('binutils', '2.38')
+]
+
+preconfigopts = "./autogen.sh && "
+
+sanity_check_paths = {
+    'dirs': ['bin', 'include', 'lib64'],
+    'files': [
+        'bin/gaspi_run'
+        'include/GASPI.h'
+        'lib64/libGPI2.so'
+    ]
+}
+
+options = {'modulename': 'gpi2'}
+
+moduleclass = 'tools'
-- 
GitLab