I executed the following command (a tool that I need) and got:
$ $TOOLS/moses/moses_20150318/bin/kbmira
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
Aborted
I followed this article on how to solve it, and since I am not a root I added this line to my ~/.bashrc but no changes.
export LC_ALL="en_US.UTF-8"
$locale -a
gives
en_US
en_US.ISO-8859-1
en_US.UTF-8
en_ZA
and many other entries. I also looked if "locale" was included somewhere in the source files but could not find anything.
-bash-4.2$ grep "locale" $DIR/mert/*.cpp
-bash-4.2$ grep "locale" $DIR/mert/*.h
Any ideas on what's causing this.
Thanks.