|From:||Victor Koppejan - TNW <V.W.Koppejan@...1427...>|
|Date:||Sat, 2 Sep 2017 09:03:21 +0000|
Yep that's indeed the problem, in my first mail lammps found an old shared lib based on vanilla lammps. Installind the lammps python bindings in a clean anaconda env gave the error that the shared lib wasn't found.
As a quick fix I prepended my LD_LIBRARY_PATH with the lammps src folder. Would be nicer to add the shared lib to the anaconda env. Not sure how to do that right now.
From: Axel Kohlmeyer [akohlmey@...24...]
Sent: Thursday, August 31, 2017 7:10 PM
To: Victor Koppejan - TNW
Subject: Re: [lammps-users] custom fix and pairstyle give error when called from python
On Thu, Aug 31, 2017 at 12:00 PM, Victor Koppejan - TNW <V.W.Koppejan@...1427...> wrote:
this is very unlikely to be a bug.
you can cross-check which library object and LAMMPS version was picked up and which styles they contain through the "info" command.
so do a lmp.command("info all") and see what your python module picked up.