It was a bug (typo in the attribute name when backported from OMPI master) in 
OMPI 4.1.1 - it has been fixed.


> On Oct 9, 2021, at 9:18 PM, Orion Poplawski via devel 
> <devel@lists.open-mpi.org> wrote:
> 
> It looks like openmpi 4.1.1 is not compatible with pmix 4.1.0 - is that 
> expected?
> 
> In file included from ../../../../opal/mca/pmix/base/base.h:22,
>                 from common_ofi.c:29:
> common_ofi.c: In function 'get_package_rank':
> common_ofi.c:321:40: error: 'PMIX_PACKAGE_RANK' undeclared (first use in this 
> function)
>  321 |     OPAL_MODEX_RECV_VALUE_OPTIONAL(rc, PMIX_PACKAGE_RANK,
>      |                                        ^~~~~~~~~~~~~~~~~
> ../../../../opal/mca/pmix/pmix.h:153:56: note: in definition of macro 
> 'OPAL_MODEX_RECV_VALUE_OPTIONAL'
>  153 |         if (OPAL_SUCCESS == ((r) = opal_pmix.get((p), (s), &(_ilist), 
> &(_kv)))) {        \
>      |                                                        ^
> common_ofi.c:321:40: note: each undeclared identifier is reported only once 
> for each function it appears in
>  321 |     OPAL_MODEX_RECV_VALUE_OPTIONAL(rc, PMIX_PACKAGE_RANK,
>      |                                        ^~~~~~~~~~~~~~~~~
> ../../../../opal/mca/pmix/pmix.h:153:56: note: in definition of macro 
> 'OPAL_MODEX_RECV_VALUE_OPTIONAL'
>  153 |         if (OPAL_SUCCESS == ((r) = opal_pmix.get((p), (s), &(_ilist), 
> &(_kv)))) {        \
>      |                                                        ^
> make[2]: *** [Makefile:1937: common_ofi.lo] Error 1
> 
> 
> -- 
> Orion Poplawski
> he/him/his - surely the least important thing about me
> Manager of NWRA Technical Systems          720-772-5637
> NWRA, Boulder/CoRA Office             FAX: 303-415-9702
> 3380 Mitchell Lane                       or...@nwra.com
> Boulder, CO 80301                 https://www.nwra.com/
> 


Reply via email to