mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-07 23:42:12 +01:00
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
This commit is contained in:
parent
fb399424e6
commit
5fc33bbb1a
38
m/MPI.NET/MPI.NET-1.2.0-gompi-2017c.eb
Normal file
38
m/MPI.NET/MPI.NET-1.2.0-gompi-2017c.eb
Normal file
@ -0,0 +1,38 @@
|
||||
# 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'
|
37
m/MPI.NET/MPI.NET-1.2.0-intel-2017c.eb
Normal file
37
m/MPI.NET/MPI.NET-1.2.0-intel-2017c.eb
Normal file
@ -0,0 +1,37 @@
|
||||
# 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'
|
46
m/MPI.NET/configure.ac.patch
Normal file
46
m/MPI.NET/configure.ac.patch
Normal file
@ -0,0 +1,46 @@
|
||||
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
|
2684
m/MPI.NET/mpi.net-1.2.0-unsafe.patch
Normal file
2684
m/MPI.NET/mpi.net-1.2.0-unsafe.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,5 @@
|
||||
# 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"
|
||||
|
24
m/Mono/Mono-5.18.1.0.eb
Normal file
24
m/Mono/Mono-5.18.1.0.eb
Normal file
@ -0,0 +1,24 @@
|
||||
# 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'
|
Loading…
x
Reference in New Issue
Block a user