Re: [AMBER] extract velocity from traj files

From: Jason Swails <jason.swails.gmail.com>
Date: Thu, 13 Dec 2012 07:54:43 -0500

On Thu, Dec 13, 2012 at 4:08 AM, Vijay Manickam Achari <vjrajamany.yahoo.com
> wrote:

> I would like to extract velocity from trajectory files.
> I have used ntwv = -1 and ioutfm = 1 in the input parameter file.
>
> According to AMBER mailing list (
> http://archive.ambermd.org/201011/0255.html), I installed
> python-scientific in Ubuntu-11.10
> and tried to execute the script. But It failed to run.
>
> The output is as below:
>
> [vijay.glycogpu extract-vel]$ python extractvel.py
> Traceback (most recent call last):
> File "extractvel.py", line 1, in <module>
> from Scientific.IO.NetCDF import NetCDFFile as Dataset
> ImportError: No module named Scientific.IO.NetCDF
> [vijay.glycogpu extract-vel]$
>
>
> Is there anything additional things need to be done?
> Please advice.
>

On my Ubuntu system (12.04), after installing python-scientific,
Scientific.IO.NetCDF.NetCDFFile could be imported without any problems (and
the likelihood that 11.10 is broken in this regard is very low). My guess
is one of two things happened: you have another (non-system) python (type
'which python' to make sure that it returns /usr/bin/python) that is being
invoked by default -- this 'other' python would not have the Scientific
package. Or, python-scientific did not install properly. Note the
difference between scipy and ScientificPython -- they are distinct packages
that do different things.

Good luck,
Jason

-- 
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Candidate
352-392-4032
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Dec 13 2012 - 05:00:03 PST
Custom Search