Skip to main content
Filter by
Sorted by
Tagged with
1 vote
2 answers
71 views

I'm trying to implement Conway's Game of Life in C, showing that it can scale with OpenMP. The results in the following picture are from running it on a socket of a machine with 64 cores equally ...
pettepiero's user avatar
0 votes
0 answers
31 views

We are running an AzureML job with a parallel component. The component is instructed to look into a URI_FOLDER path and distribute the operation contained inside the run() method of the entry script ...
Easymode44's user avatar
2 votes
1 answer
132 views

I am migrating LTO-6 tapes to LTO-9 tapes. I wrote a script for this that uses parallel so that I can have two or 4 tape drives running at the same time. It works totally fine but the logging. I was ...
Robin's user avatar
  • 391
0 votes
0 answers
45 views

I want to perform parallel computing on my ShapeletTransform. According to the documentation, I need to set the backend:parallel flag to 'loky' to activate the parallel method of the class. However, ...
Echanted Kingdom's user avatar
0 votes
1 answer
85 views

I am conducting a multiple imputation in a relatively big dataset (over 700 variables, over 10.000 records), using mice, specifically futuremice function. impDt <- futuremice(data,m=5,maxit=20,...
hamagust's user avatar
  • 916
0 votes
2 answers
108 views

POSH Code: https://pastebin.com/sKYCJSpZ Line 819: Remove-Job -Job $j This is a very long script that cycles through forests and domains and pulls lists of users and groups (with their membership) ...
Alex's user avatar
  • 13
0 votes
0 answers
111 views

I'm trying to implement a lock-free hashmap in C.(It doesn't actually free the elements when removing, I'm letting memory leak until it's destroyed). A node contains value, next ptr, and char array ...
archixe's user avatar
1 vote
1 answer
61 views

I am implementing a Zero MQ message listener service in Go, and I am struggling to find the most idiomatic pattern of processing those messages and storing them in a DB using Goroutines. I am ...
Sayak Mukhopadhyay's user avatar
0 votes
1 answer
76 views

Given the code below, I am unable to remedy the fact that only rank 0 participates in evaluations of Objective after the first iteration of the (SciPy) minimizer. Obviously the rank!=0 workers finish ...
Sterling Butters's user avatar
0 votes
1 answer
43 views

Sharing a common DolphinDB use case and solution for data processing. How to implement a script in DolphinDB to perform sliding window calculations on a vector at equal intervals? For example, ...
saki's user avatar
  • 319
3 votes
0 answers
141 views

ENVIRONMENT: Windows 10; VS 2022 C++; Compute Capability 6.1; Cuda 12.8. I saw CUDA was being used at work on a project, so on my own time, I am trying to learn CUDA programming by watching NVIDIA ...
PaulH's user avatar
  • 325
3 votes
1 answer
107 views

I have a found myself most confused by the result of my tests regarding effects of different scheduling for #pragma omp parallel for. Basically my confusion sprouted from the following problem: I have ...
Yas Nas's user avatar
  • 41
-4 votes
1 answer
287 views

In a talk on The C++ Execution Model, from the cppunderthesea 2024 conference, at around 44:50, NVIDIA's Bryce Adelstein Lelbach claims, that non-NVIDIA GPUs give no guarantee of threads progressing (&...
einpoklum's user avatar
  • 137k
-1 votes
2 answers
85 views

Here is my problem. I have a very large file with about 4m rows, where each row has something like a paragraph of text. Then I have a word list with about 150 terms, some are 1-grams and some are 2-...
statsman's user avatar
1 vote
1 answer
124 views

I'm working on a .NET 8 console-based application running in a Debian-based Docker container, which scans a Linux-mounted Windows Share file system. The application needs to process 2–3 million files ...
Himanshu Garg's user avatar
0 votes
0 answers
25 views

When my Azure pipelines are triggered automatically, my processing time takes 1 hour... when I run it manually, it takes 30 minutes... why this difference could be happening... even if my pipelines do ...
Gizem's user avatar
  • 1
0 votes
0 answers
109 views

I'm attempting to serve a pretrained Stable Diffusion model with LoRA weights applied using TorchServe. However, the LoRA weights don't seem to load properly, and I'm not sure why. Could anyone help ...
박연수's user avatar
2 votes
1 answer
66 views

I am writing a bash script for using Spamassassin. I have a single folder with loads of emails stored as text files. (1744408703.1184229_99.txt). I want to feed all of them to Spamassassin through sa-...
Christian's user avatar
  • 387
1 vote
1 answer
144 views

I am tying to write my own threadpool, I am noticing that currently, trying to use this custom made threadpool is slower than doing the exact same work in a single threaded fashion and I don't ...
Makogan's user avatar
  • 9,991
1 vote
1 answer
62 views

**Config TaskExecutor:** @Bean("threadImport") public TaskExecutor threadImport() { log.info("*** init threadImport with corePoolSize [{}] maxPoolSize [{}]", ...
hungtv's user avatar
  • 124
0 votes
0 answers
62 views

I'm working on a CPU-bound task in Python and attempted to speed it up using the multiprocessing module. I expected performance improvements due to parallel execution, but instead, the multiprocessing ...
Bilal Ahmed's user avatar
0 votes
1 answer
86 views

I am currently writing a c++ MPI program to parallelize a certain computation. On Rank # 0, I have a priority queue of jobs. What I want to do is as follows. First, the highest priority item in the ...
dbrane's user avatar
  • 169
0 votes
0 answers
50 views

I'm currently working on a parallel and distributed computing project where I'm comparing the performance of XGBoost running on CPU vs GPU. The goal is to demonstrate how GPU acceleration can improve ...
Mxneeb's user avatar
  • 19
2 votes
1 answer
86 views

I have the following setting. I have a set of particle sin a simulation and a grid with cells. Each particle needs to update a neighbourhood around itself in the grid. Thus I can think of two options: ...
Makogan's user avatar
  • 9,991
0 votes
0 answers
71 views

I'm working on an R package 'mypkg' and use devtools::load_all() inside an Rstudio project to simulate what loading it would look like after making changes. This works fine for all my code except for ...
Jon's user avatar
  • 763
1 vote
2 answers
95 views

I'm setting up IO for a largescale CFD code using the MPI library and the file IO is starting to eat into computation time as my problems scale. As far as I can find the "done" thing in the ...
Subject303's user avatar
0 votes
1 answer
199 views

I have C# code that reads a .TXT file, processes each line, and subsequently inserts documents into a MongoDB database. Since the file contains many lines (approximately 70k), both reading all lines ...
evomoreira's user avatar
0 votes
0 answers
71 views

I am using JagsUI to run many single and multi-predictor models, using the autojags() function to run them until convergence. I would like to do model selection using WAIC, rather than DIC. The JagsUI ...
madip's user avatar
  • 15
0 votes
0 answers
50 views

Consider this: enum State { OK, Maybe, No }; State CheckState(string s) { /*Some logic*/ } void Work() { HashSet<string> myStrings = GetStrings(); var result = myStrings.Where(s => ...
Kjell Rilbe's user avatar
  • 1,623
0 votes
1 answer
103 views

In OceanBase (MySQL Mode), I know that I can set the parallel degree of a table or index using SQL commands like: alter table my_table parallel 4; alter index my_index parallel 2; However, for ...
user avatar
0 votes
1 answer
74 views

My current implementation tries to figure out the available CPU in percents and then spawn new workers as long as there is at least 5% available. Here is the code: public class CpuAvailabilityMonitor {...
mark's user avatar
  • 63.6k
0 votes
0 answers
70 views

Does the mirai R package use shared memory parallelism? The parallel package uses shared memory parallelism with the mc* (e.g. mclapply) functions and fork clusters, in the sense that the input data ...
user's user avatar
  • 1,150
2 votes
1 answer
67 views

I am doing a class on parallelization. We're given an MPI program and told to determine the maximum big O for processes so that the program is cost-optimal. Cost optimality is defined where big theta ...
Girrafe man's user avatar
-3 votes
1 answer
82 views

When running NUnit test to check if multiple PDF reports have been generated correctly the following exception is being thrown System.Runtime.InteropServices.COMException : Invalid index. (Exception ...
Nikola's user avatar
  • 138
2 votes
1 answer
145 views

I'm using PowerShell with -Parallel to speed up a script that checks file formats using ImageMagick. The script works without parallel processing, but it's too slow with a large number of files. When ...
hmtl's user avatar
  • 45
2 votes
1 answer
79 views

I am using the atakrig package. When setting the number of cores to 8 for parallel computation I am getting this error: 0%Error in serialize(data, node$con) : error writing to connection. If I set the ...
Nikos's user avatar
  • 413
0 votes
0 answers
103 views

I am using the pathos multiprocessing to parallelize a gradient calculation that is embarrassingly parallel, using finite difference. Below is a high level example of how it is set up, ` ... class ...
der's user avatar
  • 1
2 votes
4 answers
323 views

I have a weird scenario. I have a list of groups. For each group, I need to start a task for all the contents, but I need to make sure the last value in each group is run last. Simplified function ...
pseudodev's user avatar
  • 188
1 vote
0 answers
53 views

I'm using Open MP with Fortran 08 (compiled with GFortran) to create nested parallel regions (in my case, a 3-level nest). Before running my executable, I set some Linux environment variables to ...
Frank's user avatar
  • 11
1 vote
1 answer
113 views

The task was to implement various matrix multiplication algorithms using OpenMP. It turned out that with num_threads(1), the program runs faster than with any other number of threads. Is this due to ...
Илья Анненков's user avatar
0 votes
0 answers
54 views

Is there any useful plugin to run parallel unit test in fastlane for ios? lets say like i have 10 schemes, currently its running in loop but it is taking too much of time. so i wanted to run parallel ...
Iswaria Sasi's user avatar
0 votes
1 answer
95 views

I am currently developing a shinyapp for rastercalculations similarly like: https://github.com/NEPEM-UFSC/plimanshiny I am developing it to run on a high performance cluster because I want to ...
vbbraun's user avatar
0 votes
1 answer
75 views

I need to parallelize a function that modifies values of one of the arguments. For example modify this simple code: def Test(i, a, length): if i % 2 == 0: for x in range(0, length, 2): ...
FiReTiTi's user avatar
  • 5,979
0 votes
0 answers
46 views

SSAS Tabular 1600 - Partition Processing Issue - Random Empty Partitions During Full Parallel Processing Details: We have a fact table with 800 million rows, split into 25 partitions by Month Index (...
MilkyMan's user avatar
1 vote
0 answers
114 views

I am trying to perform calculations on a large (300000+ items) array of doubles. I have tried iterating through this array with a regular for-loop. This works, but is rather slow. I then tried using a ...
user avatar
2 votes
1 answer
132 views

I'm trying to perform an std::vector sum reduction with an OpenMP reduction declaration for it: // g++ -fopenmp MRE.cpp -o MRE #include <vector> #include <algorithm> #include <omp.h> ...
Stefan de Souza's user avatar
1 vote
0 answers
71 views

I spun up a cloud server and put my flask web app code plus a frontend in there. When a user runs an operation on the frontend this gets sent to the backend endpoint as a JSON, then processed and ...
Rigori67's user avatar
3 votes
1 answer
84 views

In order to adjust the columns' widths of a spreadheet document to their content, I need to compute the 'real' width in 'characters' (defined by Microsoft as the ratio of the real width divided by the ...
Olivier7121's user avatar
2 votes
0 answers
43 views

In the last example of Mark Harris' webinar I don't understand the indexing before the parallel reduction part. In "Reduction #6" the gridSize/number of dispatches was ceil[N (the size of ...
Michael Bay's user avatar
0 votes
3 answers
339 views

I have a folder containing 600 PDF files, and each PDF has 20 pages. I need to convert each page into a high-quality PNG as quickly as possible. I wrote the following script for this task: import os ...
Pubg Mobile's user avatar