Skip to content

Polychord error in COBAYA with intel oneapi #410

@dkhaz

Description

@dkhaz

Hello:

I am facing the following issue while trying to run polychord sampler with cobaya:

import _pypolychord
ImportError: /opt/intel/oneapi/mpi/2021.11/lib/libmpifort.so.12: undefined symbol: MPIR_F_MPI_IN_PLACE

Ifort version:
ifort (IFORT) 2021.11.1 20231117

I had some issues in doing cobaya-install polychord as it returning mpicc non-zero status. So, in the polychord download folder, in
Makefile_intel I removed -ipo, -no-prec-div and -vec-report0 that are not compatible with new intel oneapi compilers. After that make executes without error. Following that python setup.py install and cobaya-install polychord --packages-path [path] runs without errors.

But the cobaya-run throws up MPIR_F_MPI_IN_PLACE issue. CosmoChord with the same configuration runs without issues (so removal of flags are not a problem.).

import _pypolychord within python does not throw the same error.

Any idea ?

Cheers,
Dhiraj

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions