AMBER Archive (2005)

Subject: RE: AMBER: problem with protein minimization

From: Ross Walker (ross_at_rosswalker.co.uk)
Date: Tue Feb 22 2005 - 10:47:56 CST


Dear Yen,

> I tried increasing the MAX_ISTACK value in sizes.h and
> the numbers in the error message also changed. but as
> i increase the value of MAX_ISTACK beyond 30000000 and
> MAXINT beyond 50000000, there is segmentation fault in
> the sander. Is there some limit set for these
> parameters in amber7. I also want to know that whether
> there is a way in which memory can be allocated
> dynamically.

This is typically a compiler limit and as far as I can tell there is not
much you can do. You could try reducing some of the other parameters such as
Max real as these probably do not need to be as large as you have them and
may allow you to make max istack bigger, or try a different compiler.
Typically I have found Intel's ifort allows larger static arrays than g77.
Unfortunately there is no easy way to dynamically adjust these values. This
is a left over from the days of Fortran 77 which didn't support dynamic
memory allocation.

Note: Amber8 sander is now Fortran 90 and uses dynamic memory allocation in
place of static sizes.

All the best
Ross

/\
\/
|\oss Walker

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

Note: Electronic Mail is not secure, has no guarantee of delivery, may not
be read every day, and should not be used for urgent or sensitive issues.
 

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