Skip to main content
0 votes
1 answer
106 views

I am currently working on the modernization of a quite large application analyzing large amount of text data. The application is made of executables, launching other executables and so forth. Some of ...
KNaud's user avatar
  • 1
7 votes
2 answers
361 views

The following code works fine on Python 3.13, but fails on Python 3.14 with a RuntimeError related to asyncio tasks. If I switch the multiprocessing start method from "fork" to "spawn&...
DarkMath's user avatar
  • 1,510
0 votes
0 answers
18 views

I have an Android application with a multi-process architecture where certain activities are launched in different processes. Here is the scenario: Main Activity (Activity A) runs in Process A. When ...
karthiksatyanarayana's user avatar
0 votes
1 answer
102 views

I'm trying to implement logging in a Python application where I use both threads and processes. I have a custom LoggingManager that uses a QueueHandler to push log records from multiple processes to a ...
Basavaraj Biradar's user avatar
0 votes
0 answers
108 views

I'm using the multiprocess library to accelerate a CPU-bound task (a method inside a user-defined class). The function processes a page of a document, in my example a 500-page document takes around 20 ...
zest16's user avatar
  • 679
0 votes
0 answers
110 views

I am using a commercial finite element application called Abaqus/CAE with a built-in Python 2.6 interpreter and API. The inp file is for Abauqus to calculate with having geometry, material properties,...
Leo's user avatar
  • 1
0 votes
1 answer
48 views

I am initializing multiprocessing.Lock() in a worker process. like: with multiprocessing.Lock(): shared_value+=1 is it any different passing a single instance from the parent process through all ...
Anonymous's user avatar
1 vote
1 answer
61 views

I have a flask web app that does image processing. The parent application calls a function that creates several temporary images, writes them to disk, and stores their paths in the flask Session. That ...
RedHand's user avatar
  • 309
1 vote
0 answers
63 views

We are trying to run multiple simulation tasks using a multiprocess pool in order to reduce the overall runtime compared to running each task individually in a series. At the beginning of the run CPU ...
betamax's user avatar
  • 11
0 votes
0 answers
49 views

I am trying to parallelize the processing of some JSON files using Python's multiprocess module. The amount of time required to process a fixed number of files within a subprocess seems to depend on ...
broken.eggshell's user avatar
1 vote
0 answers
67 views

I have some activities that I want to launch. Sometimes I want to launch the activity from my main process (e.g. another activity), and sometimes I want to launch them from my service which is running ...
Hounshell's user avatar
  • 5,469
0 votes
0 answers
152 views

I've run into a bit of an odd situation. I have a python script that counts features across chromosomes. I've parallelized the script so it sends each CPU (set by --threads) a number of chromosomes. ...
Carlos Guzman's user avatar
1 vote
1 answer
164 views

I'm trying to implement a shared numpy array for use in multiprocessing. It works fine on smaller arrays, but then failed when I tried to use a ~2.7GB numpy array (about 5.6Mx64 matrix). After a ...
Trent Yarosevich's user avatar
0 votes
0 answers
25 views

I would like to use multiprocessing in my jupyter notebook and AFAIK, the multiprocess package is the way to to that. My function does quite a lot of stuff, so it calls multiple subfunctions, but this ...
Sarius2009's user avatar
1 vote
3 answers
87 views

I have two python files. File: multiprocess_pool.py from multiprocessing import Pool A = Pool(5) File: main.py from multiprocess_pool import A def start(x): print(x+1) if __name__ == '...
the monkey of BIT's user avatar

15 30 50 per page
1
2 3 4 5
32