[Tscc-l] Re: could not set locale "" to allow processing of multibyte characters
Tue Feb 25 06:59:37 PST 2014
export -n LANG=
and then run icpc
From: Yuxiang Zhang [mailto:firstname.lastname@example.org]
Sent: Monday, February 24, 2014 10:32 PM
To: Greenberg, Jerry
Subject: RE: [Tscc-l] could not set locale "" to allow processing of multibyte characters
I tried again, but the same error came out. I tried two cases:
The initial value of LANG on my end is en_US.iso885915 and I also tried LANG=C.
Both of them failed. What is the value of LANG show there?
Besides, not only this happened, when I compile some other makefile. The similar error come out.
mpicc -c -DAdd_ -O2 BI_HypBS.c
Catastrophic error: could not set locale "" to allow processing of multibyte characters
Several days ago, there is no such problem.
Thanks for helping me to take a look.
On Mon, February 24, 2014 10:06 pm, Greenberg, Jerry wrote:
> I logged in as you and I was able to compile the cxx file.
> I don't know how the LANG variable got corrupted but it I did some
> experiments and I found the it works even if LANG isn't set. It only
> doesn't work if it is set incorrectly.
> -----Original Message-----
> From: email@example.com
> [mailto:firstname.lastname@example.org] On Behalf Of Yuxiang Zhang
> Sent: Monday, February 24, 2014 4:02 PM
> To: email@example.com
> Subject: [Tscc-l] could not set locale "" to allow processing of
> multibyte characters
> Hi all,
> Here is my error message:
> icpc -O0 -c predicates.cxx
> Catastrophic error: could not set locale "" to allow processing of
> multibyte characters
> compilation aborted for predicates.cxx (code 4)
> make: *** [predicates.o] Error 4
> The wired thing is: I did not encounter this problem several days ago,
> with the same code. Is there any recent change to the system?
> According to the intel website: this problem related to this variable
> LANG. There is several options(LANG=C" or "LANG=en_US.UTF-8...), but
> which is the right one for TSCC? Is it the right solution for this error?
> Anybody get some experience or clue about solving this problem?
> Thanks for your attention.
Graduate in Geophysics
University of California, San Diego
Institute of Geophysics and Planetary Physics
More information about the Tscc-l