[ITK-users] pthread_create fail

Lowekamp, Bradley (NIH/NLM/LHC) [C] blowekamp at mail.nih.gov
Wed Jan 11 15:06:14 EST 2017


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?

Brad


On Jan 10, 2017, at 4:06 PM, Simon Rit <simon.rit at creatis.insa-lyon.fr<mailto:simon.rit at creatis.insa-lyon.fr>> wrote:

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.
Simon

On Tue, Jan 10, 2017 at 3:23 PM, Lowekamp, Bradley (NIH/NLM/LHC) [C] <blowekamp at mail.nih.gov<mailto:blowekamp at mail.nih.gov>> wrote:
Hello,

Where is the program execution when the thread being created?

It could fail if the environment has a limit on the number of threads/processes that can run ( i.e. some ulimit like seeing ).

Brad

On Jan 10, 2017, at 7:06 AM, Simon Rit <simon.rit at creatis.insa-lyon.fr<mailto:simon.rit at creatis.insa-lyon.fr>> wrote:

Dear all,
I have been fighting for a couple of weeks to have ITK-based software (in this case RTK<http://openrtk.org/>) 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.
First, ITK does not handle correctly this situation. I have submitted a patch<http://review.source.kitware.com/#/c/21935/> for this.
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.
Thanks in advance for your help,
Simon
_____________________________________
Powered by www.kitware.com<http://www.kitware.com/>

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


_____________________________________
Powered by www.kitware.com<http://www.kitware.com/>

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20170111/84a81983/attachment.html>


More information about the Insight-users mailing list