[CP2K:4147] Compile error in qmmm_util.F (CPSourceFileRef define)

Yd Jin jinyd... at gmail.com
Wed Nov 7 14:53:44 UTC 2012


e
在 2012-11-2 上午1:36,"DMT" <dobro... at gmail.com>写道:

> 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
>
> --
> You received this message because you are subscribed to the Google Groups
> "cp2k" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/cp2k/-/aVLw2CSTS8AJ.
> To post to this group, send email to cp... at googlegroups.com.
> To unsubscribe from this group, send email to
> cp2k+uns... at googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/cp2k?hl=en.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20121107/ea25a4df/attachment.htm>


More information about the CP2K-user mailing list