@@ -919,6 +919,42 @@ def pre_configure_hook_openblas_optarch_generic(self, *args, **kwargs):
919
919
raise EasyBuildError ("OpenBLAS-specific hook triggered for non-OpenBLAS easyconfig?!" )
920
920
921
921
922
+ def pre_configure_hook_openmpi_ipv6 (self , * args , ** kwargs ):
923
+ """
924
+ Pre-configure hook to enable IPv6 support in OpenMPI from EESSI 2025.06 onwards
925
+ """
926
+ if self .name == 'OpenMPI' :
927
+ eessi_version = get_eessi_envvar ('EESSI_VERSION' )
928
+ if eessi_version and LooseVersion (eessi_version ) >= '2025.06' :
929
+ self .cfg .update ('configopts' , '--enable-ipv6' )
930
+ else :
931
+ raise EasyBuildError ("OpenMPI-specific hook triggered for non-OpenMPI easyconfig?!" )
932
+
933
+
934
+ def pre_configure_hook_pmix_ipv6 (self , * args , ** kwargs ):
935
+ """
936
+ Pre-configure hook to enable IPv6 support in PMIx from EESSI 2025.06 onwards
937
+ """
938
+ if self .name == 'PMIx' :
939
+ eessi_version = get_eessi_envvar ('EESSI_VERSION' )
940
+ if eessi_version and LooseVersion (eessi_version ) >= '2025.06' :
941
+ self .cfg .update ('configopts' , '--enable-ipv6' )
942
+ else :
943
+ raise EasyBuildError ("PMIx-specific hook triggered for non-PMIx easyconfig?!" )
944
+
945
+
946
+ def pre_configure_hook_prrte_ipv6 (self , * args , ** kwargs ):
947
+ """
948
+ Pre-configure hook to enable IPv6 support in PRRTE from EESSI 2025.06 onwards
949
+ """
950
+ if self .name == 'PRRTE' :
951
+ eessi_version = get_eessi_envvar ('EESSI_VERSION' )
952
+ if eessi_version and LooseVersion (eessi_version ) >= '2025.06' :
953
+ self .cfg .update ('configopts' , '--enable-ipv6' )
954
+ else :
955
+ raise EasyBuildError ("PRRTE-specific hook triggered for non-PRRTE easyconfig?!" )
956
+
957
+
922
958
def pre_configure_hook_libfabric_disable_psm3_x86_64_generic (self , * args , ** kwargs ):
923
959
"""Add --disable-psm3 to libfabric configure options when building with --optarch=GENERIC on x86_64."""
924
960
if self .name == 'libfabric' :
@@ -1538,6 +1574,9 @@ def post_easyblock_hook(self, *args, **kwargs):
1538
1574
'ROCm-LLVM' : pre_configure_hook_llvm ,
1539
1575
'MetaBAT' : pre_configure_hook_metabat_filtered_zlib_dep ,
1540
1576
'OpenBLAS' : pre_configure_hook_openblas_optarch_generic ,
1577
+ 'OpenMPI' : pre_configure_hook_openmpi_ipv6 ,
1578
+ 'PMIx' : pre_configure_hook_pmix_ipv6 ,
1579
+ 'PRRTE' : pre_configure_hook_prrte_ipv6 ,
1541
1580
'WRF' : pre_configure_hook_wrf_aarch64 ,
1542
1581
'LAMMPS' : pre_configure_hook_LAMMPS_zen4 ,
1543
1582
'Score-P' : pre_configure_hook_score_p ,
0 commit comments