<div dir="ltr">Hi Ian,<div><br></div><div>Thanks for taking a look. I have no problem with whomever seeing the script, so I am attaching it herein. If people see things wrong with the script, I am happy to hear about it.</div><div><br></div><div>I am having issues building the thorn. I get a crash of the build with complaints about </div><div><br></div><div>1. PTRACE_ATTACH, PTRACE_CONT, PTRACE_TRACEME</div><div><br></div><div>2. 'namespace CT_BrillAnalytic { }' redeclared as different kind of symbol,</div><div> </div><div>3. /Users/comerduncan/Cactus/arrangements/Cosmology/CT_BrillAnalytic/src/CT_BrillAnalytic.cc:28:83: error: 'GetBoundaryWidth' was not declared in this scope, </div><div><br></div><div>4. /Users/comerduncan/Cactus/arrangements/Cosmology/CT_BrillAnalytic/src/CT_BrillAnalytic.cc:223:84: error: 'sqrtdetg' was not declared in this scope, </div><div><br></div><div>5. /Users/comerduncan/Cactus/arrangements/Cosmology/CT_BrillAnalytic/src/CT_BrillAnalytic.cc:735:60: error: 'AssertGroupStorage' was not declared in this scope, </div><div><br></div><div>6. /Users/comerduncan/Cactus/arrangements/Cosmology/CT_BrillAnalytic/src/CT_BrillAnalytic.cc:737:56: error: 'EnsureStencilFits' was not declared in this scope, </div><div><br></div><div>7. /Users/comerduncan/Cactus/arrangements/Cosmology/CT_BrillAnalytic/src/CT_BrillAnalytic.cc:739:49: error: 'LoopOverInterior' was not declared in this scope.</div><div><br></div><div>I am thus wondering whether there are other errors lurking in my script or, perhaps less probable other issues that Kranc has. Note that I am using Mathematica 10.</div><div><br></div><div>I can of course put the log file for the build of the CT_BrillAnalytic thorn on pastebin or could email a compressed version, whichever is useful. Just let me know.</div><div><br></div><div><br></div><div>Comer</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 4, 2015 at 5:26 AM, Ian Hinder <span dir="ltr"><<a href="mailto:ian.hinder@aei.mpg.de" target="_blank">ian.hinder@aei.mpg.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><span class=""><br><div><div>On 1 Sep 2015, at 16:01, Comer Duncan <<a href="mailto:comer.duncan@gmail.com" target="_blank">comer.duncan@gmail.com</a>> wrote:</div><br><blockquote type="cite"><div dir="ltr">I have a thorn I am constructing from a Kranc script. it compiles ok. However, upon looking at its schedule.inc file there is a section in which apparently doubling up occurs. Here is the section:<div><br></div><div><div>schedule formgk AT CCTK_INITIAL before CT_MultiLevel</div><div>{</div><div> LANG: C</div><div> SYNC: CT_g</div><div> READS: grid::x(Everywhere)</div><div> READS: grid::y(Everywhere)</div><div> READS: grid::z(Everywhere)</div><div> READS: grid::x(Everywhere)</div><div> READS: grid::y(Everywhere)</div><div> READS: grid::z(Everywhere)</div><div> WRITES: CT_BrillAnalytic::g11(Interior)</div><div> WRITES: CT_BrillAnalytic::g12(Interior)</div><div> WRITES: CT_BrillAnalytic::g13(Interior)</div><div> WRITES: CT_BrillAnalytic::g22(Interior)</div><div> WRITES: CT_BrillAnalytic::g23(Interior)</div><div> WRITES: CT_BrillAnalytic::g33(Interior)</div><div>} "formgk"</div></div><div><br></div><div><br></div><div>My question is how come there is a doubling of a READS grid::x(Everywhere) along with the same for y and z? I don't see any problem in the script which obviously induces such behavior. So, does this indicate that there is a problem somewhere or should I ignore the doubling of the READS for x, y, and z? This script prepares initial data so this would not occur repeatedly.</div></div></blockquote></div><div><br></div></span><div>Hi Comer,</div><div><br></div><div>This looks like a bug in Kranc. Different parts of Kranc are probably contributing accesses to the coordinate variables, and Kranc is not de-duplicating them. Since Cactus/Carpet currently don't look at these entries, it should be harmless for the moment. I have created an issue on Kranc's issue tracker: <a href="https://github.com/ianhinder/Kranc/issues/131" target="_blank">https://github.com/ianhinder/Kranc/issues/131</a>. Would you be OK with sending me the script which has this problem, so I can attach it to the issue? Note that this would make the script publicly-available. If this is not OK, you can just send it to me privately.</div><span class="HOEnZb"><font color="#888888"><br><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div>-- </div><div>Ian Hinder</div><div><a href="http://members.aei.mpg.de/ianhin" target="_blank">http://members.aei.mpg.de/ianhin</a></div></div></div></div></div>
</div>
<br></font></span></div></blockquote></div><br></div>