I'm not sure. If I type:
gfortran -v
I get:
Using built-in specs.
Target: x86_64-apple-darwin11
Configured with: ../gcc-4.3.6/configure --prefix=/opt/local --build=x86_64-apple-darwin11 --enable-languages=c,c++,objc,obj-c++,java,fortran --libdir=/opt/local/lib/gcc43 --includedir=/opt/local/include/gcc43 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datadir=/opt/local/share/gcc43 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.3 --with-gxx-include-dir=/opt/local/include/gcc43/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --disable-multilib --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar
Thread model: posix
gcc version 4.3.6 (GCC)
I've managed to get Ambertools to compile now, but only after commenting out the chamber part of the Makefile.
Richard
On 22 Apr 2012, at 20:47, David Case wrote:
> On Apr 22, 2012, at 2:10 PM, Richard Lonsdale <richard.lonsdale.gmail.com> wrote:
>
>> Thanks for your help. I've tried gcc 4.3, 4.4 and 4.5 but get the same error each time. Is there anything else I could try?
>
> Are you sure you are using the 4.3, 4.4, etc versions of gfortran (not just gcc)?
>
>>>>
>>>> call deallocate_real(cg,amass)
>>>> 1
>>>> Error: Type mismatch in argument 'a0' at (1); passed REAL(10) to REAL(8)
>>>> psfprm.F90:3231.24:
>>>>
>
> ...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 Sun Apr 22 2012 - 14:00:02 PDT