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: Richard Berger <richard.berger@...4215...>
Date: Mon, 25 Sep 2017 19:06:37 +0000

In addition to your normal compile, did you compile LAMMPS as shared library and did you install the package?


From: Dr. Xiaofeng Duan <duanx.ctr@...7032...>
Sent: Tuesday, August 1, 2017 12:19
Subject: [lammps-users] LAMMPS Python Error

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 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:
         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.



Check out the vibrant tech community on one of the world's most
engaging tech sites,!
lammps-users mailing list