Problems with CUDA Build

From: Christopher Share (christopher_at_vpac.org)
Date: Sun Dec 21 2008 - 23:58:47 CST

Hi,

I'm trying to build the CUDA version of NAMD (from CVS). I'm getting the following errors:

christopher_at_gpu-nv2 ~/NAMD_CVS/namd2/Linux-amd64-g++ $ make
make: Warning: File `.rootdir/arch/Linux-amd64.fftw' has modification time 2.1e+04 s in the future
g++ -I.rootdir/charm-6.0/net-linux-amd64/include -DCMK_OPTIMIZE=1 -Isrc -Iinc -Iplugins/include -I~/tcl/linux/include -DNAMD_TCL -I~/fftw/linux/include -DNAMD_FFTW -DNAMD_CUDA -I. -I/home/christopher/cuda/include -DNAMD_VERSION=\"2.6\" -DNAMD_PLATFORM=\"Linux-amd64\" -DREMOVE_PROXYRESULTMSG_EXTRACOPY -O3 -m64 -fexpensive-optimizations -ffast-math -o obj/ComputeNonbondedCUDA.o -c src/ComputeNonbondedCUDA.C
In file included from src/ComputeNonbondedCUDA.C:12:
src/ComputeNonbondedCUDAKernel.h:7:17: warning: extra tokens at end of #undef directive
src/ComputeNonbondedCUDA.C: In member function ‘virtual void ComputeNonbondedCUDA::doWork()’:
src/ComputeNonbondedCUDA.C:547: error: ‘const struct CompAtom’ has no member named ‘atomFixed’
src/ComputeNonbondedCUDA.C:572: warning: converting to ‘int’ from ‘double’
src/ComputeNonbondedCUDA.C:656: error: ‘const struct CompAtom’ has no member named ‘atomFixed’
src/ComputeNonbondedCUDA.C:657: error: ‘const struct CompAtom’ has no member named ‘id’
src/ComputeNonbondedCUDA.C:658: error: ‘const struct CompAtom’ has no member named ‘id’
src/ComputeNonbondedCUDA.C:659: error: ‘const struct CompAtom’ has no member named ‘id’
src/ComputeNonbondedCUDA.C:660: error: ‘const struct CompAtom’ has no member named ‘id’
src/ComputeNonbondedCUDA.C:670: error: ‘const struct CompAtom’ has no member named ‘atomFixed’
src/ComputeNonbondedCUDA.C:671: error: ‘const struct CompAtom’ has no member named ‘id’
src/ComputeNonbondedCUDA.C:672: error: ‘const struct CompAtom’ has no member named ‘id’
src/ComputeNonbondedCUDA.C:673: error: ‘const struct CompAtom’ has no member named ‘id’
src/ComputeNonbondedCUDA.C:674: error: ‘const struct CompAtom’ has no member named ‘id’
src/ComputeNonbondedCUDA.C:688: error: ‘const struct CompAtom’ has no member named ‘atomFixed’
src/ComputeNonbondedCUDA.C:697: error: ‘const struct CompAtom’ has no member named ‘atomFixed’
src/ComputeNonbondedCUDA.C: In member function ‘int ComputeNonbondedCUDA::finishWork()’:
src/ComputeNonbondedCUDA.C:771: error: ‘const struct CompAtom’ has no member named ‘atomFixed’
src/ComputeNonbondedCUDA.C:775: warning: converting to ‘long long int’ from ‘float’
src/ComputeNonbondedCUDA.C:784: error: ‘const struct CompAtom’ has no member named ‘atomFixed’
src/ComputeNonbondedCUDA.C:785: error: ‘const struct CompAtom’ has no member named ‘id’
src/ComputeNonbondedCUDA.C:788: error: ‘const struct CompAtom’ has no member named ‘id’
make: *** [obj/ComputeNonbondedCUDA.o] Error 1

Any help with this would be very much appreciated.

Thanks in advance,

Chris

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:48:51 CST