<html>#2332: piraha does not allow variable expansion in ActiveThorns
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Roland Haas</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td></td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>minor</td></tr>
<tr><td style='text-align:right'>Component:</td><td>Cactus</td></tr>
</table>

<p>Piraha fails to allow things like:</p>
<div class="codehilite"><pre><span></span>$thorn = &quot;PUGH&quot;
ActiveThorns = &quot;$thorn&quot;
</pre></div>


<p>since it looks for “ActiveThorn” lines before parsing anything else of the parfile (this is in <code>src/piraha/Call.cc</code> in <code>cctk_PirahaParser</code> line 1072.</p>
<p>It should not do so since the documentation <a data-is-external-link="true" href="http://einsteintoolkit.org/usersguide/UsersGuidech7.html#x10-320023" rel="nofollow">http://einsteintoolkit.org/usersguide/UsersGuidech7.html#x10-320023</a> does not document “ActiveThorns” to be (that) special.</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2332/piraha-does-not-allow-variable-expansion'>https://bitbucket.org/einsteintoolkit/tickets/issues/2332/piraha-does-not-allow-variable-expansion</a></p>
</html>