Skip to content

undefined symbol: mca_psensor_file_component #6056

@benmenadue

Description

@benmenadue

Background information

What version of Open MPI are you using? (e.g., v1.10.3, v2.1.0, git branch name and hash, etc.)

3.1.3

Describe how Open MPI was installed (e.g., from a source/distribution tarball, from a git clone, from an operating system distribution package, etc.)

release tarball, ./configure && make && make install

Please describe the system on which you are running

  • Operating system/version: CentOS 6.10
  • Computer hardware: various
  • Network type: IB

Details of the problem

Launching an program produces these warnings:

[raijin7:07223] pmix_mca_base_component_repository_open: "mca_psensor_file" does not appear to be a valid psensor MCA dynamic component (ignored): /apps/openmpi/3.1.3/lib/pmix/mca_psensor_file.so: undefined symbol: mca_psensor_file_component. ret -1

There's one from each MPI process and 1 for the mpirun. The same happens regardless of whether we use the internal pmix distribution of an external build of PMIx 2.1.4.

I think the problem is a missing PMIX_EXPORT on

extern pmix_psensor_file_component_t mca_psensor_file_component;
I'm just testing this at the moment; if it fixes it, can I PR into the 3.1.x branch? (I can't PR it to master since these files are branch-specific.)

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