<div dir="ltr">Bernard<div><br></div><div>Instead of using STARTUP, consider using WRAGH, BASEGRID, or INITIAL. These schedule bin might be more appropriate since more infrastructure is available.</div><div><br></div><div>-erik</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 27, 2018 at 4:48 PM, Roland Haas <span dir="ltr">&lt;<a href="mailto:rhaas@illinois.edu" target="_blank">rhaas@illinois.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Bernard,<br>
<br>
STARTUP and SHUTDOWN are special (no grid hierarchy yet or none<br>
anymore), also you can abort Cactus in STARTUP routines if you<br>
returned non-zero (the docs says it is ignore right now though). See:<br>
<br>
<a href="http://einsteintoolkit.org/usersguide/UsersGuidech14.html#x19-205000D4" rel="noreferrer" target="_blank">http://einsteintoolkit.org/<wbr>usersguide/UsersGuidech14.<wbr>html#x19-205000D4</a><br>
<br>
Yours,<br>
Roland<br>
<div class="HOEnZb"><div class="h5"><br>
&gt; Hi.<br>
&gt; <br>
&gt; I recently took a simple thorn --- one routine scheduled at  POSTEVOL<br>
&gt; --- and enlarged it so that now there&#39;s a second routine scheduled at<br>
&gt; STARTUP.<br>
&gt; <br>
&gt; Both routines are written in C, taking in CCTK_ARGUMENTS, and<br>
&gt; returning void. The new routine is called Interpolate_setup.c<br>
&gt; <br>
&gt; During compilation, I get the following warning:<br>
&gt; <br>
&gt; ------------------------------<br>
&gt; /nobackupp2/bjkelly1/codes/<wbr>Cactus/configs/sim/build/<wbr>interp_metric_sph_grid/<wbr>Interpolate_setup.c(47):<br>
&gt; warning #147: declaration is incompatible with &quot;int<br>
&gt; sph_grid_metric_initialize(<wbr>void)&quot; (declared at line 7 of<br>
&gt; &quot;/nobackupp2/bjkelly1/codes/<wbr>Cactus/configs/sim/bindings/<wbr>include/interp_metric_sph_<wbr>grid/cctk_ScheduleFunctions.h&quot;<wbr>)<br>
&gt;   void sph_grid_metric_initialize(<wbr>CCTK_ARGUMENTS){<br>
&gt;          ^<br>
&gt; ------------------------------<br>
&gt; <br>
&gt; Can anyone tell me why the build process is assuming that the new<br>
&gt; routine is taking a void input and returning int? I can edit the<br>
&gt; thorn&#39;s auto-generated &quot;cctk_ScheduleFunctions.h&quot; by hand to correct<br>
&gt; this behavior, but it seems like it shouldn&#39;t be necessary.<br>
&gt; <br>
&gt; Bernard<br>
&gt; ______________________________<wbr>_________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@einsteintoolkit.org">Users@einsteintoolkit.org</a><br>
&gt; <a href="http://lists.einsteintoolkit.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.einsteintoolkit.<wbr>org/mailman/listinfo/users</a><br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">-- <br>
My email is as private as my paper mail. I therefore support encrypting<br>
and signing email messages. Get my PGP key from <a href="http://pgp.mit.edu" rel="noreferrer" target="_blank">http://pgp.mit.edu</a> .<br>
</font></span><br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@einsteintoolkit.org">Users@einsteintoolkit.org</a><br>
<a href="http://lists.einsteintoolkit.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.einsteintoolkit.<wbr>org/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Erik Schnetter &lt;<a href="mailto:schnetter@cct.lsu.edu" target="_blank">schnetter@cct.lsu.edu</a>&gt;<br><a href="http://www.perimeterinstitute.ca/personal/eschnetter/" target="_blank">http://www.perimeterinstitute.ca/personal/eschnetter/</a></div><div><br></div></div></div>
</div>