Skip to content

[openmpi 5.0] error: 'OPAL_RECURSIVE_MUTEX_STATIC_INIT' undeclared here (not in a function); did you mean 'OPAL_MUTEX_STATIC_INIT'? #12029

@barracuda156

Description

@barracuda156

Something is not right here:

  CC       instance/instance.lo
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_science_openmpi/openmpi-gcc13/work/openmpi-5.0.0/ompi/instance/instance.c:62:47: error: 'OPAL_RECURSIVE_MUTEX_STATIC_INIT' undeclared here (not in a function); did you mean 'OPAL_MUTEX_STATIC_INIT'?
   62 | static opal_recursive_mutex_t instance_lock = OPAL_RECURSIVE_MUTEX_STATIC_INIT;
      |                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                               OPAL_MUTEX_STATIC_INIT
make[2]: *** [instance/instance.lo] Error 1

@shintaro-iwasaki Could this be related to bcd376a commit?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions