Created
May 29, 2020 17:09
-
-
Save Falkor/c5ec1a8fca557a76aea44aaf028bbc68 to your computer and use it in GitHub Desktop.
Diff OpenMPI-3.1.4-GCC-8.3.0.eb with SLURM bindings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```diff | |
--- <prefix>/software/EasyBuild/4.2.1/easybuild/easyconfigs/o/OpenMPI/OpenMPI-3.1.4-GCC-8.3.0.eb 2020-04-14 08:01:43.000000000 +0200 | |
+++ <custom_prefix>/easyconfigs/o/OpenMPI/OpenMPI-3.1.4-GCC-8.3.0.eb 2020-04-03 01:39:46.000000000 +0200 | |
@@ -15,12 +15,51 @@ | |
'46fa94eb417954bdb297291bad4f4d32018af4911bebf3e59af6276eba6a50a9', | |
] | |
+# needed for --with-verbs | |
+osdependencies = [( | |
+ 'libibverbs-dev', | |
+ 'libibverbs-devel', | |
+ 'rdma-core-devel' | |
+)] | |
+ | |
dependencies = [ | |
('zlib', '1.2.11'), | |
- ('hwloc', '1.11.12') | |
+ ('hwloc', '1.11.12'), | |
] | |
# to enable SLURM integration (site-specific) | |
-# configopts = '--with-slurm --with-pmi=/usr/include/slurm --with-pmi-libdir=/usr' | |
+# See also CSCS version https://github.com/easybuilders/CSCS/blob/master/easybuild/easyconfigs/o/OpenMPI/OpenMPI-3.1.4-GCC-7.4.0-2.31.1-cuda-9.2.eb | |
+configopts = ( | |
+ "--enable-static " | |
+ "--enable-mpi-cxx " | |
+ "--with-zlib " | |
+ "--with-hwloc " | |
+ "--with-pmi " | |
+ "--with-pmix=external " | |
+ "--with-libevent=/usr " | |
+ "--with-verbs " | |
+ "--with-slurm " | |
+ "--without-ofi " | |
+ "--without-ucx " | |
+ "--without-mxm " | |
+ "--without-psm2 " | |
+ "--without-alps " | |
+ "--without-tm " | |
+ "--without-loadleveler " | |
+ "--disable-memchecker " | |
+ "--enable-dlopen " | |
+ "--enable-cxx-exceptions " | |
+ "--without-lsf " | |
+ "--without-sge " | |
+ "--without-moab " | |
+ "--enable-mpirun-prefix-by-default " | |
+) | |
+ | |
+sanity_check_paths = { | |
+ 'files': ["bin/%s" % x for x in ["ompi_info", "opal_wrapper", "orterun"]] + | |
+ ["lib/lib%s.%s" % (x, SHLIB_EXT) for x in ["mpi_mpifh", "mpi", "ompitrace", "open-pal", "open-rte"]] + | |
+ ["include/%s.h" % x for x in ["mpi-ext", "mpif-config", "mpif", "mpi", "mpi_portable_platform"]], | |
+ 'dirs': [], | |
+} | |
moduleclass = 'mpi' | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment