Re: [AMBER] Amber 12 Installation errors relevant to fftw3

From: David A Case <case.biomaps.rutgers.edu>
Date: Wed, 25 Apr 2012 08:12:20 -0400

On Wed, Apr 25, 2012, Shulin Zhuang wrote:

> I use gfortran.

It would still be very helpful if you could type "gfortran --v" and
"gcc -v" and report what the result is.

>
> step 1: ./configure gnu this step is ok
>
> step 2:make install During this step lots of warning and error.
> I just select several warnings and errors:

Warnings are not important.

> gfortran -DFFTW -DBINTRAJ *-c -O3 -ffree-form
> *-I/home/hjkx/program/amber12//include
> -I/home/hjkx/program/amber12//include *-o fftw3.o fftw3.F90*
>
> error: sententce (1) not defined in file fftw3.f03:1732
>
> included in * fftw3.F90*:10
>
> type(C_PTR), value :: output_file

I suspect that your compiler does not support the ISO_C interface, but that
somehow the configuration script thought that it did. This is why we
need version numbers. It is also required that gcc and gfortran use the same
version of the compilers.

A workaround (depending on your needs) is to re-configure using the -nofftw3
flag.

...dac


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Apr 25 2012 - 05:30:03 PDT
Custom Search