I've downloaded the 8-Jan13 version of LAMMPS tar-ball from the official website and I downloaded the Makefile.ubuntu
file from the a website/tutorial (http://katter-world.blogspot.hk/2010/05/install-lammps-on-ubuntu.html)
After executing make ubuntu
it created the Obj_ubuntu/
folder. I believe I've successfully been able to install it as I've been able to run commands. Even the mpiexec -np 2 lmp_ubuntu
command.
However, I've had very little luck in wrapping Python around it. I've followed several tutorials and I've tried different combinations (after executing make clean-all
) such as:
make makeshlib
make -f Makefile.shlib ubuntu/g++/serial
(I've also executed the command without the-f
argument, but I get the error
make1: *** No rule to make target `shlib'. Stop.
I've got an error in most of the things I've tried and obviously in Python I get the following error:
OSError: Could not load LAMMPS dynamic library