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: Gengbin Zheng <zhenggb AT gmail.com>
  • To: Lai zaizhi <laizaizhi AT gmail.com>
  • Cc: charm AT cs.uiuc.edu
  • Subject: Re: [charm] the problemcompile NAMD
  • Date: Mon, 22 Mar 2010 11:04:21 -0500
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

this is what is in your charmconfig.out file:

#include <stdio.h>
void foo(void) {
printf("Hello, world!\n");
}
g++ -fPIC -m64 -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
test.cpp:1: sorry, unimplemented: 64-bit mode not compiled in


So, looks like your machine is 32 bit. Build charm 32 bit instead:
./build charm++ net-linux ...

Gengbin

On Mon, Mar 22, 2010 at 10:59 AM, Lai zaizhi
<laizaizhi AT gmail.com>
wrote:
> hi, zheng, please check the attachment. THANKS!
>
> 2010/3/22 Gengbin Zheng
> <zhenggb AT gmail.com>
>>
>> charmconfig.out file under directory charm/net-linux-x86_64/tmp
>> contains the error output.
>> Send to us that file if you can not figure out what is in it.
>>
>> Gengbin
>>
>>
>> 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
>> >
>> >
>
>
>
> --
> Best wishes,
> Zai-Zhi Lai
>





Archive powered by MHonArc 2.6.16.

Top of Page