diff --git a/h/hwloc/hwloc-1.11.12.eb b/h/hwloc/hwloc-1.11.12.eb new file mode 100644 index 00000000..d169e914 --- /dev/null +++ b/h/hwloc/hwloc-1.11.12.eb @@ -0,0 +1,45 @@ +# IT4Innovations 2019 + +easyblock = 'ConfigureMake' + +name = 'hwloc' +version = '1.11.12' + +homepage = 'https://www.open-mpi.org/projects/hwloc/' + +description = """ + The Portable Hardware Locality (hwloc) software package provides a portable + abstraction (across OS, versions, architectures, ...) of the hierarchical + topology of modern architectures, including NUMA memory nodes, sockets, shared + caches, cores and simultaneous multithreading. It also gathers various system + attributes such as cache and memory information as well as the locality of I/O + devices such as network interfaces, InfiniBand HCAs or GPUs. It primarily + aims at helping applications with gathering information about modern computing + hardware so as to exploit it accordingly and efficiently. +""" + +toolchain = SYSTEM +# need to build with -fno-tree-vectorize to avoid segfaulting lstopo on Intel Skylake +# cfr. https://github.com/open-mpi/hwloc/issues/315 +toolchainopts = {'vectorize': False} + +source_urls = ['https://www.open-mpi.org/software/hwloc/v%(version_major_minor)s/downloads/'] +sources = [SOURCE_TAR_GZ] +checksums = ['f1d49433e605dd653a77e1478a78cee095787d554a94afe40d1376bca6708ca5'] + +dependencies = [ + ('numactl', '2.0.12'), + ('libpciaccess', '0.14'), +] + +configopts = "--enable-libnuma=$EBROOTNUMACTL " +configopts += "--disable-cairo --disable-opencl --disable-cuda --disable-nvml --disable-gl --disable-libudev " + +sanity_check_paths = { + 'files': ['bin/lstopo', 'include/hwloc/linux.h', + 'lib/libhwloc.%s' % SHLIB_EXT], + 'dirs': ['share/man/man3'], +} +sanity_check_commands = ['lstopo'] + +moduleclass = 'system' diff --git a/l/Libmsr/Libsmr-master-20191216.eb b/l/Libmsr/Libsmr-master-20191216.eb index 97e65c91..e3906b79 100644 --- a/l/Libmsr/Libsmr-master-20191216.eb +++ b/l/Libmsr/Libsmr-master-20191216.eb @@ -17,6 +17,10 @@ sources = ['libmsr-master-20191216.tar.gz'] builddependencies = [('CMake', '3.16.0', '-rc3')] +dependencies = [ + ('hwloc', '1.11.12'), +] + sanity_check_paths = { 'files': ['bin/msrmod', 'lib/libmsr.a', 'lib/libmsr.so'], 'dirs': ['bin', 'share', 'include', 'lib'], diff --git a/l/libpciaccess/libpciaccess-0.14.eb b/l/libpciaccess/libpciaccess-0.14.eb new file mode 100644 index 00000000..a7cecd73 --- /dev/null +++ b/l/libpciaccess/libpciaccess-0.14.eb @@ -0,0 +1,27 @@ +# IT4Innvoations 2019 + +easyblock = 'ConfigureMake' + +name = 'libpciaccess' +version = '0.14' + +homepage = 'http://cgit.freedesktop.org/xorg/lib/libpciaccess/' +description = """Generic PCI access library.""" + +toolchain = SYSTEM + +source_urls = ['https://www.x.org/releases/individual/lib/'] +sources = [SOURCE_TAR_GZ] +checksums = ['8d86e64893917be3dfb1c5e837888d1275399c818783474002203d751312b03c'] + +builddependencies = [ + ('Autotools', '20180311', '', True), + ('xorg-macros', '1.19.1', '', True), +] + +sanity_check_paths = { + 'files': ['include/pciaccess.h', 'lib/libpciaccess.a'], + 'dirs': ['lib/pkgconfig'], +} + +moduleclass = 'system' diff --git a/n/numactl/numactl-2.0.12.eb b/n/numactl/numactl-2.0.12.eb new file mode 100644 index 00000000..dc2870c1 --- /dev/null +++ b/n/numactl/numactl-2.0.12.eb @@ -0,0 +1,35 @@ +# IT4Innovations 2019 + +easyblock = 'ConfigureMake' + +name = 'numactl' +version = '2.0.12' + +homepage = 'http://oss.sgi.com/projects/libnuma/' + +description = """ + The numactl program allows you to run your application program on specific + cpu's and memory nodes. It does this by supplying a NUMA memory policy to + the operating system before running your program. The libnuma library provides + convenient ways for you to add NUMA memory policies into your own program. +""" + +toolchain = SYSTEM +toolchainopts = {'pic': True} + +source_urls = ['https://github.com/numactl/numactl/archive/'] +sources = ['v%(version)s.tar.gz'] +checksums = ['7c3e819c2bdeb883de68bafe88776a01356f7ef565e75ba866c4b49a087c6bdf'] + +builddependencies = [ + ('Autotools', '20180311'), +] + +preconfigopts = "./autogen.sh && " + +sanity_check_paths = { + 'files': ['bin/numactl', 'bin/numastat', 'lib/libnuma.%s' % SHLIB_EXT, 'lib/libnuma.a'], + 'dirs': ['share/man', 'include'] +} + +moduleclass = 'tools' diff --git a/o/OpenMPI/OpenMPI-3.1.5.eb b/o/OpenMPI/OpenMPI-3.1.5.eb new file mode 100644 index 00000000..db9d01d5 --- /dev/null +++ b/o/OpenMPI/OpenMPI-3.1.5.eb @@ -0,0 +1,46 @@ +# IT4Innovations 2019 + +easyblock = 'ConfigureMake' + +name = 'OpenMPI' +version = '3.1.5' + +homepage = 'http://www.open-mpi.org/' +description = """The Open MPI Project is an open source MPI-2 implementation.""" + +toolchain = SYSTEM + +source_urls = [ + 'http://www.open-mpi.org/software/ompi/v%(version_major_minor)s/downloads'] +sources = [SOURCELOWER_TAR_GZ] + +dependencies = [ + ('hwloc', '1.11.12'), + ('zlib', '1.2.11'), + ('binutils', '2.32'), + ('UCX', '1.6.1'), +] + +configopts = '--with-tm=/opt/pbs ' # Enable PBS +configopts += '--with-ucx=$EBROOTUCX ' + +osdependencies = [('libibverbs-dev', 'libibverbs-devel', 'rdma-core-devel')] + +libs = ["mpi_mpifh", "mpi", "ompitrace", "open-pal", "open-rte"] +sanity_check_paths = { + 'files': [ + "bin/%s" % + binfile for binfile in [ + "ompi_info", "opal_wrapper", "orterun"]] + [ + "lib/lib%s.%s" % + (libfile, SHLIB_EXT) for libfile in libs] + [ + "include/%s.h" % + x for x in [ + "mpi-ext", "mpif-config", "mpif", "mpi", "mpi_portable_platform"]], 'dirs': [], } + +modextravars = {'OMPI_MCA_btl_openib_if_include': 'mlx5_0', + 'OMPI_MCA_btl_tcp_if_include': '10.33.4.0/24', + 'OMPI_MCA_orte_base_help_aggregate': '0', + } + +moduleclass = 'mpi' diff --git a/u/UCX/UCX-1.6.1.eb b/u/UCX/UCX-1.6.1.eb new file mode 100644 index 00000000..e2c0e43f --- /dev/null +++ b/u/UCX/UCX-1.6.1.eb @@ -0,0 +1,39 @@ +# IT4Innovations 2019 +easyblock = 'ConfigureMake' + +name = 'UCX' +version = '1.6.1' + +homepage = 'http://www.openucx.org/' +description = """Unified Communication X +An open-source production grade communication framework for data centric +and high-performance applications +""" + +toolchain = SYSTEM +toolchainopts = {'pic': True} + +source_urls = ['https://github.com/openucx/ucx/releases/download/v%(version)s'] +sources = ['%(namelower)s-%(version)s.tar.gz'] + +builddependencies = [ + ('pkg-config', '0.29.2'), +] + +osdependencies = [('libibverbs-dev', 'libibverbs-devel', 'rdma-core-devel')] + +dependencies = [ + ('numactl', '2.0.12'), +] + +configopts = '--enable-optimizations --enable-cma --enable-mt --with-verbs ' +configopts += '--without-java --disable-doxygen-doc ' + +buildopts = 'V=1' + +sanity_check_paths = { + 'files': ['bin/ucx_info', 'bin/ucx_perftest', 'bin/ucx_read_profile'], + 'dirs': ['include', 'lib', 'share'] +} + +moduleclass = 'lib'