[lammps-users] gpulammps run error: UCL Error: Error compiling PTX Program

Hey guys,

I just successfully build lammps-15Dec10, but when i run a script it’ll show
such error :

[email protected]…2291…:~/LAMMPS/lammps-15Dec10/examples$ ./lmp_g++ < lj_cut.in
LAMMPS (15 Dec 2010)
Lattice spacing in x,y,z = 1.6796 1.6796 1.6796
Created orthogonal box = (0 0 0) to (16.796 16.796 16.796)
1 by 1 by 1 processor grid
Created 4000 atoms

Jason,

Here’s some advice from Mike Brown (CC’d):

CUDA_ARCH = -arch=sm_13

needs to be

CUDA_ARCH = -arch=sm_11

for your card in the lib/gpu Makefile. clean and remake.

If this does not work, we’ll need to see all output from the build - eg:

cd lib/gpu

make -f Makefile.linux clean

make -f Makefile.linux >& makelog.txt

Paul