Error with store_force_contact in wall/gran and compiling Liggghts

Submitted by FelipeL on Fri, 09/08/2017 - 17:44

Hi all!

I´m trying to store the forces between particles-wall colision but when i add this line "fix granwalls all wall/gran model hertz tangential history mesh n_meshes 1 meshes cad1 store_force_contact yes" to my scritpt, i get the following message error:

Invalid fix style: "contactproperty/atom/wall" (../modify.cpp:820)

I´m using Version LIGGGHTS-PUBLIC 3.3.0. Im not sure if that its the problem, so I tried to upgrade LIGGGHTS to a recent version but when i use "make clean-all" ----> "make fedora" i get the following message error:

felipe@Ing-5:~/Escritorio/LIGGGHTS-PUBLIC-master/src$ make clean-all
rm -rf Obj_* *.a *.so MAKE/Makefile.auto.options* lmp_*
felipe@Ing-5:~/Escritorio/LIGGGHTS-PUBLIC-master/src$ make fedora
make: *** [fedora] Error 1

When i compile older versions, i dont have any problems compiling with "make clean-all" and "make fedora"

Any suggestion will be greatly appreciated and I'm sure it will be considered.

Have a nice day,

Felipe.

medvedeg | Mon, 09/11/2017 - 11:12

Hallo FelipeL,

all these makefiles like "Makefile.fedora", "Makefile.ubuntu_VTK", etc. are no longer supported by us and will be depricated. But you can still find them in src/MAKE/depricated. If you copy Makefile.fedora to src/MAKE that you can still compile the code as before.
For future, please use "Makefile.auto" and compile the code with "make auto". It must automatically detect the enviroment and setup correct paths. For editing paths manually, please edit Makefile.user that is read by Makefile.auto.

Alexander Podlozhnyuk