Comments (8)
Looks like we also have an issue reporting this #372. Thank you @Jokeren for reporting this, we'll look into this issue and keep you posted.
from hatchet.
cc: @cscully-allison
@Jokeren I am curious about the new database. Is the raw format json or are you converting the raw format to a json that hatchet's from_literal function can read?
from hatchet.
We are writing a calling context tree in memory directly to a json file. It could be read directly by hatchet's from_literal function.
from hatchet.
@cscully-allison Hi, just wonder if this problem has been resolved?
from hatchet.
@Jokeren Any idea where in the filter function this is hanging when num_procs>1
? How long did the filter function take to process this file when num_procs=1
?
from hatchet.
Any idea where in the filter function this is hanging when num_procs>1?
Haven't looked into that yet. I'll try and attach a call stack at where the process is hanging.
How long did the filter function take to process this file when num_procs=1?
A few minutes.
from hatchet.
Thanks @Jokeren! At my end, I'll also use hatchet's internal profiling tool that @cscully-allison added to debug where this is hanging.
from hatchet.
Hi @slabasan , this seems to the be call stack where hatchet is hanging.
File "test.py", line 4, in
g_range_filtered = g_range.filter(lambda x: x['GINS (I)'] > 0.0)
File "/home/kz21/GVProf/gvprof/spack/opt/spack/linux-rhel8-zen/gcc-8.3.1/miniconda3-4.9.2-mj647a4iulmnlilwwhwbdjkqqsm4ujyc/lib/python3.8/site-packages/hatchet/graphframe.py", line 379, in filter
returned_frames.append(queue.get())
File "/home/kz21/GVProf/gvprof/spack/opt/spack/linux-rhel8-zen/gcc-8.3.1/miniconda3-4.9.2-mj647a4iulmnlilwwhwbdjkqqsm4ujyc/lib/python3.8/site-packages/multiprocess/queues.py", line 100, in get
res = self._recv_bytes()
File "/home/kz21/GVProf/gvprof/spack/opt/spack/linux-rhel8-zen/gcc-8.3.1/miniconda3-4.9.2-mj647a4iulmnlilwwhwbdjkqqsm4ujyc/lib/python3.8/site-packages/multiprocess/connection.py", line 219, in recv_bytes
buf = self._recv_bytes(maxlength)
File "/home/kz21/GVProf/gvprof/spack/opt/spack/linux-rhel8-zen/gcc-8.3.1/miniconda3-4.9.2-mj647a4iulmnlilwwhwbdjkqqsm4ujyc/lib/python3.8/site-packages/multiprocess/connection.py", line 417, in _recv_bytes
buf = self._recv(4)
File "/home/kz21/GVProf/gvprof/spack/opt/spack/linux-rhel8-zen/gcc-8.3.1/miniconda3-4.9.2-mj647a4iulmnlilwwhwbdjkqqsm4ujyc/lib/python3.8/site-packages/multiprocess/connection.py", line 382, in _recv
chunk = read(handle, remaining)
from hatchet.
Related Issues (20)
- Multiprocessing is Experiencing Deadlocks in GraphFrame.filter HOT 3
- Multiprocess not installed with Hatchet through Pip HOT 1
- Graph Literal Validator
- Elide collapsed subtrees with triangle icons [Roundtrip] HOT 1
- Pan/Zoom on Trees [Roundrip] HOT 1
- Draw Trees to Utilize more Vertical Space [Roundtrip] HOT 2
- Collapse Trees by Default [Roundtrip]
- Add "inplace" to hatchet operations HOT 1
- Add bivariate color map to roundtrip HOT 1
- Make Roundtrip Javascript Loading More Dynamic / Change Javascript Development Workflow HOT 1
- Q: How to read in traces generated by Caliper? HOT 4
- Add a Reader for ROCProfiler HOT 2
- build error for Python 3.9 HOT 1
- feature request: subtree aggregate, graphframe subtree HOT 4
- import multiprocess as mp HOT 8
- bug in cprofile reader
- Support for Perfetto Trace Format HOT 1
- Filter/squash error on HPCToolkit database: `AttributeError: 'int' object has no attribute '_hatchet_nid'` HOT 2
- build failure on python 3.11, longintrepr.h not found HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hatchet.