LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
Re: [lammps-users] Cannot use neigh_modify exclude with GPU neighbor builds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lammps-users] Cannot use neigh_modify exclude with GPU neighbor builds

From: Christophe Ortiz <christophe.ortiz@...4080...>
Date: Wed, 05 Jul 2017 11:57:21 +0000

I could solve it with
   package gpu 2 neigh no.
Now the neighbour list is built on the CPU instead of the GPU.

Best regards,

El mié., 5 jul. 2017 a las 12:55, Christophe Ortiz (<christophe.ortiz@...4080...>) escribió:
Dear LAMMPS users,

I have a system in which I define a sphere where events take place. Around this sphere, there are atoms that are supposed to be "frozen". As it is indicated in the user's manual, it is possible, in order to avoid needless calculations, to use group exclude command. This should turn off calculations of pairwise interactions between atoms in the region around the sphere.

To do so I proceeded as follows:

# Definition of the sphere
region spheremin sphere 0. 0. 0. 15.0
group sphere region spheremin

# Definition of group outside sphere
group frozen subtract all sphere

# Command to turn off pairwise interactions between atoms outside sphere
neigh_modify exclude group frozen frozen

However, I got the following error message:
ERROR: Cannot use neigh_modify exclude with GPU neighbor builds (../fix_gpu.cpp:254)

I searched for a solution through the mailing list but did not find anything.
I found some old answers from 2012 but the solution given then seems no longer applicable since commands have changed, in particular, the package gpu command.

Any idea how to solve this?
Many thanks in advance and best regards,