fix bond/create with GPU build

Hello,

I have compiled LAMMPS-10Aug2015 with GPU support, and I want to perform cross-linking by using “fix bond/create”. However, I get the following error at the “fix bond/create” input script line with the GPU build: ERROR: Unknown fix style (…/modify.cpp:782).

I have performed identical simulations with other recent (non-GPU) builds of LAMMPS, and the fix is recognized and executed properly. Also, the GPU build seems to do just fine with input scripts that do not contain this “fix bond/create” command. Any ideas as to why this might be happening? Thank you for your time.

Assuming you are speaking of the GPU package, it adds GPU versions

of many pair styles (and PPPM). But it has nothing to do with fixes.

I can’t think of any reason a build of LAMMPS with the GPU package

would exclude some fix.

You can type lmp_machine -h to see the list of fixes that exe knows

about. Can you show a build sequence where building w/ or w/out the

GPU package includes/excludes fix bond/create?

Steve

Hello,

I have compiled LAMMPS-10Aug2015 with GPU support, and I want to perform
cross-linking by using "fix bond/create". However, I get the following
error at the "fix bond/create" input script line with the GPU build: ERROR:
Unknown fix style (../modify.cpp:782).

I have performed identical simulations with other recent (non-GPU) builds
of LAMMPS, and the fix is recognized and executed properly. Also, the GPU
build seems to do just fine with input scripts that do not contain this
"fix bond/create" command. Any ideas as to why this might be happening?
Thank you for your time.

​the most likely explanation is that your GPU build​ doesn't include the MC
package, whereas the non-GPU build includes it. fix bond/create is an
optional component and such components will not be included in an
executable unless the corresponding package is installed prior to
compilation.

axel.

After building 2 versions of LAMMPS, one with a gpu package and one without, I realize the included/excluded packages are consistent across both versions. MC is not automatically included, but after I added it, the GPU version is working just fine. Thank you for your feedback.