Skip to Content.
Sympa Menu

charm - Re: [charm] CHARM 6.1.3 - error compiling isomalloc.c

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] CHARM 6.1.3 - error compiling isomalloc.c


Chronological Thread 
  • From: Gengbin Zheng <zhenggb AT gmail.com>
  • To: Shan-ho Tsai <tsai AT hal.physast.uga.edu>
  • Cc: charm AT cs.uiuc.edu
  • Subject: Re: [charm] CHARM 6.1.3 - error compiling isomalloc.c
  • Date: Tue, 16 Feb 2010 13:45:22 -0600
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>


MAP_ANON (as the first the error below) is tested by charm++'s autoconfig.
I suspect your build directory is not in a clean state. Try build charm++ from scratch and see if the problem goes away (basically, just remove directory mpi-linux-x86_64).

Gengbin



On Mon, Feb 8, 2010 at 10:58 AM, Shan-ho Tsai <tsai AT hal.physast.uga.edu> wrote:

Dear CHARM developers,

I am trying to build CHARM 6.1.3, which is included in
the NAMD 2.7b2 source tarball, on a Linux RHEL4.8 machine
with IB. I compiled it successfully using MVAPICH2 1.2
(built with gcc/g++ 3.4.6). However, now I am trying to
build it using MVAPICH2 1.4 (also built with gcc/g++ 3.4.6)
and I am getting an error in the compilation of
src/conv-core/isomalloc.c

The error is

../bin/charmc  -O3 -nobs -c -I. isomalloc.c
isomalloc.c: In function `call_mmap':
isomalloc.c:1526: error: `MAP_ANON' undeclared (first use in this
function)
isomalloc.c:1526: error: (Each undeclared identifier is reported only once
isomalloc.c:1526: error: for each function it appears in.)
Fatal Error by charmc in directory
/usr/local/NAMD_2.7b2_Source_mvapich2-1.4_gcc/charm-6.1.3/mpi-linux-x86_64/tmp
   Command /usr/local/mvapich2-1.4_gcc346/bin/mpicc -m64 -fPIC
-I../bin/../include -D__CHARMC__=1 -I. -O3
-I/usr/local/mvapich2-1.4_gcc346/include -c isomalloc.c -o isomalloc.o
returned error code 1
charmc exiting...
gmake: *** [isomalloc.o] Error 1

Not sure why I am getting this error now and not when I compiled
with the older version of MVAPICH2. I am a bit puzzled as I am using
the same underlying compiler gcc/g++ 3.4.6 in both cases.

Any suggestions what is causing this error and how I can get it
resolved?

Thank you very much.
Shan-Ho Tsai

-----------------------------------------------------------
Shan-Ho Tsai
RCC - University of Georgia, Athens, GA 30602, USA
Phone (706) 542 6222
Email: shtsai AT uga.edu

_______________________________________________
charm mailing list
charm AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/charm






Archive powered by MHonArc 2.6.16.

Top of Page