Cannot find fix storing granular history

I´m new to LAMMPS and trying to use in.tableting.200 with spheres200.data for an university project**.**

The Tutorials are running completely fine, but when I´m trying to run the above given script with these data an error accures:

ERROR: Cannot find fix storing granular history (src/GRANULAR/fix_granular_mdr.cpp:186)

Is there anyone here, who knows the issue or can help me?

There is simply not enough usable information here to be able to help you. We cannot read minds or what is on remote computers. For example, I have no idea what those two files you mention actually contain, and what particular LAMMPS version you are running on which platform and how compiled.

Please see this post for some guidelines for posting to the forum.

The version i am using is LAMMPS-64-bit-GUI i guess from 4Jul2026.

I am running this on Windows 10.

This is in particular a script, written to visualize and work with molecules within the process of tableting. The data is given.

lammps/examples/granular/in.tableting.200 at develop · lammps/lammps

lammps/examples/granular/spheres200.data at develop · lammps/lammps

You can find both on github with this links.

If I copy the “ in.tableting.200 “ -script und save the “ spheres200.data “ in the same ordner and then try to run LAMMPS it is giving me this error.

In lammps/src/GRANULAR/fix_granular_mdr.cpp at develop · lammps/lammps codeline 186/187 there could be a solution, when i understand the error correctly, but i have no idea what this all means because I am new to all of this and never programmed before. All of the downloads and links to the script was given me by my professor, who did not get a solution by now for my problem, because he can run this without complications.

Do u need any other information?

Please update your version to the latest release and try again.

I checked the commit history and found the following bugfix commit:

  commit 39f69d8a853cb289fa768844cb9aabc4d246fdb5
  Author: Axel Kohlmeyer <[email protected]>
  Date:   Tue Jul 7 03:28:43 2026 -0400
  
      fix granular/mdr: get the granular neighbor history fix from the pair style
      
      Pair style granular registers its neighbor history fix under an id with
      the pair style instance number appended (since the addition of pair
      style surf/granular in c18c911ea7), so the hardcoded lookup of
      "NEIGH_HISTORY_GRANULAR" in FixGranularMDR::setup_pre_force() always
      failed and any input using fix granular/mdr aborted at setup with
      "Cannot find fix storing granular history".  Take the fix pointer from
      the pair style through a new get_fix_history() accessor instead,
      following the existing get_size_history() idiom.  Verified with a
      shortened version of examples/granular/in.tableting.200.