Hi, I have reported in Nov of 2020 that dmtcp sometimes hangs with import of numpy in python applications. I have since then found out that dmtcp sometimes hangs with pykdtree, in the python code such as this one: ------------------------------------------------------------- import numpy as np from pykdtree.kdtree import KDTree
data_pts_real = np.array([[...]]) # details of data omitted query_pts = np.array([[...]]) # details of data omitted kdtree = KDTree(data_pts_real) ### this line sometimes causes the process to hang when run with ### dmtcp_launch python test_KDTree.py dist, idx = kdtree.query(query_pts, sqr_dists=True) print ('dist: ', dist) print ('idx: ', idx) ------------------------------------------------------------- What's interesting is, that dmtcp hangs sometimes with both numpy and pykdtree (in Docker containers), sometimes only with pykdtree but not with numpy (on one physical machine), and sometimes runs fine with both (on another physical machine). This feels like it has to do with the installation of dmtcp, or the overall run-time environment? I have been using Centos 7. Anyone has the same experience? Any suggestions on how to fix this? Please help me! This is an important part of an important project of mine. Thank you very much in advance! -Lei Pan Jet Propulsion Laboratory
_______________________________________________ Dmtcp-forum mailing list Dmtcp-forum@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dmtcp-forum