One error that is frequently encountered by the ParaMonte users in parallel simulations is of the following nature,

Could not find module 'libparamonte_python_windows_x64_intel_release_shared_heap_impi.dll' (or one of its dependencies). Try using the full path with constructor syntax.
Traceback (most recent call last):
File "C:\Users\cmbac\AppData\Roaming\Python\Python38\site-packages\paramonte\_ParaMonteSampler.py", line 612, in _runSampler
pmdll = ct.CDLL(libPath)
File "C:\ProgramData\Anaconda3\lib\ctypes\__init__.py", line 373, in _init_
self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'C:\Users\cmbac\AppData\Roaming\Python\Python38\site-packages\paramonte\libparamonte_python_windows_x64_intel_release_shared_heap_impi.dll' (or one of its dependencies). Try using the full path with constructor syntax.


The primary reason for getting such error messages is that the MPI runtime library variables and paths have not been defined in your Python, Bash, or Anaconda command-prompt session. To resolve this error, type the following commands in your Python session and carefully follow the instructions provided to (re)install the MPI library or define the MPI runtime variables prior to running your MPI simulations,

import paramonte as pm
pm.verify()


If this does not resolve the error, please report this error on the issues page of the ParaMonte repository on GitHub.

If you have any questions about the topics discussed on this page, feel free to ask in the comment section below, or raise an issue on the GitHub page of the library, or reach out to the ParaMonte library authors.