AMBER Archive (2005)

Subject: Re: AMBER: Fail to load the trajectory file.

From: Thomas E. Cheatham, III (cheatham_at_chpc.utah.edu)
Date: Mon Apr 11 2005 - 21:08:11 CDT


> I have problem while I use ptraj to load the trajectory file
> hd5_wat.md.crd. The output is given below. It is supposed that the file
> is too large (about 2GB). I would like to know can I treat this file by
> ptraj. Or can I split it into several smaller files? Thanks.

If it is bigger than 2GB and you are on a Linux system, try recompiling
with:

 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE

If using amber8 or above, modify config.h to add this to CFLAGS and
LOADPTRAJ. If using a ptraj off the WWW, modify the Makefile. Otherwise
you will have to figure out how to enable large file support for your
particular compiler/OS. Generally, in my experience this has usually
worked for me (thanks to advice from John Mongan, computer wiz
extrodinaire).

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu