Re: Compile NAMD with FFTW3 and MPI

From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Tue Nov 19 2013 - 02:50:48 CST

On Tue, Nov 19, 2013 at 9:45 AM, Chan Tabris C <mcfc1301_at_gmail.com> wrote:
> Dear Sir,
>
> Hi I am Kevin from HK and I am configuring a linux cluster with NAMD.
> Following the Compiling guide, I am currently stuck at step of " Build and
> test the Charm++/Converse library (MPI version) ".
>
> env MPICXX=mpicxx ./build charm++ mpi-linux-x86_64 --with-production
>
>
> But it returns with
> ...
> ...
> ...
> Performing '/usr/bin/gmake charm++ OPTS=-optimize -production QUIET=' in
> mpi-linux-x86_64/tmp
> ../bin/charmc -seq -o sockRoutines-seq.o sockRoutines.c
> Catastrophic error: could not set locale "" to allow processing of multibyte
> characters
>
> compilation aborted for sockRoutines.c (code 4)
> Fatal Error by charmc in directory
> /share/apps/NAMD_2.9_Source/charm-6.4.0/mpi-linux-x86_64/tmp
> Command mpicc -DCMK_GFORTRAN -DCMK_SEQUENTIAL=1 -I../bin/../include
> -D__CHARMC__=1 -fno-stack-protector -c sockRoutines.c -o sockRoutines-seq.o
> returned error code 4
> charmc exiting...
>
> I will greatly appreciate if problem could be located. Any further
> information could be provided upon further request. Please feel free to
> reply on email mcfc1301_at_gmail.com

try disabling native language and extended character set support.
most of the time, this achieved by globally setting the environment
variable LC_ALL to C,
e.g. with export LC_ALL=C

axel.

> Thanks!

-- 
Dr. Axel Kohlmeyer  akohlmey_at_gmail.com  http://goo.gl/1wk0
International Centre for Theoretical Physics, Trieste. Italy.

This archive was generated by hypermail 2.1.6 : Wed Dec 31 2014 - 23:21:55 CST