[AMBER] Problems compiling pmemd.cuda - undefined reference to ...

From: Adam Jion <adamjion.yahoo.com>
Date: Fri, 23 Mar 2012 07:15:28 -0700 (PDT)


I have problems compiling pmemd.cuda.
Everything works find till the 'make cuda' command.
The error messages that I get are mostly about 'undefined references to...'
Below are the last few lines of the error message.

Anybody able to help,


70): undefined reference to `cudaUnbindTexture'
./cuda/cuda.a(kPMEInterpolation.o): In function `kPMEReduceChargeGridBuffer':
tmpxft_000027a9_00000000-4_kPMEInterpolation.compute_13.cudafe1.cpp:(.text+0x16db): undefined reference to `cudaThreadSynchronize'
./cuda/cuda.a(kPMEInterpolation.o): In function `kPMEClearChargeGridBuffer':
tmpxft_000027a9_00000000-4_kPMEInterpolation.compute_13.cudafe1.cpp:(.text+0x182d): undefined reference to `cudaThreadSynchronize'
./cuda/cuda.a(kPMEInterpolation.o):(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
make[2]: *** [pmemd.cuda] Error 1
make[2]: Leaving directory `/home/adam/amber11/src/pmemd/src'
make[1]: *** [cuda] Error 2
make[1]: Leaving directory `/home/adam/amber11/src/pmemd'
make: *** [cuda] Error 2
AMBER mailing list
Received on Fri Mar 23 2012 - 07:30:03 PDT
Custom Search