Thursday, 19 April 2012

Weird characters displayed in Linux

I was compiling HPL today and I was getting this error, among others:
 error: expected declaration specifiers or â...â before âMPI_Commâ
I have seen this encoding issue in some man pages too and had simply ignored it, but today I thought I've had enough so I looked for a solution. The solution is very simple:
export LC_ALL=C
 The output now is:
error: expected declaration specifiers or '...' before 'MPI_Comm'
Don't forget to add it to your .bashrc file (/home/username/.bashrc) to make the change permanent.

No comments:

Post a Comment