LIGGGHTS® - Developer Forum

Topics related to developing with LIGGGHTS® can be discussed here: discussion about implementation details, C++, MPI and debugging tools

can not run liggghts 3.8.0 by "make auto"

Submitted by daydayup99 on Tue, 03/17/2026 - 08:24

When running liggghts 3.8.0 on Ubuntu version 22.04.5, I entered the command "make auto" to generate the lmp_auto executable file
Error reminders keep appearing:

>>> WARNING <<<
Created MAKE/Makefile.user for the first time. Please check that the options in that file are set correctly.

Makefile:499: *** 'Could not compile and link a simple MPI example. Test was done with MPI_LIB='。 停止。
make[1]: 离开目录“/home/zhanghuixin/LIGGGHTS-PUBLIC-3.8.0/src/Obj_auto”
make: *** [Makefile:114:auto] 错误 2

AtomVecSuperquadric::pack_border_hybrid is not implemented yet (../atom_vec_superquadric.cpp:720)

Submitted by hemalchowdhurym... on Mon, 11/25/2024 - 17:56

Hello. I am working on the effect of magnetic force on the particle compaction process. I am using the following Github repository for the implementation of magnetic force:TJLeps/LIGGGHTSwMAGNETICS: official release of the LIGGGHTS® DEM software, by DCS Computing GmbH. For further info, forums, and bug reports, please visit which takes into account the mutual dipole interaction of the particles. In my simulation, I am using superquadric particles. The case runs okay in a single processor, but it does not run in multiple processors.

particle IDs

Submitted by hamedhoori on Wed, 11/20/2024 - 22:53

Hi,
I need help understanding how the fix commands work. Specifically, when you assign a value to a fix variable of a particle, should the index of the particle be its global ID (tag) or local ID (index in the code)? For example:

...
double *heatSource = fix_heatSource->vector_atom;
heatSource[i] = ...;
...

In this case, I need to know if i refers to the global ID or the local index, and whether it starts from 0 or 1. I couldn't find this and need to know to be sure about my algorithm.

How to calculate fabric tensor in Liggghts?

Submitted by jianjianaixuexi on Wed, 09/18/2024 - 13:25

I am a beginner in using LIGGGHTS and I am currently working on calculating the fabric tensor for my simulations. I noticed that LAMMPS has a dedicated compute fabric command for this purpose (https://docs.lammps.org/compute_fabric.html). However, it seems that LIGGGHTS does not have a similar command.

Could anyone please advise on how to calculate the fabric tensor in LIGGGHTS? Are there specific procedures or workarounds available for this?

Thank you in advance for your assistance.

Modeling Viscosity Rate

Submitted by Aiden on Sun, 04/14/2024 - 08:12

Hello everyone,

I have a question about the problem statement I'm currently working on.
I'm trying to model polymer curing respect to time. Thus, viscosity has to change with time.

Is there a way to put time-dependent viscosity or have viscosity change over time?

So far, I just defined viscosity using 'dragfoce' command using Schiller_Naumann viscosity 0.05.

Any help would be appreciate.

Thanks in advanced!

Pages

Subscribe to RSS - LIGGGHTS® - Developer Forum