<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
I don’t have much experience with ITK_USE_THREADPOOL enabled. I believe it is still labeled experimental. Does this problem occur if this feature is disabled?
<div class=""><br class="">
</div>
<div class="">Brad<br class="">
<div class=""><br class="">
</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Jan 10, 2017, at 4:06 PM, Simon Rit <<a href="mailto:simon.rit@creatis.insa-lyon.fr" class="">simon.rit@creatis.insa-lyon.fr</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">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 class="">
</div>
Simon<br class="">
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Tue, Jan 10, 2017 at 3:23 PM, Lowekamp, Bradley (NIH/NLM/LHC) [C]
<span dir="ltr" class=""><<a href="mailto:blowekamp@mail.nih.gov" target="_blank" class="">blowekamp@mail.nih.gov</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word" class="">Hello,
<div class=""><br class="">
</div>
<div class="">Where is the program execution when the thread being created?</div>
<div class=""><br class="">
</div>
<div class="">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 class=""><br class="">
</div>
<div class="">Brad</div>
<div class=""><br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">
<div class="h5">
<div class="">On Jan 10, 2017, at 7:06 AM, Simon Rit <<a href="mailto:simon.rit@creatis.insa-lyon.fr" target="_blank" class="">simon.rit@creatis.insa-lyon.<wbr class="">fr</a>> wrote:</div>
<br class="m_5905020818349878742Apple-interchange-newline">
</div>
</div>
<div class="">
<div class="">
<div class="h5">
<div dir="ltr" class="">
<div class="">
<div class="">
<div class="">
<div class="">Dear all,<br class="">
</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" class="">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 class="">
First, ITK does not handle correctly this situation. I have <a href="http://review.source.kitware.com/#/c/21935/" target="_blank" class="">
submitted a patch</a> for this.<br class="">
</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 class="">
</div>
Thanks in advance for your help,<br class="">
</div>
Simon<br class="">
</div>
</div>
</div>
______________________________<wbr class="">_______<br class="">
Powered by <a href="http://www.kitware.com/" target="_blank" class="">www.kitware.com</a><br class="">
<br class="">
Visit other Kitware open-source projects at<br class="">
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank" class="">http://www.kitware.com/<wbr class="">opensource/opensource.html</a><br class="">
<br class="">
Kitware offers ITK Training Courses, for more information visit:<br class="">
<a href="http://www.kitware.com/products/protraining.php" target="_blank" class="">http://www.kitware.com/<wbr class="">products/protraining.php</a><br class="">
<br class="">
Please keep messages on-topic and check the ITK FAQ at:<br class="">
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank" class="">http://www.itk.org/Wiki/ITK_<wbr class="">FAQ</a><br class="">
<br class="">
Follow this link to subscribe/unsubscribe:<br class="">
<a href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank" class="">http://public.kitware.com/<wbr class="">mailman/listinfo/insight-users</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
<br class="">
______________________________<wbr class="">_______<br class="">
Powered by <a href="http://www.kitware.com/" rel="noreferrer" target="_blank" class="">
www.kitware.com</a><br class="">
<br class="">
Visit other Kitware open-source projects at<br class="">
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank" class="">http://www.kitware.com/<wbr class="">opensource/opensource.html</a><br class="">
<br class="">
Kitware offers ITK Training Courses, for more information visit:<br class="">
<a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank" class="">http://www.kitware.com/<wbr class="">products/protraining.php</a><br class="">
<br class="">
Please keep messages on-topic and check the ITK FAQ at:<br class="">
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank" class="">http://www.itk.org/Wiki/ITK_<wbr class="">FAQ</a><br class="">
<br class="">
Follow this link to subscribe/unsubscribe:<br class="">
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank" class="">http://public.kitware.com/<wbr class="">mailman/listinfo/insight-users</a><br class="">
<br class="">
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>