Hi, this is the full version "gcc44 (GCC) 4.4.4 20100726 (Red Hat 4.4.4-13)"
(I replaced "CC=gcc" to "CC=gcc44" in $AMBERHOME/config.h)
Hai
On Thu, May 21, 2015 at 1:59 AM, Scott Brozell <sbrozell.rci.rutgers.edu>
wrote:
> Hi,
>
> It's that time of year again - time to revisit gnu compiler support.
>
> is_iostat_end is an F2003 intrinsic function.
> is_iostat_end is available in gnu 4.4.5, but not in 4.2.3:
> intrinsic :: is_iostat_end
> Error: Intrinsic does not exist
>
> On a related note intrinsic statements are recommended as a
> best practice by Metcalf, Fortran 95/2003 Explained, p 160.
>
> Hai, please indicate the full version of your 4.4.
>
> scott
>
> ----- Forwarded message from Hai Nguyen <hainm.comp.gmail.com> -----
>
> Date: Wed, 20 May 2015 17:02:52 -0400
> Subject: error when compiling sander: Function 'is_iostat_end' at (1) has
> no
> IMPLICIT type
>
> I got this error when compiling sander in the master branch. I was trying
> gcc 41. and 4.4 but got the same errors.
>
> gfortran -Wall -Wno-unused-function -DBINTRAJ -DEMIL -c -O0 -fPIC
> -DNO_ALLOCATABLES_IN_TYPE -ffree-form -I../pbsa -I../sqm -I../rism
> -I/home/haichit/amber_git/amber/include -o qm2_extern_gau_module.o
> qm2_extern_gau_module.F90
> In file qm2_extern_gau_module.F90:474
>
> done = is_iostat_end(ios) .or. (i == 3)
> 1
> Error: Function 'is_iostat_end' at (1) has no IMPLICIT type
> In file qm2_extern_gau_module.F90:490
>
> done = done .or. is_iostat_end(ios)
> 1
> Error: Function 'is_iostat_end' at (1) has no IMPLICIT type
> make[2]: *** [qm2_extern_gau_module.o] Error 1
> make[2]: Leaving directory
> `/u1/haichit/amber_git/amber/AmberTools/src/sander'
> make[1]: *** [serial] Error 2
> make[1]: Leaving directory `/u1/haichit/amber_git/amber/AmberTools/src'
> make: *** [install] Error 2
>
> Best
> Hai
>
> ----- End forwarded message -----
>
> _______________________________________________
> AMBER-Developers mailing list
> AMBER-Developers.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber-developers
>
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Wed May 20 2015 - 23:30:03 PDT