From 1622ca1233d8622cdbe701478264b090158c09ca Mon Sep 17 00:00:00 2001
From: Damian Alvarez <swmanage@juwels03.ib.juwels.fzj.de>
Date: Mon, 23 Mar 2020 18:24:05 +0100
Subject: [PATCH] Added new psmpi

---
 .../p/psmpi/psmpi-5.4.4-1-GCC-8.3.0.eb        | 54 ++++++++++++++++++
 ....4.4-1-iccifort-2019.5.281-GCC-8.3.0-mt.eb | 55 +++++++++++++++++++
 ...i-5.4.4-1-iccifort-2019.5.281-GCC-8.3.0.eb | 54 ++++++++++++++++++
 .../2019a/p/psmpi/psmpi-5.4.4-1-GCC-8.3.0.eb  | 48 ++++++++++++++++
 ....4.4-1-iccifort-2019.5.281-GCC-8.3.0-mt.eb | 49 +++++++++++++++++
 ...i-5.4.4-1-iccifort-2019.5.281-GCC-8.3.0.eb | 48 ++++++++++++++++
 6 files changed, 308 insertions(+)
 create mode 100644 Golden_Repo/2019a/knl_overlay/p/psmpi/psmpi-5.4.4-1-GCC-8.3.0.eb
 create mode 100644 Golden_Repo/2019a/knl_overlay/p/psmpi/psmpi-5.4.4-1-iccifort-2019.5.281-GCC-8.3.0-mt.eb
 create mode 100644 Golden_Repo/2019a/knl_overlay/p/psmpi/psmpi-5.4.4-1-iccifort-2019.5.281-GCC-8.3.0.eb
 create mode 100644 Golden_Repo/2019a/p/psmpi/psmpi-5.4.4-1-GCC-8.3.0.eb
 create mode 100644 Golden_Repo/2019a/p/psmpi/psmpi-5.4.4-1-iccifort-2019.5.281-GCC-8.3.0-mt.eb
 create mode 100644 Golden_Repo/2019a/p/psmpi/psmpi-5.4.4-1-iccifort-2019.5.281-GCC-8.3.0.eb

diff --git a/Golden_Repo/2019a/knl_overlay/p/psmpi/psmpi-5.4.4-1-GCC-8.3.0.eb b/Golden_Repo/2019a/knl_overlay/p/psmpi/psmpi-5.4.4-1-GCC-8.3.0.eb
new file mode 100644
index 000000000..5006b4027
--- /dev/null
+++ b/Golden_Repo/2019a/knl_overlay/p/psmpi/psmpi-5.4.4-1-GCC-8.3.0.eb
@@ -0,0 +1,54 @@
+name = 'psmpi'
+version = '5.4.4-1'
+pscom_version = '5.4.5-1_gateway'
+
+homepage = 'https://github.com/ParaStation/psmpi2'
+description = """ParaStation MPI is an open source high-performance MPI 3.0 implementation,
+based on MPICH v3. It provides extra low level communication libraries and integration with 
+various batch systems for tighter process control.
+"""
+
+site_contacts = 'sc@fz-juelich.de'
+
+compiler = 'GCC'
+comp_version = '8.3.0'
+
+toolchain = {'name': compiler, 'version': comp_version}
+
+source_urls = [
+    'https://github.com/ParaStation/psmpi/archive/',
+    'https://github.com/ParaStation/pscom/archive/'
+]
+sources = [
+    '%(version)s.tar.gz',
+    'pscom-%s.tar.bz2' % pscom_version
+]
+
+patches = [
+    'psmpi_shebang.patch',
+]
+
+builddependencies = [
+    ('popt', '1.16', '', True)
+]
+
+pscom_allin_path = '%%(builddir)s/pscom-%s ' % pscom_version
+pgo = True
+
+threaded = False
+
+mpich_opts = '--enable-static'
+configopts = '--with-pscom-builtin=psm2'
+
+# use a more explicit module name to help our naming scheme
+modaltsoftname = 'ParaStationMPI'
+
+# Add a family for our naming scheme
+modluafooter = '''
+family("mpi")
+if not ( isloaded("mpi-settings/default") ) then
+    load("mpi-settings/default")
+end
+'''
+
+moduleclass = 'mpi'
diff --git a/Golden_Repo/2019a/knl_overlay/p/psmpi/psmpi-5.4.4-1-iccifort-2019.5.281-GCC-8.3.0-mt.eb b/Golden_Repo/2019a/knl_overlay/p/psmpi/psmpi-5.4.4-1-iccifort-2019.5.281-GCC-8.3.0-mt.eb
new file mode 100644
index 000000000..eafd2a5af
--- /dev/null
+++ b/Golden_Repo/2019a/knl_overlay/p/psmpi/psmpi-5.4.4-1-iccifort-2019.5.281-GCC-8.3.0-mt.eb
@@ -0,0 +1,55 @@
+name = 'psmpi'
+version = '5.4.4-1'
+versionsuffix = '-mt'
+pscom_version = '5.4.5-1_gateway'
+
+homepage = 'https://github.com/ParaStation/psmpi2'
+description = """ParaStation MPI is an open source high-performance MPI 3.0 implementation,
+based on MPICH v3. It provides extra low level communication libraries and integration with 
+various batch systems for tighter process control.
+"""
+
+site_contacts = 'sc@fz-juelich.de'
+
+compiler = 'iccifort'
+comp_version = '2019.5.281-GCC-8.3.0'
+
+toolchain = {'name': compiler, 'version': comp_version}
+
+source_urls = [
+    'https://github.com/ParaStation/psmpi/archive/',
+    'https://github.com/ParaStation/pscom/archive/'
+]
+sources = [
+    '%(version)s.tar.gz',
+    'pscom-%s.tar.bz2' % pscom_version
+]
+
+patches = [
+    'psmpi_shebang.patch',
+]
+
+builddependencies = [
+    ('popt', '1.16', '', True)
+]
+
+pscom_allin_path = '%%(builddir)s/pscom-%s ' % pscom_version
+pgo = True
+
+threaded = True
+
+mpich_opts = '--enable-static'
+configopts = '--with-pscom-builtin=psm2'
+
+# use a more explicit module name to help our naming scheme
+modaltsoftname = 'ParaStationMPI'
+
+# Add a family for our naming scheme
+modluafooter = '''
+family("mpi")
+if not ( isloaded("mpi-settings/default") ) then
+    load("mpi-settings/default")
+end
+'''
+
+moduleclass = 'mpi'
diff --git a/Golden_Repo/2019a/knl_overlay/p/psmpi/psmpi-5.4.4-1-iccifort-2019.5.281-GCC-8.3.0.eb b/Golden_Repo/2019a/knl_overlay/p/psmpi/psmpi-5.4.4-1-iccifort-2019.5.281-GCC-8.3.0.eb
new file mode 100644
index 000000000..2013386a3
--- /dev/null
+++ b/Golden_Repo/2019a/knl_overlay/p/psmpi/psmpi-5.4.4-1-iccifort-2019.5.281-GCC-8.3.0.eb
@@ -0,0 +1,54 @@
+name = 'psmpi'
+version = '5.4.4-1'
+pscom_version = '5.4.5-1_gateway'
+
+homepage = 'https://github.com/ParaStation/psmpi2'
+description = """ParaStation MPI is an open source high-performance MPI 3.0 implementation,
+based on MPICH v3. It provides extra low level communication libraries and integration with 
+various batch systems for tighter process control.
+"""
+
+site_contacts = 'sc@fz-juelich.de'
+
+compiler = 'iccifort'
+comp_version = '2019.5.281-GCC-8.3.0'
+
+toolchain = {'name': compiler, 'version': comp_version}
+
+source_urls = [
+    'https://github.com/ParaStation/psmpi/archive/',
+    'https://github.com/ParaStation/pscom/archive/'
+]
+sources = [
+    '%(version)s.tar.gz',
+    'pscom-%s.tar.bz2' % pscom_version
+]
+
+patches = [
+    'psmpi_shebang.patch',
+]
+
+builddependencies = [
+    ('popt', '1.16', '', True)
+]
+
+pscom_allin_path = '%%(builddir)s/pscom-%s ' % pscom_version
+pgo = True
+
+threaded = False
+
+mpich_opts = '--enable-static'
+configopts = '--with-pscom-builtin=psm2'
+
+# use a more explicit module name to help our naming scheme
+modaltsoftname = 'ParaStationMPI'
+
+# Add a family for our naming scheme
+modluafooter = '''
+family("mpi")
+if not ( isloaded("mpi-settings/default") ) then
+    load("mpi-settings/default")
+end
+'''
+
+moduleclass = 'mpi'
diff --git a/Golden_Repo/2019a/p/psmpi/psmpi-5.4.4-1-GCC-8.3.0.eb b/Golden_Repo/2019a/p/psmpi/psmpi-5.4.4-1-GCC-8.3.0.eb
new file mode 100644
index 000000000..dddac3edf
--- /dev/null
+++ b/Golden_Repo/2019a/p/psmpi/psmpi-5.4.4-1-GCC-8.3.0.eb
@@ -0,0 +1,48 @@
+name = 'psmpi'
+version = '5.4.4-1'
+
+homepage = 'https://github.com/ParaStation/psmpi2'
+description = """ParaStation MPI is an open source high-performance MPI 3.0 implementation,
+based on MPICH v3. It provides extra low level communication libraries and integration with 
+various batch systems for tighter process control.
+"""
+
+site_contacts = 'sc@fz-juelich.de'
+
+toolchain = {'name': 'GCC', 'version': '8.3.0'}
+
+sources = ['%(version)s.tar.gz']
+source_urls = ['https://github.com/ParaStation/psmpi/archive/']
+
+patches = [
+    'psmpi_shebang.patch'
+]
+
+dependencies = [
+    ('pscom', '5.4-default', '', True),
+    # Due to using IME, psmpi needs all these dependencies
+    ('zlib', '1.2.11'),
+    ('numactl', '2.0.12'),
+    ('libxml2', '2.9.9'),
+    ('util-linux', '2.33.1'),
+]
+
+threaded = False
+
+mpich_opts = '--enable-static --with-file-system=ime --enable-romio'
+
+preconfigopts = 'export CFLAGS="-I/opt/ddn/ime/include $CFLAGS" && '
+preconfigopts += 'export LDFLAGS="$LDFLAGS -L/opt/ddn/ime/lib -lim_client" && '
+
+# use a more explicit module name to help our naming scheme
+modaltsoftname = 'ParaStationMPI'
+
+# Add a family for our naming scheme
+modluafooter = '''
+family("mpi")
+if not ( isloaded("mpi-settings/default") ) then
+    load("mpi-settings/default")
+end
+'''
+
+moduleclass = 'mpi'
diff --git a/Golden_Repo/2019a/p/psmpi/psmpi-5.4.4-1-iccifort-2019.5.281-GCC-8.3.0-mt.eb b/Golden_Repo/2019a/p/psmpi/psmpi-5.4.4-1-iccifort-2019.5.281-GCC-8.3.0-mt.eb
new file mode 100644
index 000000000..ce34d99a7
--- /dev/null
+++ b/Golden_Repo/2019a/p/psmpi/psmpi-5.4.4-1-iccifort-2019.5.281-GCC-8.3.0-mt.eb
@@ -0,0 +1,49 @@
+name = 'psmpi'
+version = '5.4.4-1'
+versionsuffix = '-mt'
+
+homepage = 'https://github.com/ParaStation/psmpi2'
+description = """ParaStation MPI is an open source high-performance MPI 3.0 implementation,
+based on MPICH v3. It provides extra low level communication libraries and integration with 
+various batch systems for tighter process control.
+"""
+
+site_contacts = 'sc@fz-juelich.de'
+
+toolchain = {'name': 'iccifort', 'version': '2019.5.281-GCC-8.3.0'}
+
+sources = ['%(version)s.tar.gz']
+source_urls = ['https://github.com/ParaStation/psmpi/archive/']
+
+patches = [
+    'psmpi_shebang.patch'
+]
+
+dependencies = [
+    ('pscom', '5.4-default', '', True),
+    # Due to using IME, psmpi needs all these dependencies
+    ('zlib', '1.2.11'),
+    ('numactl', '2.0.12'),
+    ('libxml2', '2.9.9'),
+    ('util-linux', '2.33.1'),
+]
+
+threaded = True
+
+mpich_opts = '--enable-static --with-file-system=ime --enable-romio'
+
+preconfigopts = 'export CFLAGS="-I/opt/ddn/ime/include $CFLAGS" && '
+preconfigopts += 'export LDFLAGS="$LDFLAGS -L/opt/ddn/ime/lib -lim_client" && '
+
+# use a more explicit module name to help our naming scheme
+modaltsoftname = 'ParaStationMPI'
+
+# Add a family for our naming scheme
+modluafooter = '''
+family("mpi")
+if not ( isloaded("mpi-settings/default") ) then
+    load("mpi-settings/default")
+end
+'''
+
+moduleclass = 'mpi'
diff --git a/Golden_Repo/2019a/p/psmpi/psmpi-5.4.4-1-iccifort-2019.5.281-GCC-8.3.0.eb b/Golden_Repo/2019a/p/psmpi/psmpi-5.4.4-1-iccifort-2019.5.281-GCC-8.3.0.eb
new file mode 100644
index 000000000..d16f42dda
--- /dev/null
+++ b/Golden_Repo/2019a/p/psmpi/psmpi-5.4.4-1-iccifort-2019.5.281-GCC-8.3.0.eb
@@ -0,0 +1,48 @@
+name = 'psmpi'
+version = '5.4.4-1'
+
+homepage = 'https://github.com/ParaStation/psmpi2'
+description = """ParaStation MPI is an open source high-performance MPI 3.0 implementation,
+based on MPICH v3. It provides extra low level communication libraries and integration with 
+various batch systems for tighter process control.
+"""
+
+site_contacts = 'sc@fz-juelich.de'
+
+toolchain = {'name': 'iccifort', 'version': '2019.5.281-GCC-8.3.0'}
+
+sources = ['%(version)s.tar.gz']
+source_urls = ['https://github.com/ParaStation/psmpi/archive/']
+
+patches = [
+    'psmpi_shebang.patch'
+]
+
+dependencies = [
+    ('pscom', '5.4-default', '', True),
+    # Due to using IME, psmpi needs all these dependencies
+    ('zlib', '1.2.11'),
+    ('numactl', '2.0.12'),
+    ('libxml2', '2.9.9'),
+    ('util-linux', '2.33.1'),
+]
+
+threaded = False
+
+mpich_opts = '--enable-static --with-file-system=ime --enable-romio'
+
+preconfigopts = 'export CFLAGS="-I/opt/ddn/ime/include $CFLAGS" && '
+preconfigopts += 'export LDFLAGS="$LDFLAGS -L/opt/ddn/ime/lib -lim_client" && '
+
+# use a more explicit module name to help our naming scheme
+modaltsoftname = 'ParaStationMPI'
+
+# Add a family for our naming scheme
+modluafooter = '''
+family("mpi")
+if not ( isloaded("mpi-settings/default") ) then
+    load("mpi-settings/default")
+end
+'''
+
+moduleclass = 'mpi'
-- 
GitLab