Re: [AMBER] Could not open mdcrd file with mode (r)

From: Jason Swails <jason.swails.gmail.com>
Date: Tue, 25 Sep 2012 07:24:20 -0400

On Tue, Sep 25, 2012 at 4:31 AM, Zalikha Ibrahim
<zalikha.ibrahim.yahoo.com>wrote:

> Hi Bill,
>
> Checked the directory, and it is drwxrwxr-x
> It successfully read the prmtop, but not the mdcrd.
>
> The msg printed is as below:
>
> PTRAJ: trajin prod.mdcrd
> Checking coordinates: prod.mdcrd
>
> Could not open file (prod.mdcrd) with mode (r)
> WARNING in checkCoordinates(): Could not open file (prod.mdcrd)
> WARNING in ptrajSetupIO(): trajin prod.mdcrd, cannot open file...
>
> PTRAJ: rms first mass out prod_rmsd.out .N, CA, C
> Mask [.N,] represents 663 atoms
> WARNING in ptraj(): No input trajectories specified (trajin), aborting...
>
> is that because the file is too large?
>

That should have no bearing on it. I'm sure people have read in files much
larger. What happens if you try to look at the head of that file, what
happens?

head prod.mdcrd

If it is a NetCDF file, try using ncdump instead:

ncdump prod.mdcrd | head

If permission is still denied, then it's not an Amber error and we're
limited in our ability to help.

If it works (i.e., you get output), then it may be an Amber error, in which
case, try using cpptraj instead to see if the error goes away.

HTH,
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 Tue Sep 25 2012 - 04:30:02 PDT
Custom Search