While compiling and linking your C/C++ code against the ParaMonte libraries via the Intel C/C++ compilers, in particular, on macOS, you may receive a compiler error message similar to the following,

Catastrophic error: could not set locale "" to allow processing of multibyte characters

This is apparently a bug in Intel C/C++ compiler on macOS, as of 2020. Such compile/link time errors can be resolved by passing the following compiler flag to the Intel compilers,


By default, this compiler flag is added to the example-build-scripts of the prebuilt ParaMonte libraries on macOS. Therefore, this problem will only arise if you are manually compiling and linking your example C/C++ codes against the ParaMonte library routines.

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.