[issue21162] code in multiprocessing.pool freeze if inside some code from scikit-learn (and probably liblinear) executed on ubuntu 12.04 64 Bit

2015-05-10 Thread Ivan K

Ivan K added the comment:

This behaviour was reproduced on Ubuntu 12.04 and on Centos 7 (centos image 
running on vagrant) so I don't expect this is ddistro specific

--

___
Python tracker 
<http://bugs.python.org/issue21162>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21162] code in multiprocessing.pool freeze if inside some code from scikit-learn (and probably liblinear) executed on ubuntu 12.04 64 Bit

2015-05-09 Thread Ivan K

Ivan K added the comment:

Sorry, forget to answer.

I think I know the reason.

Issue I think placed inside ATLAS library.
Issue not reproducable on Mac OS X because it's have a bit different thread 
model.

The only single platform is Linux (not tested on Windows btw). So main guess 
right now that this code fail if scikit-learn are compiled against a 
singlethread ATLAS. Then paralleling code brokes.

However there is very few information regarding how to build it with 
Multithreaded ATLAS so I'm still not 100% confident.

--
status: closed -> open

___
Python tracker 
<http://bugs.python.org/issue21162>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21162] code in multiprocessing.pool freeze if inside some code from scikit-learn (and probably liblinear) executed on ubuntu 12.04 64 Bit

2014-04-06 Thread Ivan K

Ivan K added the comment:

Yes, it work fine and output was 

LogisticRegression(C=1.0, class_weight=None, dual=False, fit_intercept=True,
  intercept_scaling=1, penalty=l2, random_state=None, tol=0.0001)

--

___
Python tracker 
<http://bugs.python.org/issue21162>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21162] code in multiprocessing.pool freeze if inside some code from scikit-learn (and probably liblinear) executed on ubuntu 12.04 64 Bit

2014-04-06 Thread Ivan K

Ivan K added the comment:

Sorry, stupdi question. Forget that this is from my gist

--

___
Python tracker 
<http://bugs.python.org/issue21162>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21162] code in multiprocessing.pool freeze if inside some code from scikit-learn (and probably liblinear) executed on ubuntu 12.04 64 Bit

2014-04-06 Thread Ivan K

Ivan K added the comment:

Sorry, could you specify what is 'func' ?

--

___
Python tracker 
<http://bugs.python.org/issue21162>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21162] code in multiprocessing.pool freeze if inside some code from scikit-learn (and probably liblinear) executed on ubuntu 12.04 64 Bit

2014-04-06 Thread Ivan K

Ivan K added the comment:

Yes, I'm not using any tool. Code just not working.

--

___
Python tracker 
<http://bugs.python.org/issue21162>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21162] code in multiprocessing.pool freeze if inside some code from scikit-learn (and probably liblinear) executed on ubuntu 12.04 64 Bit

2014-04-06 Thread Ivan K

Ivan K added the comment:

Sorry, I'm not sure I describe it correct. Freeze that means = goes fozen, so 
stop progress. It's do no do anything, but computations still load single core 
of my cpu for 100% untill I do not kill the python process.

But the same code work's fine if executed outside pool, or on the different 
platforms (like Mac for example), my friend run it successfully, but for me it 
not works. So it's look like pretty unpredictable issue with conflicting OS, 
CPU, and Python I'm afraid.

--

___
Python tracker 
<http://bugs.python.org/issue21162>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21162] code in multiprocessing.pool freeze if inside some code from scikit-learn (and probably liblinear) executed on ubuntu 12.04 64 Bit

2014-04-05 Thread Ivan K

New submission from Ivan K:

Here is a code. https://gist.github.com/anonymous/9994217 When I run it in 
freeze and never end. If I run it without pool with loop or joblib - it works 
fine.

Also there is a question on stackoverflow: 
http://stackoverflow.com/q/22881850/1888017

Python 2.7.6/2.7.3, cpu core i7 if it's important

--
components: Library (Lib)
messages: 215620
nosy: Ivan.K
priority: normal
severity: normal
status: open
title: code in multiprocessing.pool freeze if inside some code from 
scikit-learn (and probably liblinear) executed on ubuntu 12.04 64 Bit
versions: Python 2.7

___
Python tracker 
<http://bugs.python.org/issue21162>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com