Commit 5fc33bbb authored by Lukáš Krupčík's avatar Lukáš Krupčík

new file: m/MPI.NET/MPI.NET-1.2.0-gompi-2017c.eb

	new file:   m/MPI.NET/MPI.NET-1.2.0-intel-2017c.eb
	new file:   m/MPI.NET/configure.ac.patch
	new file:   m/MPI.NET/mpi.net-1.2.0-unsafe.patch
	modified:   m/Mono/Mono-5.0.0.100.eb
	new file:   m/Mono/Mono-5.18.1.0.eb
parent fb399424
Pipeline #6545 passed with stage
in 20 seconds
# IT4Innovations 2019
name = 'MPI.NET'
version = '1.2.0'
easyblock = 'ConfigureMake'
homepage = 'http://www.osl.iu.edu/research/mpi.net/'
description = """MPI.NET is a high-performance, easy-to-use implementation of the Message Passing Interface (MPI)
for Microsoft's .NET environment"""
toolchain = {'name': 'gompi', 'version': '2017c'}
source_urls = ['https://github.com/jmp75/MPI.NET/archive/']
sources = ['%(version)s.tar.gz']
dependencies = [
('Mono', '5.18.1.0', '', True),
('libxml2', '2.9.4', '', True)
]
patches = [
('mpi.net-1.2.0-unsafe.patch', 1),
### ('configure.ac.patch')
]
preconfigopts = 'sh ./autogen.sh && '
#prebuildopts = 'cd MPI && perl ./Unsafe.pl $EBROOTIMPI/include64/mpi.h ./Unsafe.cs CustomUnsafe.cs cbridge.c && cd .. && '
sanity_check_paths = {
'files': ['lib/MPI.dll'],
'dirs': ['lib'],
}
maxparallel = 4
moduleclass = 'mpi'
# IT4Innovations 2019
name = 'MPI.NET'
version = '1.2.0'
easyblock = 'ConfigureMake'
homepage = 'http://www.osl.iu.edu/research/mpi.net/'
description = """MPI.NET is a high-performance, easy-to-use implementation of the Message Passing Interface (MPI)
for Microsoft's .NET environment"""
toolchain = {'name': 'intel', 'version': '2017c'}
source_urls = ['https://github.com/jmp75/MPI.NET/archive/']
sources = ['%(version)s.tar.gz']
dependencies = [
('Mono', '5.18.1.0', '', True)
]
patches = [
('mpi.net-1.2.0-unsafe.patch', 1),
('configure.ac.patch')
]
preconfigopts = 'sh ./autogen.sh && '
prebuildopts = 'cd MPI && perl ./Unsafe.pl $EBROOTIMPI/include64/mpi.h ./Unsafe.cs CustomUnsafe.cs cbridge.c && cd .. && '
sanity_check_paths = {
'files': ['lib/MPI.dll'],
'dirs': ['lib'],
}
maxparallel = 4
moduleclass = 'mpi'
diff --git a/configure.ac b/configure.ac
index 1fc8651..fe5e8ba 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,7 @@ AC_PROG_LIBTOOL
dnl C# compiler
AC_PATH_PROG(CSC, csc, no)
-AC_PATH_PROG(MCS, gmcs, no)
+AC_PATH_PROG(MCS, mcs, no)
AC_PATH_PROG(MONO, mono, no)
dnl CIL assembler
@@ -58,7 +58,7 @@ ACX_MPI([], [AC_MSG_ERROR([No MPI implementation found])])
AC_PATH_PROG(MPIEXEC, mpiexec, no)
dnl Whether we need the C bridge to make the MPI.NET assembly work
-need_cbridge="yes"
+need_cbridge="no"
dnl Determine which MPI this is (if we can). This block of checks will
dnl set three variables:
@@ -138,21 +138,19 @@ fi
dnl Find the actual file <mpi.h>, because we need to parse it to
dnl determine values of the various MPI constants.
-if test "x$MPI_INCLUDEDIRS" != "x" ; then
AC_MSG_CHECKING([for location of mpi.h])
- for dir in $MPI_INCLUDEDIRS ; do
+#PATCH: Set dir to path to Intel MPI on Salomon
+ dir="/apps/mpi/impi/5.0.3.048-iccifort-2015.3.187-GNU-5.1.0-2.25/include64"
if test -f "$dir/mpi.h" ; then
MPI_HEADER="$dir/mpi.h"
fi
- done
if test "x$MPI_HEADER" == "x" ; then
AC_MSG_ERROR([not found!])
else
AC_MSG_RESULT($MPI_HEADER)
fi
-fi
if test "$MPI_KIND" = "mpich2" ; then
dnl If it's MPICH2-based, make sure that MPICH2 was built as a shared
This source diff could not be displayed because it is too large. You can view the blob instead.
# IT4Innovations 2019
name = 'Mono'
version = '5.0.0.100'
......@@ -14,6 +16,7 @@ builddependencies = [
('Autotools', '20150215'),
('Bison', '3.0.4'),
('gettext', '0.19.8'),
('CMake', '3.13.1'),
]
configopts = "--with-large-heap=yes"
......
# IT4Innovations 2019
name = 'Mono'
version = '5.18.1.0'
homepage = 'http://mono-framework.com'
description = """An open source, cross-platform, implementation of C# and the CLR that is
binary compatible with Microsoft.NET."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['http://download.mono-project.com/sources/mono/']
sources = [SOURCELOWER_TAR_BZ2]
builddependencies = [
('Autotools', '20180311'),
('Bison', '3.0.4'),
('gettext', '0.19.8.1'),
('CMake', '3.13.1'),
]
configopts = "--with-large-heap=yes"
moduleclass = 'lang'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment