[MMTK] question about Langevin module
jak at biogeo.uw.edu.pl
Tue Dec 13 18:04:34 CET 2005
Python can import either *.py files or shared libraries (that is files
with the extension *.so). Thus extensions written in C you have to
compile to make them available to python. Follow the instructions in
README file in Examples/LangevinDynamics directory. However note, that
recent python version do not come with Makefile.pre.in file that is used
in the compile.py script in stable version and compilation fails with:
IOError: Makefile.pre.in not found; check the Python installation
This has been fixed in latest development release,
On Tue, 13 Dec 2005, Hye won Kang wrote:
> I am kind of new in mmtk. I was trying to use langevinDynamics.py and
> langevinmodule.c(as it is written). I put those files under site-package->
> mmtk, but it was not working. Do I need to put those in other directory
> or need to change the names of program?
> Also, I am wondering if when I implement with C and use it in mmtk,
> whether I need to have C program in python directory.
> Thank you.
> Hye Won Kang
> mmtk maillist - mmtk at starship.python.net
More information about the mmtk