Skip to Content.
Sympa Menu

charm - Re: [charm] the problemcompile NAMD

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] the problemcompile NAMD


Chronological Thread 
  • From: Yanhua Sun <sun51 AT illinois.edu>
  • To: Lai zaizhi <laizaizhi AT gmail.com>
  • Cc: charm AT cs.uiuc.edu
  • Subject: Re: [charm] the problemcompile NAMD
  • Date: Mon, 22 Mar 2010 09:25:50 -0500
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>


It is complaining compiler. 

Do you have g++ compiler in your computer? If so, what version is it?

-Yanhua

On Sun, Mar 21, 2010 at 8:17 PM, Lai zaizhi <laizaizhi AT gmail.com> wrote:

hi,

Today I wanted to compile namd according to the following scripts:

Unpack NAMD and matching Charm++ source code and enter directory:
  tar xzf NAMD_2.7b2_Source.tar.gz
  cd NAMD_2.7b2_Source
  tar xf charm-6.1.3.tar
  cd charm-6.1.3

Build and test the Charm++/Converse library:
  ./build charm++ net-linux-x86_64 --no-build-shared -O -DCMK_OPTIMIZE=1


When I try to process "  ./build charm++ net-linux-x86_64 --no-build-shared -O -DCMK_OPTIMIZE=1", the system complained the following errors:

[lzz@localhost charm-6.1.3]$ ./build charm++ net-linux-x86_64 --no-build-shared -O -DCMK_OPTIMIZE=1
Copying src/scripts/Makefile to net-linux-x86_64/tmp
Soft-linking over bin
Soft-linking over lib
Soft-linking over lib_so
Soft-linking over include
Soft-linking over tmp
Generating net-linux-x86_64/tmp/conv-mach-pre.sh
Performing '/usr/bin/gmake  charm++ OPTS= -O -DCMK_OPTIMIZE=1' in net-linux-x86_64/tmp
/usr/bin/gmake headerlinks
gmake[1]: Entering directory `/home/lzz/projects/2DIR/NAMD_2.7b2_Source/charm-6.1.3/net-linux-x86_64/tmp'
./configure
checking machine name... net-linux-x86_64
checking "C++ compiler as"... "g++ -fPIC -m64  -DCMK_GFORTRAN     -O -DCMK_OPTIMIZE=1 -nobs"
checking "whether C++ compiler works"... "no"
Cannot compile C++ programs with g++ -fPIC -m64  -DCMK_GFORTRAN 
 (check your charm++ version)
gmake[1]: *** [conv-autoconfig.h] Error 1
gmake[1]: Leaving directory `/home/lzz/projects/2DIR/NAMD_2.7b2_Source/charm-6.1.3/net-linux-x86_64/tmp'
gmake: *** [headers] Error 2
-------------------------------------------------
Charm++ NOT BUILT. Either cd into net-linux-x86_64/tmp and try
to resolve the problems yourself, visit
    http://charm.cs.uiuc.edu/
for more information. Otherwise, email the developers at charm AT cs.uiuc.edu

The information of my computer is:

Fedora 11 (Leonidas)
Kernal linux 2.6.30.9-99.fc11.i686.PAE
GNOME 2.26.3

Hardware
Processor 0: intel(R) Core (TM)2 Duo CPU E8400 @ 3.00GHz
processor 1: intel(R) Core (TM)2 Duo CPU E8400 @ 3.00GHz

Would you please give me some help? thanks very much!

Good day!
zaizhi lai




--
Best wishes,
Zai-Zhi Lai

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




--
Yours Sincerely,
Yanhua Sun (Jessie)
Parallel Programming Lab
Department of Computer Science,
University of Illinois at Urbana-Champaign,
201 N. Goodwin Ave.
Urbana, IL 61801



Archive powered by MHonArc 2.6.16.

Top of Page