Compile error in qmmm_util.F (CPSourceFileRef define)

DMT dobro... at gmail.com
Thu Nov 1 17:36:08 UTC 2012


Hi,

here's another error

g95  -c -cpp -O3 -ffast-math -march=pentium4 -fomit-frame-pointer 
-funroll-loops -I/usr/include qmmm_util.f90
/home/dmt/cp2k/cp2k/makefiles/../src/qmmm_util.F:253.60:

       "force mixing is active.  Skipping!"//CPSourceFileRef)
                                                            1
Error: Symbol 'cpsourcefileref' at (1) has no IMPLICIT type
/home/dmt/cp2k/cp2k/makefiles/../src/qmmm_util.F:143.62:

         "force mixing is active.  Skipping!"//CPSourceFileRef)
                                                              1
Error: Symbol 'cpsourcefileref' at (1) has no IMPLICIT type
make[1]: *** [qmmm_util.o] Error 1
make[1]: Leaving directory `/home/dmt/cp2k/cp2k/obj/Linux-i686-g95/sopt'
make: *** [build] Error 2

the CPSourceFileRef is from cp_common_uses.h and #define-d in it

i can find only one thread in the forum mentioning it (something about 
ubuntu<https://groups.google.com/forum/?fromgroups#%21searchin/cp2k/cpsourcefileref/cp2k/fwY_KCZ2JNY/QXxpOm7AGH8J>) 
and I applied the changes from there (altho it was not mentioned as giving 
an error I guess it was), yet the problem stays the same. in fact i 
#define-d it in the qmmm_... file itself and it gave me the same error

Linux bol 2.6.37.6-smp #2 SMP Sat Apr 9 23:39:07 CDT 2011 i686 Intel(R) 
Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux
GCC 4.5.2
Slackware 13.37

I'm not proficient in fortran and I have no idea what am I doing
the cp2k is from current svn trunk from a week ago
I checked this specific file from the current current and it's the same
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20121101/6f91080c/attachment.htm>


More information about the CP2K-user mailing list