OpenMPI-2.1.1-GCC-6.4.0-2.28.eb 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. easyblock = 'ConfigureMake'
  2. name = 'OpenMPI'
  3. version = '2.1.1'
  4. homepage = 'http://www.open-mpi.org/'
  5. description = """The Open MPI Project is an open source MPI-2 implementation."""
  6. toolchain = {'name': 'GCC', 'version': '6.4.0-2.28'}
  7. source_urls = ['http://www.open-mpi.org/software/ompi/v%(version_major_minor)s/downloads']
  8. sources = [SOURCELOWER_TAR_GZ]
  9. checksums = ['afe4bef3c4378bc76eea96c623d5aa4c1c98b9e057d281c646e68869292a77dc']
  10. dependencies = [('hwloc', '1.11.7')]
  11. configopts = '--enable-shared --enable-mpi-thread-multiple --with-verbs --enable-mpi-cxx '
  12. configopts += '--enable-mpirun-prefix-by-default ' # suppress failure modes in relation to mpirun path
  13. configopts += '--with-hwloc=$EBROOTHWLOC ' # hwloc support
  14. configopts += '--without-ucx ' # hard disable UCX, to dance around bug (https://github.com/open-mpi/ompi/issues/4345)
  15. # to enable SLURM integration (site-specific)
  16. # configopts += '--with-slurm --with-pmi=/usr/include/slurm --with-pmi-libdir=/usr'
  17. # needed for --with-verbs
  18. osdependencies = [('libibverbs-dev', 'libibverbs-devel', 'rdma-core-devel')]
  19. libs = ["mpi_mpifh", "mpi", "ompitrace", "open-pal", "open-rte"]
  20. sanity_check_paths = {
  21. 'files': ["bin/%s" % binfile for binfile in ["ompi_info", "opal_wrapper", "orterun"]] +
  22. ["lib/lib%s.%s" % (libfile, SHLIB_EXT) for libfile in libs] +
  23. ["include/%s.h" % x for x in ["mpi-ext", "mpif-config", "mpif", "mpi", "mpi_portable_platform"]],
  24. 'dirs': [],
  25. }
  26. moduleclass = 'mpi'