From 3e461f4b45673f7ab5ec6db6a6477d0710723134 Mon Sep 17 00:00:00 2001
From: Tom Ridley <t.ridley@fz-juelich.de>
Date: Mon, 4 Sep 2023 16:47:51 +0200
Subject: [PATCH] Update SIONlib-DEEP-SEA-foss-2022a.eb

---
 SIONlib-DEEP-SEA-foss-2022a.eb | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/SIONlib-DEEP-SEA-foss-2022a.eb b/SIONlib-DEEP-SEA-foss-2022a.eb
index 8b13789..03dbc33 100644
--- a/SIONlib-DEEP-SEA-foss-2022a.eb
+++ b/SIONlib-DEEP-SEA-foss-2022a.eb
@@ -1 +1,35 @@
+easyblock = "CMakeMake"
+name = "SIONlib"
+version = "DEV-TR-flush"
 
+homepage = 'http://www.fz-juelich.de/ias/jsc/EN/Expertise/Support/Software/SIONlib/_node.html'
+description = """SIONlib is a scalable I/O library for the parallel access to
+task-local files. The library not only supports writing and reading
+binary data to or from from several thousands of processors into a
+single or a small number of physical files but also provides for
+global open and close functions to access SIONlib file in
+parallel. SIONlib provides different interfaces: parallel access using
+MPI, OpenMP, or their combination and sequential access for
+post-processing utilities.
+"""
+
+toolchain = {'name': 'foss', 'version': '2022a'}
+
+builddependencies = [('CMake', '3.23.1')]
+
+dependencies = [('SIONfwd', '1.0.1')]
+
+configopts = ' -DCMAKE_SION_SIONFWD=1  '
+
+source_urls = ['https://gitlab.jsc.fz-juelich.de/cstao-public/SIONlib/SIONlib/-/archive/%(version)s/']
+sources = ['SIONlib-%(version)s.tar.gz']
+
+sanity_check_paths = {
+    'files': [
+        "bin/sionconfig",
+        ("lib64/libsion_common.a", "lib/libsion_mpi.a", "lib64/libsionmpi_64.a"),
+    ],
+    'dirs': []
+}
+
+moduleclass = 'lib'
-- 
GitLab