jinruixu at umich.edu
Mon Dec 3 17:36:56 UTC 2012
New problems about installation appear when I call " from MMTK.Dynamics
import VelocityVerletIntegrator, Heater". The error message is listed
below. The key line is "MMTK.Utility.MMTKError: Trajectories are not
available because the netCDF module is missing."
I simply installed netcdf-4.1.3. by such commands: ./configure
--enable-shared --disable-netcdf-4; make check install; and there was no
>>> from MMTK import *
>>> from MMTK.Dynamics import VelocityVerletIntegrator, Heater
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.6/site-packages/MMTK/Dynamics.py", line 12, in
from MMTK import Environment, Features, Trajectory, Units
File "/usr/lib64/python2.6/site-packages/MMTK/Trajectory.py", line 23, in
"because the netCDF module is missing.")
MMTK.Utility.MMTKError: Trajectories are not available because the netCDF
module is missing.
On Mon, Dec 3, 2012 at 10:54 AM, Jinrui Xu <jinruixu at umich.edu> wrote:
> Thanks to everyone! I installed numpy devel and Problem solved.
> Sent from my iPhone
> On Dec 3, 2012, at 9:54 AM, Peter <peter at maubp.freeserve.co.uk> wrote:
> > On Mon, Dec 3, 2012 at 1:31 PM, Jinrui Xu <jinruixu at umich.edu> wrote:
> >> Hello Honrad,
> >> You were right. Scientificpython gives the same error:
> >> Src/Scientific_netcdf.c:14:31: error: numpy/arrayobject.h: No such file
> >> directory.
> >> Thanks!
> > How was NumPy installed? If you used a Linux distribution's packages
> > you would also need the numpy development package as well to
> > provide these header files. This would probably be called either
> > python-numpy-devel or python-numpy-dev depending on your OS.
> > Peter
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mmtk