Re: AMBER: seg fault error in resp

From: Kateryna Miroshnychenko <>
Date: Thu, 27 Oct 2005 17:14:24 +0300

>> Check carefully, the number of sections in your input,...
> If you have any programming skills, you could also try compiling resp
> with the debug flag (-g) set and find where it is coredumping and fix
> the bug.. input may be bad, but ideally the program should tell what
> the problem is rather than trip over itself.

Thanks all for trying help me. Input was OK. I just forgot to increase
also maxmol (besides maxq) in resp.f. The default maxmol was 30 and it was not enough
in my case. After I've increased it to 100, all works fine :))
May be it is worth to add something like following in SUBROUTINE mult_mol:

c trap for too many molecules
         if( nmol .gt. maxmol) then
     . ' ERROR: too many molecules', nmol,
     . ' Maximum allowed: ', maxmol
           call mexit(6, 1)

 Kateryna Miroshnychenko
post-graduate student
Department of Biological Physics,
Institute of Radiophysics and Electronics,
National Academy of Sciences of Ukraine,
Kharkiv, Ukraine

The AMBER Mail Reflector
To post, send mail to
To unsubscribe, send "unsubscribe amber" to
Received on Thu Oct 27 2005 - 15:53:00 PDT
Custom Search