Re: compile NAMD on Intel-64

From: Ilya Chorny (ichorny_at_gmail.com)
Date: Mon Jul 02 2007 - 10:41:17 CDT

Based on the error it looks like a decleration in traceCore.h conflicts with
decleration in traceCoreAPI.h. Maybe comment out one of the declerations.

Ilya

On 7/2/07, Wei Liu <wei.liu_at_biosci.ki.se> wrote:
>
> Dear NAMD community,
>
> I am trying to compile NAMD on a computer with 4 Intel 64bit, 2.33GhzCPUs. I used the following command to build the Charm++/Converse library,
>
> ./build charm++ net-linux-amd64 -O -DCMK_OPTIMIZE
>
> and got the errors like the following
>
> traceCore.h:20: error: previous declaration of nt Cpv__traceCoreOn_ [2]
> with C++ linkage
> traceCoreAPI.h:8: error: conflicts with new declaration with C linkage
> Fatal Error by charmc in directory
> /applic/xray/namd_64/NAMD_2.6_Source/charm-5.9/net-linux-amd64/tmp
> Command g++ -fPIC -m64 -I../bin/../include -D__CHARMC__=1 -I. -O -c
> traceCore.C -o traceCore.o returned error code 1
> charmc exiting...
> gmake[2]: *** [traceCore.o] Error 1
> gmake[2]: Leaving directory
> `/nfs/applic/xray/namd_64/NAMD_2.6_Source/charm-5.9/net-linux-amd64/tmp'
> gmake[1]: *** [converse] Error 2
> gmake[1]: Leaving directory
> `/nfs/applic/xray/namd_64/NAMD_2.6_Source/charm-5.9/net-linux-amd64/tmp'
> gmake: *** [charm++] Error 2
> -------------------------------------------------
> Charm++ NOT BUILT. Either cd into net-linux-amd64/tmp and try
>
> Could anybody tell me the correct the command to build Charm++ libray
> Intel 64bit computers?
>
> Thanks in advance
>
> Wei
>

-- 
Ilya Chorny Ph.D.

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:44:54 CST