<div dir="ltr"><div>Thanks for your answer. The program execution is on my lab cluster, running Fedora 24 and PBS for job scheduling. I did not see any such limit but I'm probably missing something. Note that the programs seem to run with ITK_USE_THREADPOOL=ON.<br></div>Simon<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 10, 2017 at 3:23 PM, Lowekamp, Bradley (NIH/NLM/LHC) [C] <span dir="ltr"><<a href="mailto:blowekamp@mail.nih.gov" target="_blank">blowekamp@mail.nih.gov</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">
Hello,
<div><br>
</div>
<div>Where is the program execution when the thread being created?</div>
<div><br>
</div>
<div>It could fail if the environment has a limit on the number of threads/processes that can run ( i.e. some ulimit like seeing ).</div>
<div><br>
</div>
<div>Brad</div>
<div><br>
<div>
<blockquote type="cite"><div><div class="h5">
<div>On Jan 10, 2017, at 7:06 AM, Simon Rit <<a href="mailto:simon.rit@creatis.insa-lyon.fr" target="_blank">simon.rit@creatis.insa-lyon.<wbr>fr</a>> wrote:</div>
<br class="m_5905020818349878742Apple-interchange-newline">
</div></div><div><div><div class="h5">
<div dir="ltr">
<div>
<div>
<div>
<div>Dear all,<br>
</div>
I have been fighting for a couple of weeks to have ITK-based software (in this case
<a href="http://openrtk.org/" target="_blank">RTK</a>) run properly after an upgrade of our cluster to Fedora 24 (where our nightly tests are run). These are tests that are running well on other platforms. We have finally found a lead: for a reason that we don't understand,
 pthread_create fails.<br>
First, ITK does not handle correctly this situation. I have <a href="http://review.source.kitware.com/#/c/21935/" target="_blank">
submitted a patch</a> for this.<br>
</div>
My question is : does anyone know why a pthread_create would fail and is there any solution? This is the first time that I see such a behavior.<br>
</div>
Thanks in advance for your help,<br>
</div>
Simon<br>
</div></div></div>
______________________________<wbr>_______<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/<wbr>products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_<wbr>FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/insight-users</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>

<br>______________________________<wbr>_______<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_<wbr>FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br></div>