This is a new MBX user. Recently we have been working on integrating the MBX with the LAMMPS PIMD functionality. We found it worked well while running test tasks, e.g., PIMD simulations for approximately 1 ps with a step size of 0.5 fs. However, when we performed simulations for a longer time, e.g., 100 ps, the task was terminated at around 50 ps, accompanied by an error message saying:
gammq: x = -nan, a = 0.75
lmp_mpi_mbx: potential/electrostatics/gammq.cpp:156: double elec::gammq(double, double): Assertion `x >= 0.0 && a > 0.0' failed.
After checking the source code of MBX, it seemed to me that the problem arose from the expansion of the Gamma function, but I could not diagnose it more clearly. I will appreciate it if you may help me solve the problem.
FYI, the Slurm output file is attached to the email, which includes full error messages.
The LAMMPS version is 29 Aug 2024, and the MBX is updated.
The initial configuration used here was copied from the example folder of MBX:
MBX/plugins/lammps/examples/512h2o/initial.data
Please let me know if you need any other information or files.