<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello Roland,<div class=""><br class=""></div><div class="">The config-info file contains</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># CONFIGURATION : kranc</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># CONFIG-DATE : Tue Jan 31 07:07:04 2017 (GMT)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># CONFIG-HOST : Guy-Pitman.local</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># CONFIG-STATUS : 0</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># CONFIG-OPTIONS :</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">PROMPT=no</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">THORNLIST=<a href="http://kranc.th" class="">kranc.th</a></span></div></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class="">I assume that the example in <a href="https://docs.einsteintoolkit.org/et-docs/Simplified_Tutorial_for_New_Users" class="">https://docs.einsteintoolkit.org/et-docs/Simplified_Tutorial_for_New_Users</a> uses a fortran compiler-</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class="">I can successfully compile it using ./simfactory/bin/sim build --mdbkey make 'make -j2' --thornlist=manifest/<a href="http://einsteintoolkit.th" class="">einsteintoolkit.th</a></div><div class="">but I am not clear where the compiler switches reside and why my Kranc example is failing.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Regards</div><div class=""><br class=""></div><div class="">Guy</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 31 Jan. 2017, at 10:36 pm, Roland Haas <<a href="mailto:rhaas@illinois.edu" class="">rhaas@illinois.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hello all,<br class=""><br class="">if the Fortran compiler sees the chkinx macro then it sounds to me as if the preprocessor is set incorrectly. Could you check whether in your options file (configs/kranc/config-info or the one you passed to make via options=) does either set FPP to cpp --traditional or does not set it at all?<br class=""><br class="">Yours,<br class="">Roland<br class=""><br class="">----- Original Message -----<br class="">From: Ian Hinder <<a href="mailto:ian.hinder@aei.mpg.de" class="">ian.hinder@aei.mpg.de</a>><br class="">Sent: 2017-01-31 - 06:30<br class="">To: Guy Pitman <<a href="mailto:guy.pitman@bigpond.com" class="">guy.pitman@bigpond.com</a>><br class="">Subject: Re: [Users] Compile question<br class=""><br class=""><blockquote type="cite" class=""><br class="">On 31 Jan 2017, at 08:21, Guy Pitman <<a href="mailto:guy.pitman@bigpond.com" class="">guy.pitman@bigpond.com</a>> wrote:<br class=""><br class=""><blockquote type="cite" class="">Hi,<br class=""><br class="">I am trying to compile a new Kranc thorn on a MacBook Pro (Sierra) and am getting an error<br class=""><br class="">COMPILING arrangements/Carpet/CarpetLib/src/prolongate_3d_real8_tvd.F90<br class="">gfortran: warning: couldn’t understand kern.osversion ‘16.1.0<br class="">/Users/Guy/Documents/Einsteintoolkit/Cactus/configs/kranc/build/CarpetLib/prolongate_3d_real8_tvd.f90:128.11:<br class=""><br class=""> CHKIDX (i0 ,j0 ,k0 , srciext,srcjext,srckext, "src")<br class=""> 1<br class="">Error: Unclassifiable statement at (1)<br class="">/Users/Guy/Documents/Einsteintoolkit/Cactus/configs/kranc/build/CarpetLib/prolongate_3d_real8_tvd.f90:129.11:<br class=""><br class=""> CHKIDX (i0+2,j0+2,k0+2, srciext,srcjext,srckext, "src")<br class=""> 1<br class="">Error: Unclassifiable statement at (1)<br class="">/Users/Guy/Documents/Einsteintoolkit/Cactus/configs/kranc/build/CarpetLib/prolongate_3d_real8_tvd.f90:170.11:<br class=""><br class=""> CHKIDX (dstioff+i+1, dstjoff+j+1, dstkoff+k+1, dstiext,dstjext,dstke<br class=""> 1<br class="">Error: Unclassifiable statement at (1)<br class="">make[4]: *** [prolongate_3d_real8_tvd.F90.o] Error 1<br class="">make[3]: *** [make.checked] Error 2<br class="">make[2]: *** [/Users/Guy/Documents/Einsteintoolkit/Cactus/configs/kranc/lib/libthorn_CarpetLib.a] Error 2<br class="">make[1]: *** [kranc] Error 2<br class="">make: *** [kranc-config] Error 2<br class=""><br class=""><br class="">I previously installed the simple example for OSX and that ran OK. <br class=""><br class="">The attached file contains the ThornList that I am using. <br class=""><<a href="http://kranc.th" class="">kranc.th</a>><br class=""><br class="">Do you have any suggestions?<br class=""></blockquote><br class="">Hi guy,<br class=""><br class="">Just as a data point: these seem to be problems with the fortran compiler, rather than Kranc. Probably a fortran expert needs to answer.<br class=""><br class="">-- <br class="">Ian Hinder<br class=""><a href="http://members.aei.mpg.de/ianhin" class="">http://members.aei.mpg.de/ianhin</a><br class=""><br class="">_______________________________________________<br class="">Users mailing list<br class="">Users@einsteintoolkit.org<br class="">http://lists.einsteintoolkit.org/mailman/listinfo/users<br class=""></blockquote><br class=""><br class="">-- <br class="">My email is as private as my paper mail. I therefore support encrypting<br class="">and signing email messages. Get my PGP key from <a href="http://keys.gnupg.net" class="">http://keys.gnupg.net</a>.<br class=""></div></div></blockquote></div><br class=""></div></body></html>