Function 'ydot' at (1) has no IMPLICIT type


Click here for full thread
Gets Around
Hi,

i'm getting this error when compiling on Fedora Rawhide x86_64 (gfortran-5.1.1):

...
Making libraries in geom
gfortran -c -m64 -ffast-math  -Warray-bounds -Warray-bounds -fdefault-integer-8 -O2 -g -fno-aggressive-loop-optimizations -g -O   -I.  -I/builddir/build/BUILD/Nwchem-6.5.revision26243-src.2014-09-10/src/include -I/usr/include/openmpi-x86_64 -DGFORTRAN -DCHKUNDFLW -DGCC4 -DGCC46 -DEXT_INT -DLINUX -DLINUX64 -DPARALLEL_DIAG   geom.F
gfortran -c -m64 -ffast-math  -Warray-bounds -Warray-bounds -fdefault-integer-8 -O2 -g -fno-aggressive-loop-optimizations -g -O   -I.  -I/builddir/build/BUILD/Nwchem-6.5.revision26243-src.2014-09-10/src/include -I/usr/include/openmpi-x86_64 -DGFORTRAN -DCHKUNDFLW -DGCC4 -DGCC46 -DEXT_INT -DLINUX -DLINUX64 -DPARALLEL_DIAG   geom_input.F
geom.F:2703:10:
       if (ydot(3*ncenter(geom),velocities(1,1,geom),1,
          1
Error: Function 'ydot' at (1) has no IMPLICIT type
geom.F:861:11:
      $     ydot(3, efield(1,geom), 1, efield(1,geom), 1) .gt. 0.0d0
           1
Error: Function 'ydot' at (1) has no IMPLICIT type
geom.F:983:16:
       e_nd_ef = ydot(3, ndipole(1,geom), 1, efield(1,geom), 1)
                1
Error: Function 'ydot' at (1) has no IMPLICIT type
../config/makefile.h:2832: recipe for target '/builddir/build/BUILD/Nwchem-6.5.revision26243-src.2014-09-10/lib/LINUX64/libnwcutil.a(geom.o)' failed


It's http://nwchemgit.github.io/download.php?f=Nwchem-6.5.revision26243-src.2014-09-10.tar.gz
with only the https://pkgs.fedoraproject.org/repo/pkgs/nwchem/Makefile_gcc4x8x9.patch/ and
http://pkgs.fedoraproject.org/cgit/nwchem.git/tree/Makefileh_use_arur.patch patches applied.

See the full log at: http://koji.fedoraproject.org/koji/getfile?taskID=10671820&name=build.log&offset=-...

Marcin