PolyChord / PolyChordLite

Public version of PolyChord: See polychord.co.uk for PolyChordPro
https://polychord.io/
Other
84 stars 26 forks source link

directory error: chains does not exist #41

Closed anusurendra closed 2 years ago

anusurendra commented 4 years ago

Hi,

I am able to install PolyChordLite. I did all the installation as root and am able to run the test fine when root. However, when I run the test the script as a regular user I get the following error:

python3.7 run_pypolychord.py
WARNING: Could not preload libmpi.so.If you are running with MPI, this may cause segfaults
--------------------------------------------------------------------------
By default, for Open MPI 4.0 and later, infiniband ports on a device
are not used by default.  The intent is to use UCX for these devices.
You can override this policy by setting the btl_openib_allow_ib MCA parameter
to true.

  Local host:              aims
  Local adapter:           mlx5_0
  Local port:              1

--------------------------------------------------------------------------
--------------------------------------------------------------------------
WARNING: There was an error initializing an OpenFabrics device.

  Local host:   aims
  Local device: mlx5_0
--------------------------------------------------------------------------
PolyChord: MPI is already initilised, not initialising, and will not finalize
====================
directory error: chains does not exist
====================
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
williamjameshandley commented 2 years ago

This should now be fixed in the latest version of pypolychord which automatically creates the chains files. Let me know if you don't see this.