g95 errors

radsci2008 9srh8rw... at jetable.org
Wed Mar 19 07:10:23 UTC 2008


Hi All-

Although g95 had in the past seemed to compile cp2k with fewer
difficulties, the last few months of updated source have given errors.

I think it's time to nag the developers about this, since it doesn't
seem to mitigate.




/mnt/hda8/g95-x86_64-64-linux.20080227/bin/x86_64-suse-linux-gnu-g95  -
c -O3 -cpp -g -ffast-math -fomit-frame-pointer -msse2 -m64 -march=k8
util.f90
/mnt/hda8/g95-x86_64-64-linux.20080227/bin/x86_64-suse-linux-gnu-g95  -
c -O3 -cpp -g -ffast-math -fomit-frame-pointer -msse2 -m64 -march=k8
string_utilities.f90
In file util.f90:30

     MODULE PROCEDURE sort2, sort2i, sort2i_int_8
                                     1
Error: Ambiguous interfaces 'sort2i_int_8' and 'sort2i' in generic
interface 'sort' at (1)
make[1]: *** [util.o] Error 1


-----
when util.f from an old source collection is substituted, compiling
soon yields:

/home/e64/cp2k.20080221/makefiles/../src/message_passing.F >
message_passing.f90
/mnt/hda8/g95-x86_64-64-linux.20080223/bin/x86_64-suse-linux-gnu-g95  -
c -O3 -g -ffast-math -fomit-frame-pointer -msse2 -m64
message_passing.f90
In file message_passing.f90:899

SUBROUTINE mp_alltoall_i ( sb, rb, count, group )
                               1
Warning (158): INTENT(OUT) variable 'rb' at (1) is never set
In file message_passing.f90:916

SUBROUTINE mp_alltoall_r45 ( sb, rb, count, group )
                                 1
Warning (158): INTENT(OUT) variable 'rb' at (1) is never set
In file message_passing.f90:933

SUBROUTINE mp_alltoall_r34 ( sb, rb, count, group )
                                 1
Warning (158): INTENT(OUT) variable 'rb' at (1) is never set
In file message_passing.f90:950

SUBROUTINE mp_alltoall_r54 ( sb, rb, count, group )
                                 1
Warning (158): INTENT(OUT) variable 'rb' at (1) is never set
In file message_passing.f90:1799

SUBROUTINE mp_isend_rm2(msgin,dest,comm,request,tag)
                                        1
Warning (158): INTENT(OUT) variable 'request' at (1) is never set
In file message_passing.f90:1823

SUBROUTINE mp_irecv_rm2(msgout,source,comm,request,tag)
                                           1
Warning (158): INTENT(OUT) variable 'request' at (1) is never set
In file message_passing.f90:155

                      mp_alltoall_r34,mp_alltoall_r54,
mp_alltoall_i8v, mp_allt
                                                       1
Error: Ambiguous interfaces 'mp_alltoall_i8v' and 'mp_alltoall_i11v'
in generic interface 'mp_alltoall' at (1)
make[1]: *** [message_passing.o] Error 1


-----

so this seems systematic or at least not isolated to one file.





================================
sopt:

#g95-20080227-g95libs-nolibint2
#export FORT_C_NAME=g95-20080227-g95libs-nolibint2
#export F77=/mnt/hda8/g95-x86_64-64-linux.20080227/bin/x86_64-suse-
linux-gnu-g95
#export LDFLAGS=" -L/mnt/hda8/g95-x86_64-64-linux.20080227/lib/gcc-lib/
x86_64-suse-linux-gnu/4.0.3 /mnt/hda8/g95-x86_64-64-linux.20080227/
math/blas_LINUX.a /mnt/hda8/g95-x86_64-64-linux.20080227/math/
lapack_LINUXg95x86_64.a "

PERL     = perl
CC       = cc
CPP      = cpp

FC       = /mnt/hda8/g95-x86_64-64-linux.20080227/bin/x86_64-suse-
linux-gnu-g95
LD       = /mnt/hda8/g95-x86_64-64-linux.20080227/bin/x86_64-suse-
linux-gnu-g95

AR       = ar -r

CPPFLAGS = -C -D__G95 -D__FFTSG -D__FFTW -D__FFTW3 -traditional -P
FCFLAGS  = -O3 -cpp -g -ffast-math -fomit-frame-pointer -msse2 -m64 -
march=k8
LDFLAGS  = $(FCFLAGS)
LIBS     = /mnt/hda8/g95-x86_64-64-linux.20080227/math/blas_LINUX.a /
mnt/hda8/g95-x86_64-64-linux.20080227/math/lapack_LINUXg95x86_64.a -L/
mnt/hda8/g95-x86_64-64-linux.20080227/lib/gcc-lib/x86_64-suse-linux-
gnu/4.0.3/ -lf95 -lgcc  /home/e64/libint.1.1.2-am1=4.a64x2.64.g95/lib/
libderiv.a /home/e64/libint.1.1.2-am1=4.a64x2.64.g95/lib/libint.a /
home/e64/libint.1.1.2-am1=4.a64x2.64.g95/lib/libr12.a /mnt/hda8/
fftw-3.0.1.g95x86_64/lib/lib/libfftw3.a -lstdc++ -lpthread



OBJECTS_ARCHITECTURE = machine_g95.o






More information about the CP2K-user mailing list