[MMTK] netcdf problems.. please help!

Mettu, Ramgopal rmettu at tulane.edu
Tue Mar 19 18:56:09 UTC 2013


Hi All,
  I'm installing Scientific and MMTK on an Ubuntu Linux machine, and have installed the dependencies successfully (the netcdf libraries appear to be where they are supposed to). I was unable to import Scientific.IO.NetCDF, until I set my PYTHON_PATH to /usr/local/lib/python2.7/dist-packages/. Then, I tried to install MMTK but I'm getting stuck on the following error:

building 'MMTK_DCD' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/Src
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DLIBM_HAS_ERFC -D_LONG64_ -DEXTENDED_TYPES -IInclude -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c Src/MMTK_DCD.c -o build/temp.linux-x86_64-2.7/Src/MMTK_DCD.o -DUSE_NETCDF_H_FROM_SCIENTIFIC=1 -DNUMPY=1
In file included from Src/MMTK_DCD.c:9:0:
Include/MMTK/trajectory.h:15:32: fatal error: Scientific/netcdf.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
mettu at jellyroll:~/MMTK-2.6.1$ 

Is this another path issue? Please help!

--
Ramgopal Mettu
Associate Professor
Department of Computer Science
Tulane University
Web: www.cs.tulane.edu/~ram
Phone: 504-865-5804





More information about the mmtk mailing list