Re: [AMBER-Developers] pbsa amber compilation error

From: Ben Roberts <roberts.qtp.ufl.edu>
Date: Sat, 31 Oct 2009 20:49:42 -0400

Hi Jason,

I've seen this one before; in my case, I traced it down to a compiler
bug.

Have you tried to compile that file with less rigorous optimisation? I
managed to get it done with -O2 instead of -O3.

On the other hand, a more permanent solution is to download and build an
updated gfortran. What build of gfortran do you have (i.e., gfortran
-v)?

Ben

On Sat, 2009-10-31 at 20:31 -0400, Jason Swails wrote:
> Hello,
>
> I tried compiling a new amber11 checkout, and it failed on the pbsa part of
> amber Makefile.
>
> gnu compilers on Snow Leopard (gcc version 4.2.1, gfortran version 4.5.0).
> I got the following error:
>
> _pb_force.f:1286:0: error: type mismatch in component reference
> real(kind=8)[0:D.2764] * restrict
>
> real(kind=8)[0:D.7772] *
>
> # VUSE <.MEM_173(D)>
> D.5358_39 = CHAIN.410_38(D)->phi;
>
> _pb_force.f:1286:0: error: type mismatch in component reference
> real(kind=8)[0:D.2764] * restrict
>
> real(kind=8)[0:D.7772] *
>
> # VUSE <.MEM_173(D)>
> D.5359_59 = CHAIN.410_38(D)->phi;
>
> _pb_force.f:1286:0: error: type mismatch in component reference
> real(kind=8)[0:D.2764] * restrict
>
> real(kind=8)[0:D.7772] *
>
> # VUSE <.MEM_173(D)>
> D.5360_77 = CHAIN.410_38(D)->phi;
>
> _pb_force.f:1286:0: error: type mismatch in component reference
> real(kind=8)[0:D.2764] * restrict
>
> real(kind=8)[0:D.7772] *
>
> # VUSE <.MEM_173(D)>
> D.5361_96 = CHAIN.410_38(D)->phi;
>
> _pb_force.f:1286:0: error: type mismatch in component reference
> real(kind=8)[0:D.2764] * restrict
>
> real(kind=8)[0:D.7772] *
>
> # VUSE <.MEM_173(D)>
> D.5362_114 = CHAIN.410_38(D)->phi;
>
> _pb_force.f:1286:0: error: type mismatch in component reference
> real(kind=8)[0:D.2764] * restrict
>
> real(kind=8)[0:D.7772] *
>
> # VUSE <.MEM_173(D)>
> D.5363_133 = CHAIN.410_38(D)->phi;
>
> _pb_force.f:1286:0: error: type mismatch in component reference
> real(kind=8)[0:D.2764] * restrict
>
> real(kind=8)[0:D.7772] *
>
> # VUSE <.MEM_173(D)>
> D.5364_150 = CHAIN.410_38(D)->phi;
>
> _pb_force.f:1286:0: error: type mismatch in component reference
> real(kind=8)[0:D.2764] * restrict
>
> real(kind=8)[0:D.7772] *
>
> # VUSE <.MEM_173(D)>
> D.5365_168 = CHAIN.410_38(D)->phi;
>
> _pb_force.f:1286:0: internal compiler error: verify_stmts failed
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> make[1]: *** [pb_force.o] Error 1
> make: *** [serial] Error 2
>
>
> I know that this section of the code is under active development, but I
> figured I'd report it anyway.
>
> All the best,
> Jason
>



_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Sat Oct 31 2009 - 18:00:03 PDT
Custom Search