Skip to content

Commit 678a4cd

Browse files
authored
Merge branch 'devreal:main' into notified-rma-sm
2 parents ab57fbb + 7414d20 commit 678a4cd

File tree

197 files changed

+10230
-5802
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

197 files changed

+10230
-5802
lines changed

.ci/mellanox/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
CI is managed by [Azure Pipelines](https://docs.microsoft.com/en-us/azure/devops/pipelines/?view=azure-devops) service.
77

88
Mellanox Open MPI CI includes:
9-
* Open MPI building with internal stable engineering versions of UCX and HCOLL. The building is run in Docker-based environment.
9+
* Open MPI building with internal stable engineering versions of UCX. The building is run in Docker-based environment.
1010
* Sanity functional testing.
1111
### How to Run CI
1212
Mellanox Open MPI CI is triggered upon the following events:
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Compile ignored components
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
compile-ignored:
7+
runs-on: ubuntu-24.04
8+
steps:
9+
- uses: actions/checkout@v4
10+
with:
11+
submodules: recursive
12+
- name: Remove .opal_ignore files so that we build all examples
13+
run: |
14+
find . -name .opal_ignore -exec rm -f {} \; -print
15+
- name: Build Open MPI
16+
run: |
17+
./autogen.pl
18+
./configure --prefix=${PWD}/install --disable-silent-rules
19+
make -j

.github/workflows/hdf5-tests.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
make -j 8 && make install
2121
- name: Install HDF5
2222
run: |
23-
wget --progress=dot:giga https://github.com/HDFGroup/hdf5/releases/latest/download/hdf5.tar.gz
24-
tar -xzf hdf5.tar.gz
25-
mv hdf5-1* hdf5
23+
wget --progress=dot:giga https://github.com/HDFGroup/hdf5/releases/download/hdf5_1.14.6/hdf5-1.14.6.tar.gz
24+
tar -xzf hdf5-1.14.6.tar.gz
25+
mv hdf5-1.14.6 hdf5
2626
cd hdf5
2727
export PATH=/opt/openmpi/bin:${PATH}
2828
export LD_LIBRARY_PATH=/opt/openmpi/lib:${LD_LIBRARY_PATH}

3rd-party/openpmix

Submodule openpmix updated 282 files

3rd-party/prrte

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# major, minor, and release are generally combined in the form
1616
# <major>.<minor>.<release>.
1717

18-
major=5
18+
major=6
1919
minor=1
2020
release=0
2121

config/ompi_check_libhcoll.m4

Lines changed: 0 additions & 61 deletions
This file was deleted.

config/ompi_check_ubcl.m4

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# -*- shell-script -*-
2+
#
3+
# Copyright (C) 2015-2017 Mellanox Technologies, Inc.
4+
# All rights reserved.
5+
# Copyright (c) 2015 Research Organization for Information Science
6+
# and Technology (RIST). All rights reserved.
7+
# Copyright (c) 2016 Los Alamos National Security, LLC. All rights
8+
# reserved.
9+
# Copyright (c) 2016 Cisco Systems, Inc. All rights reserved.
10+
# Copyright (c) 2022 Amazon.com, Inc. or its affiliates. All Rights reserved.
11+
# Copyright (c) 2024-2025 Bull S.A.S. All rights reserved.
12+
# $COPYRIGHT$
13+
#
14+
# Additional copyrights may follow
15+
#
16+
# $HEADER$
17+
#
18+
19+
# OMPI_CHECK_UBCL(prefix, [action-if-found], [action-if-not-found])
20+
# --------------------------------------------------------
21+
# check if UBCL support can be found. sets prefix_{CPPFLAGS,
22+
# as needed and runs action-if-found if there is
23+
# support, otherwise executes action-if-not-found
24+
AC_DEFUN([OMPI_CHECK_UBCL],[
25+
OPAL_VAR_SCOPE_PUSH([ompi_check_ubcl_dir ompi_check_ubcl_happy])
26+
27+
m4_ifblank([$1], [m4_fatal([First argument to OMPI_CHECK_UBCL cannot be blank])])
28+
29+
AC_ARG_WITH([ubcl],
30+
[AS_HELP_STRING([--with-ubcl(=DIR)],
31+
[Build with UBCL support])])
32+
33+
# UBCL is dlopen'd to avoid direct link to libubcl.so.
34+
# OAC_CHECK_PACKAGE would add this explicit link, so it cannot be used.
35+
# OPAL_CHECK_WITHDIR prints an error if the given path is invalid
36+
OPAL_CHECK_WITHDIR([ubcl], [$with_ubcl], [include/ubcl_api.h])
37+
38+
AS_IF([test "$with_ubcl" == "no"],
39+
[ompi_check_ubcl_happy="no"],
40+
41+
[test -z "$with_ubcl"],
42+
[ompi_check_ubcl_happy="no"],
43+
44+
[ompi_check_ubcl_happy="yes"
45+
$1_CPPFLAGS="${$1_CPPFLAGS} -I$with_ubcl/include/"
46+
AC_MSG_NOTICE([$1_CPPFLAGS is set to: ${$1_CPPFLAGS}])])
47+
48+
49+
OPAL_SUMMARY_ADD([Transports],[UBCL],[],[$ompi_check_ubcl_happy])
50+
51+
AS_IF([test "$ompi_check_ubcl_happy" = "yes"],
52+
[$2],
53+
[$3])
54+
55+
OPAL_VAR_SCOPE_POP
56+
])
57+
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
dnl -*- shell-script -*-
2+
dnl
3+
dnl Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
4+
dnl University Research and Technology
5+
dnl Corporation. All rights reserved.
6+
dnl Copyright (c) 2004-2005 The University of Tennessee and The University
7+
dnl of Tennessee Research Foundation. All rights
8+
dnl reserved.
9+
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
10+
dnl University of Stuttgart. All rights reserved.
11+
dnl Copyright (c) 2004-2005 The Regents of the University of California.
12+
dnl All rights reserved.
13+
dnl Copyright (c) 2010-2014 Cisco Systems, Inc. All rights reserved.
14+
dnl Copyright (c) 2022-2025 Triad National Security, LLC. All rights
15+
dnl reserved.
16+
dnl $COPYRIGHT$
17+
dnl
18+
dnl Additional copyrights may follow
19+
dnl
20+
dnl $HEADER$
21+
dnl
22+
23+
# Check whether or not the Fortran compiler can build mpi_f08 using
24+
# the given compiler options. This test is intended to
25+
# trap cases where default INTEGER KIND is equivalent to MPI_COUNT_KIND.
26+
27+
# OMPI_FORTRAN_CHECK_BIG_COUNT([action if found],
28+
# [action if not found])
29+
# ----------------------------------------------------
30+
AC_DEFUN([OMPI_FORTRAN_CHECK_BIG_COUNT],[
31+
AS_VAR_PUSHDEF([big_count_var], [ompi_cv_big_count_var])
32+
33+
AC_CACHE_CHECK([if Fortran compiler can compile interface containing MPI_KIND_COUNT arguments ], big_count_var,
34+
[AC_LANG_PUSH([Fortran])
35+
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[module sendit_interfaces
36+
INTERFACE SendIt
37+
subroutine SendIt_int(X)
38+
INTEGER :: X
39+
end subroutine SendIt_int
40+
subroutine SendIt_big(x)
41+
integer(KIND=$OMPI_MPI_COUNT_KIND)::X
42+
end subroutine SendIt_big
43+
end interface SendIt
44+
end module sendit_interfaces]])],
45+
[AS_VAR_SET(big_count_var, yes)],
46+
[AS_VAR_SET(big_count_var, no)])
47+
touch conftest_foo.mod
48+
rm -rf *.mod 2>/dev/null
49+
AC_LANG_POP([Fortran])
50+
])
51+
52+
AS_VAR_IF(big_count_var, [yes], [$1], [$2])
53+
AS_VAR_POPDEF([big_count_var])dnl
54+
])

configure.ac

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -896,6 +896,14 @@ AC_CHECK_MEMBERS([struct timespec.tv_nsec],
896896
#
897897
m4_ifdef([project_ompi], [OMPI_FIND_MPI_AINT_COUNT_OFFSET])
898898

899+
#
900+
# now that we have MPI_COUNT_KIND set, try building
901+
# MPI F08 bindings if that level of fortran support is requested
902+
#
903+
m4_ifdef([project_ompi], [AS_IF([test $OMPI_BUILD_FORTRAN_BINDINGS -ge $OMPI_FORTRAN_USEMPIF08_BINDINGS],
904+
[OMPI_FORTRAN_CHECK_BIG_COUNT([],
905+
[AC_MSG_ERROR([The mpi_f08 module cannot be compiled using the current set of Fortran compiler options ($FCFLAGS). Either change compiler options or use --enable-mpi-fortran=usempi])])
906+
])])
899907
# checkpoint results
900908
AC_CACHE_SAVE
901909

0 commit comments

Comments
 (0)