LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
Re: [lammps-users] LAMMPS Python Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lammps-users] LAMMPS Python Error


From: Axel Kohlmeyer <akohlmey@...24...>
Date: Tue, 1 Aug 2017 13:59:46 -0400

please try the latest development version (24 Jul 2017). that one works for me.
there have been some tweaks and improvements to the python support since the last stable release.

axel.


On Tue, Aug 1, 2017 at 12:19 PM, Dr. Xiaofeng Duan <duanx.ctr@...7032...> wrote:
Hello,

I am new to the forum.
To test python in LAMMPS with 31Mar17 version on our SGI ICE X, I ran the sample input, examples/python/in.python with funcs.py. For the first two examples in the input, the test could pass, but it failed in example 3 with following errors:

.......
Total # of neighbors = 155984
Ave neighs/atom = 38.996
Neighbor list builds = 1
Dangerous builds = 0
LOOP ARGS 10 1.0 -4.0 <PyCObject object at 0x2aaac12ee760>
LOOP ARGS 10 1.0 -4.0 <PyCObject object at 0x2aaac0a6e760>
LOOP ARGS 10 1.0 -4.0 <PyCObject object at 0x2aaac0a6e760>
....
....
LOOP ARGS 10 1.0 -4.0 <PyCObject object at 0x2aaac0a6d788>
ERROR on proc 4: Python function evaluation failed (../python.cpp:253)
MPT ERROR: Rank 4(g:4) is aborting with error code 1.
        Process ID: 20215, Host: r13i3n17, Program: /p/home/apps/lammps/lammps-31Mar17/bin/lmp_thunder_g++
        MPT Version: SGI MPT 2.14  06/18/16 03:32:07

MPT: --------stack traceback-------
ERROR on proc 29: Python function evaluation failed (../python.cpp:253)
ERROR on proc 7: Python function evaluation failed (../python.cpp:253)
........

The binary was compiled with g++ 6.2.0 with MPT 2.14. I am not sure what caused the problem and how to fix it. Please advise.

Thanks,

Frank

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
lammps-users mailing list
lammps-users@...655....net
https://lists.sourceforge.net/lists/listinfo/lammps-users



--
Dr. Axel Kohlmeyer  akohlmey@...92......  http://goo.gl/1wk0
College of Science & Technology, Temple University, Philadelphia PA, USA
International Centre for Theoretical Physics, Trieste. Italy.