warnings and errors when make cp2k

lifj yon... at gmail.com
Sat Jan 17 10:31:03 UTC 2009


Hi, everybody,

   When I make cp2k with g95, no matter sopt or popt, I have got
warnings  like this:

                                      -----------
SUBROUTINE diagonalise_ssyev ( matrix, mysize, storageform,
eigenvalues, &
                                                            1
Warning (158): INTENT(OUT) variable 'eigenvalues' at (1) is never set
In file /home/lifj/software/cp2k-g95/cp2k/makefiles/../src/
eigenvalueproblems.F:92

SUBROUTINE diagonalise_chpev ( matrix, mysize, storageform,
eigenvalues, &
                                                            1
Warning (158): INTENT(OUT) variable 'eigenvalues' at (1) is never set
In file /home/lifj/software/cp2k-g95/cp2k/makefiles/../src/
eigenvalueproblems.F:93

     eigenvectors )
     1
Warning (158): INTENT(OUT) variable 'eigenvectors' at (1) is never set
In file /home/lifj/software/cp2k-g95/cp2k/makefiles/../src/
eigenvalueproblems.F:130

     eigenvalues, eigenvectors )
     1
Warning (158): INTENT(OUT) variable 'eigenvalues' at (1) is never set
In file /home/lifj/software/cp2k-g95/cp2k/makefiles/../src/
eigenvalueproblems.F:130

     eigenvalues, eigenvectors )
                  1
Warning (158): INTENT(OUT) variable 'eigenvectors' at (1) is never set
In file /home/lifj/software/cp2k-g95/cp2k/makefiles/../src/
eigenvalueproblems.F:166

     eigenvalues, eigenvectors )
     1

                    -----------------

SUBROUTINE cp2k_cgesvd ( matrix, svalues, mrow, ncol, uvec, vtvec )
                                 1
Warning (158): INTENT(OUT) variable 'svalues' at (1) is never set
In file /home/lifj/software/cp2k-g95/cp2k/makefiles/../src/
eigenvalueproblems.F:231

SUBROUTINE cp2k_cgesvd ( matrix, svalues, mrow, ncol, uvec, vtvec )
                                                      1
Warning (158): INTENT(OUT) variable 'uvec' at (1) is never set
In file /home/lifj/software/cp2k-g95/cp2k/makefiles/../src/
eigenvalueproblems.F:231

SUBROUTINE cp2k_cgesvd ( matrix, svalues, mrow, ncol, uvec, vtvec )

                  -------------------

        What effects will these warnings will take on me later
calculations, if I do not take any action on these warnings?

    And there are a kind of errors about fftw3.f when I compile cp2k,
the errors like this:

            -----------------

    mpif90  -c -D__G95 -D__FFTSG -D__parallel -D__BLACS -D__SCALAPACK -
D__FFTW3 -D__LIBINT -I -O1 -ffast-math -march=opteron -ffree-form -cpp
-fbounds-check -g  -ftrace=full -D__COMPILE_ARCH="\"Linux-x86-64-
g95\"" -D__COMPILE_DATE="\"Sat Jan 17 18:21:00 CST 2009\"" -
D__COMPILE_HOST="\"localhost.localdomain\"" -D__COMPILE_LASTCVS="\"/
xc_xpbe_hole_t_c_lr.F/1.2/Tue Jan 13 23:07:07 2009//\"" /home/lifj/
software/cp2k-g95/cp2k/makefiles/../src/lib/fftw2_lib.F
make[1]: *** No rule to make target `fftw3.f', needed by
`fftw3_lib.o'.  Stop.
make[1]: *** Waiting for unfinished jobs....
In file /home/lifj/software/cp2k-g95/cp2k/makefiles/../src/lib/
fftw2_lib.F:213

SUBROUTINE fftw21dm ( fsign, trans, n, m, zin, zout, scale )
                                               1
Warning (158): INTENT(OUT) variable 'zout' at (1) is never set
make[1]: Leaving directory `/home/lifj/software/cp2k-g95/cp2k/obj/
Linux-x86-64-g95/pdbg'
make: *** [build] Error 2

         --------------------------
 For such errors , I always copy a fftw3.f to the needed rout
(namely, /home/lifj/software/cp2k-g95/cp2k/makefiles/../src/lib/),
the fftw3.f I copied is what I have installed when I make fftw3.  And
the problem does disappeared

 In a compilation, I always have to copy many times.  I do not know if
it is right to just copy a fftw3.f.




More information about the CP2K-user mailing list