AMBER Archive (2003)

Subject: Re: AMBER: Compiling AMBER7 on Suse

From: Bill Ross (ross_at_cgl.ucsf.edu)
Date: Tue Nov 18 2003 - 12:27:25 CST


> _connrg_.f: In subroutine `torccs':
> _connrg_.f:852: internal compiler error: in get_loop_body, at cfgloop.c:1026
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.suse.de/feedback> for instructions.
>
> Have anyone had such a problem?? It is beyond my programming skills...
> I would appreciate any help.

It is a compiler bug, so aside from reporting it to the indicated
URL, the best you can do is switch compilers or start changing the
code to make logically equivalent alternatives that might not trip
the bug. For the latter you would have to generate _connrg_.f:

% cat connrg.f | cpp -traditional -P -DNOEWALD -DLinux -DHAS_10_12 > _connrg_.f

and see what's happening at line 852, then modify connrg.f - I
see that line is a label for the end of an outer loop and that there
is a goto to it contained within an inner loop:

     * THEN
                     NTORCC = NTORCC + 1
                     ITORCC(1,NTORCC) = (IP(I)/3) + 1
                     ITORCC(2,NTORCC) = (ABS(LP(I))/3) + 1
                     GO TO 10 <<*****************************************
                 END IF
              END IF
   30 CONTINUE
C
   10 CONTINUE

Replacing the goto with an equivalent construction might
avoid the compiler bug.

Bill Ross

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