回复: add potential

I re-compile on Linux system by “make serial” and this is the output05CF2A1A@...6026....jpg,then I type “lmp_serial -h” to check the available pair styles, this is the screenshot721FA97C@...6026....jpg, I still cann’t use the new pair style, my LAMMPS is 10Aug15 version, is mymorse listed in your Pair styles? So what can be wrong with my procedure?

Thank you for your help
Best wishes,
Michelle

D8D6BE42@...6027....jpg

I re-compile on Linux system by "make serial" and this is the output,then
I type "lmp_serial -h" to check the available pair styles, this is the
screenshot, I still cann't use the new pair style, my LAMMPS is 10Aug15
version, is mymorse listed in your Pair styles? So what can be wrong with
my procedure?

then you type "lmp_serial" you pick up the executable that is listed in
$PATH, not in the current directory. this is where linux/unix behavior
differs from dos/windows (and for a very, very good reason). you can verify
this with "which lmp_serial". try "./lmp_serial -h"​ instead (in the src
directory).
you probably want to remove/overwrite the other lammps executable.

​axel.​

05CF2A1A@...6026....jpg

721FA97C@...6026....jpg

D8D6BE42@...6027....jpg