RE: AMBER: problems with mdcrd

From: Ross Walker <ross.rosswalker.co.uk>
Date: Thu, 8 Jul 2004 10:32:04 -0700

Dear Carsten

> PTRAJ: trajin md.prod.mdcrd
> Checking coordinates: md.prod.mdcrd
>
> Could not open file (md.prod.mdcrd) with mode (r)
> WARNING in checkCoordinates(): Could not open file (md.prod.mdcrd)
> WARNING in ptrajSetupIO(): trajin md.prod.mdcrd, cannot open file...

This error is triggered by the following piece of code in ptraj.c

if ( openFile(&fp, filename, "r") == 0 ) {
    fprintf(stdout,
            "WARNING in checkCoordinates(): Could not open file (%s)\n",
filename);
    return NULL;
  }

>From this code it should be obvious that all this is trying to do is open
the file. It has not actually done any IO on the file at this point. This
means that the problem is with the file being accessed and NOT with its
contents. Are you certain you have the filename correct (including case?) Do
you have read permission to the file? Can you open it in something else like
'vi'?

Also are you sure no other process currently has a lock on this file? You
could try copying the file to a new file and then using this new file:

cp md.prod.mdcrd md.prod.mdcrdnew
diff md.prod.mdcrd md.prod.mdcrdnew

If the file is on a network drive try copying it to a local drive. Also,
what is the size of this file? Is it bigger than 2GB? If it is this will
cause you problems on a 32bit machine.

Then try using md.prod.mdcrdnew instead.

If this still doesn't work then I would check you log files to see if there
are any reports of read errors etc.

All the best
Ross

/\
\/
|\oss Walker

| Department of Molecular Biology TPC15 |
| The Scripps Research Institute |
| Tel:- +1 858 784 8889 | EMail:- ross.rosswalker.co.uk |
| http://www.rosswalker.co.uk/ | PGP Key available on request |

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Thu Jul 08 2004 - 18:53:00 PDT
Custom Search