Re: [AMBER] amber tools reading netcdf files

From: Chris Moth <chris.moth.vanderbilt.edu>
Date: Tue, 24 Feb 2009 11:35:22 -0600

Clearly you have compiled ptraj with the right parameters, as you note
you can output netcdf and look at headers with ncdump.

At the surface, it would appear ptraj simply cannot open the file (see
ptraj.c source code for this error).

Is there any chance you are running ptraj from a script which is
transferring to an alternate directory, or using an alternate userid?

It would be nice if errors like this were also accompanied by OS error
reporting. You might alter ptraj.c to print the Operating System
"errno" value (see man pages for strerror/perror/errno) when opening files.

Jeremy Harris wrote:
> Hello
>
> I have a problem reading netcdf files in ptraj. Trajin does not seem to
> recognize the format, and gives me this output:
>
> PTRAJ: trajin ex.cdf
> Checking coordinates: ex.cdf
> trajin ex.cdf ignored; could not open file (ex.cdf)
>
> This seems odd because I can make netcdf files with ptraj (trajout ex.cdf
> netcdf), and ncdump will output the correct parameters for this file. Am I
> missing a library or was I during installation?
>
> Thanks in advance,
> Jeremy Harris
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
>


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Feb 25 2009 - 01:21:14 PST
Custom Search