Skip to Content.
Sympa Menu

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

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] CHARM 6.1.3 - error compiling isomalloc.c


Chronological Thread 
  • From: Shan-ho Tsai <tsai AT hal.physast.uga.edu>
  • To: charm AT cs.uiuc.edu
  • Subject: [charm] CHARM 6.1.3 - error compiling isomalloc.c
  • Date: Mon, 8 Feb 2010 11:58:57 -0500 (EST)
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>


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





Archive powered by MHonArc 2.6.16.

Top of Page