<html>#2595: Modern Intel compilers struggle to compile McLachlan resulting in extremely long build times
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Gabriele Bozzola</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>development version</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></td></tr>
</table>

<p>As mentioned in ET Call on 09/02/22. </p>
<p>I am compiling a subset of the latest release of the Einstein Toolkit with one of latest version available of Intel oneAPI (2021.5). I am attaching thornlist and optionfile. </p>
<p>I see warnings like this:</p>
<div class="codehilite"><pre><span></span><span>/home/sbozzolo/storage/codes/einstein_toolkit/Cactus/configs/sim/build/ML_BSSN/ML_BSSN_EvolutionInteriorSplitBy2.cc(49): warning #16219: Some OpenMP processing was skipped to constrain compile time. Consider overriding limits (-qoverride-limits).</span>
</pre></div>


<p>which essentially informs me that the compiler cannot optimize the code within a time frame that is heuristically determined. </p>
<p>As a result, compilation takes a very long time (several tens of minutes). I have seen this on other supercomputers with compilers from 2019. </p>
<p>‌</p>
<p>(I don’t seem able to attach two files, so I am attaching only the option list. )</p>
<p><table><tr><td>attachment:</td><td><a href="https://api.bitbucket.org/2.0/repositories/einsteintoolkit/tickets/issues/2595/attachments/generic-intel.cfg">generic-intel.cfg</a></td></tr>
</table></p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2595/modern-intel-compilers-struggle-to-compile'>https://bitbucket.org/einsteintoolkit/tickets/issues/2595/modern-intel-compilers-struggle-to-compile</a></p>
</html>