[CP2K-user] [CP2K:11149] Re: van der Waals regtests fail on Intel KNL, and build glitches

Ronald Cohen reco... at gmail.com
Wed Jan 9 08:39:33 UTC 2019


This shows clearly that the file cannot be called fypped:

cp qs_basis_gradient.f90 t.fypped
rcohen at tomcat3:~/CP2K/cp2k/src$ gcc -E -cpp t.fypped
gcc: warning: t.fypped: linker input file unused because linking not done
rcohen at tomcat3:~/CP2K/cp2k/src$ cp t.fypped t.f
rcohen at tomcat3:~/CP2K/cp2k/src$ gcc -E -cpp t.f | head
# 1 "t.f"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "t.f"
!--------------------------------------------------------------------------------------------------!
!   CP2K: A general program to perform molecular dynamics simulations                              !
!   Copyright (C) 2000 - 2018  CP2K developers group                                               !
!--------------------------------------------------------------------------------------------------!

! *****************************************************************************

---
Ron Cohen
reco... at gmail.com <mailto:reco... at gmail.com>
skypename: ronaldcohen
twitter: @recohen3




> On Jan 9, 2019, at 9:29 AM, Ronald Cohen <reco... at gmail.com> wrote:
> 
> It seems that gcc -E will not work on a file called x.fypped . If I call this file x.f90 and do gcc -E -cpp on it preprocesses. So it seems the toolchain doesn’t not work properly.
> 
> Ron
> 
> ---
> Ron Cohen
> reco... at gmail.com <mailto:reco... at gmail.com>
> skypename: ronaldcohen
> twitter: @recohen3
> 
> 
> 
> 
>> On Jan 9, 2019, at 9:17 AM, Ronald Cohen <reco... at gmail.com <mailto:reco... at gmail.com>> wrote:
>> 
>> It seems that the gcc -E doesn’t work:
>> 
>> /home/rcohen/CP2K/cp2k/tools/toolchain/install/gcc-8.2.0/bin/gcc -E -D__COMPILE_ARCH="\"local\"" -D__COMPILE_DATE="\"Wed Jan  9 08:49:48 CET 2019\"" -D__COMPILE_HOST="\"tomcat3\"" -D__COMPILE_REVISION="\"git:89b110c40\"" -D__DATA_DIR="\"/home/rcohen/CP2K/cp2k/data\"" -I/home/rcohen/CP2K/cp2k/src -D__SHORT_FILE__="\"qs_basis_gradient.F\"" -I'/home/rcohen/CP2K/cp2k/src/' qs_basis_gradient.fypped > qs_basis_gradient.f90
>> gcc: warning: qs_basis_gradient.fypped: linker input file unused because linking not done
>> 
>> 
>> It outputs a zero length file:
>> 
>> -rw-r--r--  1 rcohen tomcat   15467 Jan  9 08:49 qs_basis_gradient.fypped
>> -rw-r--r--  1 rcohen tomcat       0 Jan  9 08:55 qs_basis_gradient.f90
>> 
>> It must work sometimes because some things get built!
>> 
>> If I use /usr/bin/gcc (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) the same thing happens.
>> 
>> I do not see anything wrong with qs_basis_gradient.fypped . Why does gcc -E output nothing?
>> 
>> Ron
>> 
>> 
>> --
>> You received this message because you are subscribed to a topic in the Google Groups "cp2k" group.
>> To unsubscribe from this topic, visit https://groups.google.com/d/topic/cp2k/gzmRqKNt62U/unsubscribe <https://groups.google.com/d/topic/cp2k/gzmRqKNt62U/unsubscribe>.
>> To unsubscribe from this group and all its topics, send an email to cp2k+uns... at googlegroups.com <mailto:cp2k+uns... at googlegroups.com>.
>> To post to this group, send email to cp... at googlegroups.com <mailto:cp... at googlegroups.com>.
>> Visit this group at https://groups.google.com/group/cp2k <https://groups.google.com/group/cp2k>.
>> For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20190109/d6f1a8c6/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 849 bytes
Desc: Message signed with OpenPGP
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20190109/d6f1a8c6/attachment.sig>


More information about the CP2K-user mailing list