Skip to content

Have configure abort if building for 32 bit #11282

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved.
# Copyright (c) 2006-2022 Cisco Systems, Inc. All rights reserved
# Copyright (c) 2006-2023 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2006-2008 Sun Microsystems, Inc. All rights reserved.
# Copyright (c) 2006-2017 Los Alamos National Security, LLC. All rights
# reserved.
Expand Down Expand Up @@ -458,6 +458,10 @@ AC_CHECK_SIZEOF(double _Complex)
AC_CHECK_SIZEOF(long double _Complex)

AC_CHECK_SIZEOF(void *)
AS_IF([test "$ac_cv_sizeof_void_p" -eq 4],
[AC_MSG_WARN([Open MPI no longer supports 32 bit builds.])
AC_MSG_WARN([Please use Open MPI v4.x or earlier if you need 32 bit support.])
AC_MSG_ERROR([Cannot continue])])
AC_CHECK_SIZEOF(size_t)
if test "$ac_cv_type_ssize_t" = yes ; then
AC_CHECK_SIZEOF(ssize_t)
Expand Down
13 changes: 0 additions & 13 deletions docs/faq/supported-systems.rst
Original file line number Diff line number Diff line change
Expand Up @@ -153,19 +153,6 @@ releases continually improve reliability and performance of
multi-threaded MPI applications.


/////////////////////////////////////////////////////////////////////////

Does Open MPI support 32 bit environments?
------------------------------------------

As far as we know, yes. 64 bit architectures have effectively taken
over the world, though, so 32-bit is not tested nearly as much as
64-bit.

Specifically, most of the Open MPI developers only have 64-bit
machines, and therefore only test 32-bit in emulation mode.


/////////////////////////////////////////////////////////////////////////

Does Open MPI support 64 bit environments?
Expand Down
5 changes: 3 additions & 2 deletions docs/release-notes/platform.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ Platform Notes

* Other systems have been lightly (but not fully) tested:

* Linux (various flavors/distros), 32 bit, with gcc
* Cygwin 32 & 64 bit with gcc
* Cygwin 64 bit with gcc
* ARMv6, ARMv7, ARMv9
* Other 64 bit platforms.
* OpenBSD. Requires configure options ``--enable-mca-no-build=patcher``
Expand All @@ -32,6 +31,8 @@ Platform Notes
using the clang-4.0 system compiler. A workaround is to build
Open MPI using the GNU compiler.

.. note:: 32-bit environments are no longer supported.

* The run-time systems that are currently supported are:

* ssh / rsh
Expand Down