<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">No No! I did not edit the arch file:<div class=""><br class=""></div><div class=""><div class="">grep CPP arch/local.ssmp</div><div class="">CPP =</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">---<br class="">Ron Cohen<br class=""><a href="mailto:reco...@gmail.com" class="">reco...@gmail.com</a><br class="">skypename: ronaldcohen</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">twitter: @recohen3<br class=""><div class=""><br class=""></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Jan 9, 2019, at 12:21 PM, Alfio Lazzaro <<a href="mailto:alfio....@gmail.com" class="">alfio....@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">To be more precise, probably you have in your arch/local.ssmp</div><div class=""><br class=""></div><div class="">CPP = gcc</div><div class="">CPPFLAGS = -E<br class=""></div><div class=""><br class=""></div><div class="">Although this is strange (I've never had these flags set in my toolchain), I get a similar problem if I do set in my arch file.</div><div class="">This is a bug in the CP2K makefile:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/cp2k/cp2k/blob/700dfe71c0b99fbb8510f414e08a90aacc047890/Makefile#L444-L447" class="">https://github.com/cp2k/cp2k/blob/700dfe71c0b99fbb8510f414e08a90aacc047890/Makefile#L444-L447</a><br class=""></div><div class=""><br class=""></div><div class="">I will open a PR for that. Thanks for reporting.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><br class="">Il giorno mercoledì 9 gennaio 2019 12:08:44 UTC+1, Alfio Lazzaro ha scritto:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr" class="">OK, for some reason you set<div class=""><br class=""></div><div class=""><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre" class="">CPP</span></div><div class=""><font color="#24292e" face="SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace" class=""><span style="font-size:12px;white-space:pre" class=""><br class=""></span></font></div><div class=""><font color="#24292e" face="SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace" class=""><span style="font-size:12px;white-space:pre" class="">in the arch file. Could you check under arch directory what is the value of CPP?</span></font></div><div class=""><font color="#24292e" face="SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace" class=""><span style="font-size:12px;white-space:pre" class="">An easy solution would be to remove it.</span></font></div><div class=""><font color="#24292e" face="SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace" class=""><span style="font-size:12px;white-space:pre" class=""><br class=""></span></font></div><div class=""><font color="#24292e" face="SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace" class=""><span style="font-size:12px;white-space:pre" class=""><br class=""></span></font><br class="">Il giorno mercoledì 9 gennaio 2019 09:39:41 UTC+1, Ronald Cohen ha scritto:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class="">This shows clearly that the file cannot be called fypped:</div><div class=""><br class=""></div><div class="">cp qs_basis_gradient.f90 t.fypped</div><div class="">rcohen@tomcat3:~/CP2K/cp2k/<wbr class="">src$ gcc -E -cpp t.fypped</div><div class="">gcc: warning: t.fypped: linker input file unused because linking not done</div><div class="">rcohen@tomcat3:~/CP2K/cp2k/<wbr class="">src$ cp t.fypped t.f</div><div class="">rcohen@tomcat3:~/CP2K/cp2k/<wbr class="">src$ gcc -E -cpp t.f | head</div><div class=""># 1 "t.f"</div><div class=""># 1 "<built-in>"</div><div class=""># 1 "<command-line>"</div><div class=""># 1 "t.f"</div><div class="">!-----------------------------<wbr class="">------------------------------<wbr class="">------------------------------<wbr class="">---------!</div><div class="">! CP2K: A general program to perform molecular dynamics simulations !</div><div class="">! Copyright (C) 2000 - 2018 CP2K developers group !</div><div class="">!-----------------------------<wbr class="">------------------------------<wbr class="">------------------------------<wbr class="">---------!</div><div class=""><br class=""></div><div class="">! ******************************<wbr class="">******************************<wbr class="">*****************</div><div class=""><br class=""></div><div class="">
<div style="font-family: Helvetica; font-style: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word; line-break: after-white-space;" class="">---<br class="">Ron Cohen<br class=""><a rel="nofollow" class="">rec...@gmail.com</a><br class="">skypename: ronaldcohen</div><div style="font-family: Helvetica; font-style: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word; line-break: after-white-space;" class="">twitter: @recohen3<br class=""><div class=""><br class=""></div></div><br class=""><br class="">
</div>
<div class=""><br class=""><blockquote type="cite" class=""><div class="">On Jan 9, 2019, at 9:29 AM, Ronald Cohen <<a rel="nofollow" class="">rec...@gmail.com</a>> wrote:</div><br class=""><div class=""><div style="word-wrap:break-word;line-break:after-white-space" class="">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.<div class=""><br class=""></div><div class="">Ron</div><div class=""><br class=""><div class="">
<div style="font-family:Helvetica;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word;line-break:after-white-space" class="">---<br class="">Ron Cohen<br class=""><a rel="nofollow" class="">rec...@gmail.com</a><br class="">skypename: ronaldcohen</div><div style="font-family:Helvetica;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word;line-break:after-white-space" class="">twitter: @recohen3<br class=""><div class=""><br class=""></div></div><br class=""><br class="">
</div>
<div class=""><br class=""><blockquote type="cite" class=""><div class="">On Jan 9, 2019, at 9:17 AM, Ronald Cohen <<a rel="nofollow" class="">rec...@gmail.com</a>> wrote:</div><br class=""><div class=""><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">It seems that the gcc -E doesn’t work:<div class=""><br class=""></div><div class="">/home/rcohen/CP2K/cp2k/tools/<wbr class="">toolchain/install/gcc-8.2.0/<wbr class="">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:<wbr class="">89b110c40\"" -D__DATA_DIR="\"/home/rcohen/<wbr class="">CP2K/cp2k/data\"" -I/home/rcohen/CP2K/cp2k/src -D__SHORT_FILE__="\"qs_basis_<wbr class="">gradient.F\"" -I'/home/rcohen/CP2K/cp2k/src/<wbr class="">' qs_basis_gradient.fypped > qs_basis_gradient.f90</div><div class=""><div class="">gcc: warning: qs_basis_gradient.fypped: linker input file unused because linking not done</div><div class=""><br class=""></div><div class=""><br class=""></div></div><div class="">It outputs a zero length file:</div><div class=""><br class=""></div><div class=""><div style="font-family:Helvetica;font-size:12px" class="">-rw-r--r-- 1 rcohen tomcat 15467 Jan 9 08:49 qs_basis_gradient.fypped</div><div style="font-family:Helvetica;font-size:12px" class="">-rw-r--r-- 1 rcohen tomcat 0 Jan 9 08:55 qs_basis_gradient.f90</div><div style="font-family:Helvetica;font-size:12px" class=""><br class=""></div><div style="font-family:Helvetica;font-size:12px" class="">It must work sometimes because some things get built! </div></div></div></blockquote><div class=""><br class=""></div><div class="">If I use /usr/bin/gcc (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) the same thing happens. </div><div class=""><br class=""></div><div class="">I do not see anything wrong with qs_basis_gradient.fypped . Why does gcc -E output nothing?</div><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div class=""><div style="font-family:Helvetica;font-size:12px" class=""><br class=""></div><div style="font-family:Helvetica;font-size:12px" class="">Ron</div><div class=""><br class=""></div></div></div></blockquote><div class=""><br class=""></div>
-- <br class="">
You received this message because you are subscribed to a topic in the Google Groups "cp2k" group.<br class="">
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/cp2k/gzmRqKNt62U/unsubscribe" rel="nofollow" target="_blank" class="">https://groups.google.com/d/<wbr class="">topic/cp2k/gzmRqKNt62U/<wbr class="">unsubscribe</a>.<br class="">
To unsubscribe from this group and all its topics, send an email to <a rel="nofollow" class="">cp2k+...@googlegroups.com</a>.<br class="">
To post to this group, send email to <a rel="nofollow" class="">cp...@googlegroups.com</a>.<br class="">
Visit this group at <a href="https://groups.google.com/group/cp2k" rel="nofollow" target="_blank" class="">https://groups.google.com/<wbr class="">group/cp2k</a>.<br class="">
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" class="">https://groups.google.com/d/<wbr class="">optout</a>.<br class="">
</div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></blockquote></div></div></blockquote></div><div class=""><br class="webkit-block-placeholder"></div>
-- <br class="">
You received this message because you are subscribed to a topic in the Google Groups "cp2k" group.<br class="">
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/cp2k/gzmRqKNt62U/unsubscribe" class="">https://groups.google.com/d/topic/cp2k/gzmRqKNt62U/unsubscribe</a>.<br class="">
To unsubscribe from this group and all its topics, send an email to <a href="mailto:cp2k+uns...@googlegroups.com" class="">cp2k+uns...@googlegroups.com</a>.<br class="">
To post to this group, send email to <a href="mailto:cp...@googlegroups.com" class="">cp...@googlegroups.com</a>.<br class="">
Visit this group at <a href="https://groups.google.com/group/cp2k" class="">https://groups.google.com/group/cp2k</a>.<br class="">
For more options, visit <a href="https://groups.google.com/d/optout" class="">https://groups.google.com/d/optout</a>.<br class="">
</div></blockquote></div><br class=""></div></body></html>