Hi, David,
Great thanks for your help!
I use gfortran.
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:
*Lots of warning :*
gfortran -DBINTRAJ -c -O0 -I/home/hjkx/program/amber12//include
-I/home/hjkx/program/amber12//include -o *matinv.o matinv.F*
in file *matinv.F*:48
IF( ABS(BIGA)- ABS(A(IJ))) 15,20,20
1
warning: out of date:(1) IF
in file matinv.F:57
IF(J-K) 35,35,25
1
warning : out of date:(1) IF
in file matinv.F:69
IF(I-K) 45,45,38
1
warning : out of date:(1) IF
in file matinv.F:80
45 IF(BIGA) 48,46,48
1
Lots of error during this step:
gfortran -DFFTW -DBINTRAJ *-c -O3 -ffree-form
*-I/home/hjkx/program/amber12//include
-I/home/hjkx/program/amber12//include *-o fftw3.o fftw3.F90*
1
error: sententce (1) not defined in file fftw3.f03:1732
included in * fftw3.F90*:10
type(C_PTR), value :: output_file
1
error: Derived type 'c_ptr' at (1) is being used before it is defined in
file fftw3.f03:1733
included in fftw3.F90:10
end subroutine fftwl_export_wisdom_to_file
1
error: need END INTERFACE ,in (1)
in file fftw3.f03:1735
included in fftw3.F90:10
type(C_PTR) function fftwl_export_wisdom_to_string() bind(C,
name='fftwl_ex
1
error: Derived type 'c_ptr' at (1) is being used before it is defined
in file fftw3.f03:1736
included in fftw3.F90:10
make[2]: *** [fftw3.o] error1
make[2]: Leaving directory `/home/hjkx/program/amber12/AmberTools/src/pbsa'
make[1]: *** [serial] error 2
make[1]: Leaving directory `/home/hjkx/program/amber12/AmberTools/src'
make: *** [install] error 2
On Tue, Apr 24, 2012 at 8:31 PM, David A Case <case.biomaps.rutgers.edu>wrote:
> On Tue, Apr 24, 2012, Shulin Zhuang wrote:
> >
> > During the installation of amber 12 on my server (CPU: AMD Opteron 6174
> > 2.2G) under RedHat 5.4 systtem, I met with the problem of fftw3.
>
> What compiler are you using? (Type "gfortran --version").
>
> > *
> > Lots of errors about fftw3.F9: *
> > integer(C_INT) function fftwl_import_wisdom(read_char,data) bind(C,
> name='f
> > Parameter 'c_int' at (1) has not been declared or is a variable, which
> does
> > not reduce to a constant expression
>
> Can you copy and paste what make was doing: presumably it would be
> something like this:
>
> gfortran -DFFTW -DBINTRAJ -DLIBPBSA -c -O0 -g -ffree-form
> -I/home/case/amber12/include -I/home/case/amber12/include -o
> fftw3.LIBPBSA.o
> fftw3.F90
>
> Also, please copy and paste the *first* error that is encountered; error
> messages that include line numbers are also helpful.
>
> ...thx...dac
>
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Apr 24 2012 - 18:30:03 PDT