From 7862404fac0643815dca6a6c78cf65697fcad130 Mon Sep 17 00:00:00 2001
From: Fabien Chaix <chaix@ics.forth.gr>
Date: Wed, 8 Nov 2023 20:33:20 +0100
Subject: [PATCH] Initial easyconfig for taz

---
 Golden_Repo/t/taz/taz-0.33-gsmpi-2022a.eb | 51 +++++++++++++++++++++++
 1 file changed, 51 insertions(+)
 create mode 100644 Golden_Repo/t/taz/taz-0.33-gsmpi-2022a.eb

diff --git a/Golden_Repo/t/taz/taz-0.33-gsmpi-2022a.eb b/Golden_Repo/t/taz/taz-0.33-gsmpi-2022a.eb
new file mode 100644
index 000000000..f0cc93092
--- /dev/null
+++ b/Golden_Repo/t/taz/taz-0.33-gsmpi-2022a.eb
@@ -0,0 +1,51 @@
+
+# To build manually:
+# ml purge
+# export USERINSTALLATIONS=/p/project/deepsea/preliminary_SW
+# ml UserInstallations
+# 
+# eb taz.eb
+
+easyblock = 'CMakeMake' 
+
+name = 'Taz'
+version = '0.33'
+
+homepage = 'https://github.com/CARV-ICS-FORTH/taz'
+description = "Taz is a very fast simulator that replays traces of MPI applications in the presence of failures" 
+
+#toolchain = {'name':'GCCcore', 'version':'11.3.0'} 
+toolchain = {'name':'gpsmpi', 'version':'2022a'}
+
+local_taz_archive_filename = f"taz_archive_{version}.tar.gz" 
+sources = [{
+    'filename': local_taz_archive_filename,
+    'git_config': {
+        'url': 'git@gitlab.jsc.fz-juelich.de:deep-sea/wp5/software',
+        'repo_name': 'taz',
+        'tag': 'v'+version,
+        'recursive': False, #Use flatbuffers and libscotch from the system
+        'keep_git_dir': True,
+    },
+}] 
+
+#sources = [local_taz_archive_filename]
+
+builddependencies = [
+    ('Boost', '1.79.0'),
+    ('CMake', '3.23.1'),
+    ('SCOTCH', '7.0.1'),
+    ('flatbuffers', '2.0.7')
+] 
+
+configopts = '-DADD_HEAVY_TESTS=0 -DCMAKE_BUILD_TYPE=Release -DGENERATE_FBS=1 -DGENERATE_VENV=0 -DENABLE_LTO=0'
+
+#runtest = True
+
+sanity_check_paths = {
+    'dirs': ['bin'], 
+    'files': ['bin/taz-simulate','bin/taz-show-matrix','bin/taz-show-csv']
+}
+
+moduleclass = 'tools' 
+
-- 
GitLab