Skip to content

Conversation

@jjhursey
Copy link
Member

  • This puts the MPI standard major and minor version in the scope
    of the Makefiles so we can leverage this information when deciding
    build time options for non-C portions of the code (portions that
    do not look at mpi.h) - such as Fortran and Perl.

@jjhursey jjhursey force-pushed the mpi_version_config branch from 4ca0766 to 2c0a74a Compare August 17, 2022 21:32
@jjhursey jjhursey force-pushed the mpi_version_config branch from 2c0a74a to a1dcb62 Compare August 17, 2022 21:39
@jjhursey jjhursey marked this pull request as ready for review August 17, 2022 21:40
@jjhursey jjhursey requested review from bwbarrett and jsquyres August 17, 2022 21:40
#
# MPI_VERSION
# MPI_SUBVERSION
m4_define([OPAL_GET_MPI_STANDARD_VERSION],[
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sigh; we've broken this already, but there's no reason to use shell code at configure time. There's already a build dependency of configure on VERSION, so we can just do this all during Autoconf time (similar to how we get the version to pass to AC_INIT). No need to run a giant sed across an ever-growing version file every time someone runs configure...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. I didn't want to tackle that in this change. Just trying to match what was already there.

@jjhursey jjhursey force-pushed the mpi_version_config branch from a1dcb62 to 0f5e1a3 Compare August 17, 2022 21:56
 * This puts the MPI standard major and minor version in the scope
   of the Makefiles so we can leverage this information when deciding
   build time options for non-C portions of the code (portions that
   do not look at `mpi.h`) - such as Fortran and Perl.

Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
@jjhursey jjhursey force-pushed the mpi_version_config branch from 0f5e1a3 to bee50be Compare August 17, 2022 22:12
@jjhursey jjhursey merged commit 5575c86 into open-mpi:main Aug 22, 2022
@jjhursey jjhursey deleted the mpi_version_config branch August 22, 2022 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants