<html>#2344: presync fails to parse WaveToyOpenCL's schedule.ccl
<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>critical</td></tr>
<tr><td style='text-align:right'>Component:</td><td>EinsteinToolkit thorn</td></tr>
</table>
<p>WaveToyOpenCL is part of the ET and compiled (and tested) on Blue Waters.</p>
<p>Right now it fails to compile with</p>
<div class="codehilite"><pre><span></span>CST warning in /mnt/a/u/staff/rhaas/ET_Next/arrangements/CactusExamples/WaveToyOpenCL/schedule.ccl (at + 25) -> Error read/write declaration in WaveToyOpenCL_Boundary schedule.
[...]
CST warning in /mnt/a/u/staff/rhaas/ET_Next/arrangements/CactusExamples/WaveToyOpenCL/schedule.ccl (at + 25)
-> Error read/write declaration in WaveToyOpenCL_Boundary schedule.
HINT: Did you mean WAVETOYOPENCL::scalar?
</pre></div>
<p>line 25 of the scehdule.ccl file in question is</p>
<div class="codehilite"><pre><span></span><span class="n">WRITES</span><span class="o">:</span> <span class="n">WaveToyOpenCL</span><span class="o">::</span><span class="n">Scalar</span>
</pre></div>
<p>which (op to case) matches. Cactus variables and group mentioned in <a data-is-external-link="true" href="http://schedule.cc" rel="nofollow">schedule.cc</a>l are not normally case sensitive (the error goes away if I make “Scalar” → “scalar”).</p>
<p>Admittedly the whole CUDA and OpenCL support on BW may change since the new default compiler (gcc 6) is not supported by CUDA (needs 4.9 [which is a no-go] or 5 [maybe, would be compatible I think]).</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2344/presync-fails-to-parse-wavetoyopencls'>https://bitbucket.org/einsteintoolkit/tickets/issues/2344/presync-fails-to-parse-wavetoyopencls</a></p>
</html>