easybuilders / easybuild

EasyBuild - building software with ease
http://easybuild.io
GNU General Public License v2.0
464 stars 143 forks source link

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

Open avapirev opened 3 years ago

avapirev commented 3 years ago

Hi, several software (already), e.g., SCOTCH 6.1.0 won't compile with Intel/iimpi 2021a with the following error:

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

Setting up the locale as suggested elsewhere , e.g., with preconfigopts or similar won't work either.

Any comments are appreciated. EB 4.4.0

boegel commented 3 years ago

@avapirev Sorry for not picking up on this earlier. Can you share some more information about your setup? Which OS, EasyBuild configuration, etc.? Can you share the output of eb --show-config and eb --show-system-info?

It seems like this may be caused by your locale settings, what values are set for related environment variables like $LC_ALL, $LANG, etc. in the shell session you're using?

avapirev commented 2 years ago

eb --show-config and eb --show-system-info System information (login1):

boegel commented 2 years ago

@avapirev What about environment variables like $LANG and $LC_ALL, which control locale settings?

avapirev commented 2 years ago

None of those has any effect, no matter where and how I specify/export them, be that in the easyconfig, or somewhere else. The error specific to Intel compilers.