Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
77 views

I have a Python module that I would like to be able to run from the console, hence why I'm using pyinstaller. My module uses MPI and runs fine normally. Then I run the following: pyinstaller my_script....
Truls Henriksson's user avatar
1 vote
0 answers
48 views

Here is a translation of an C+MPI example in Python+Numpy+mpi4py. The goal of this example was to show that the message received is put in memory and that memory is in one dimension from mpi4py import ...
D. Lecas's user avatar
  • 111
1 vote
2 answers
100 views

I am trying to do something similar as described in Parallelize a function call with mpi4py But there are some things there that make me skeptical of the provided answer. Additionally, I have a class ...
Sterling Butters's user avatar
0 votes
0 answers
162 views

I am trying to use PySCF for electronic structure calculations and was curious about the parallelization schemes available to get the best performance. I've installed PySCF via Spack, which included ...
Anson Thomas's user avatar
0 votes
0 answers
57 views

I am trying to install mpi-sppy and am stuck with running a basic test script to make sure that the one-sided MPI calls work. I am using MPICH on Ubuntu 22.04 on Windows 11 by WSL2. The versions are ...
user15988's user avatar
  • 143
0 votes
1 answer
161 views

After reading the mpi4py documentation, I can't find any information about the use of MPI with multithreaded NumPy applications. That is, most of the mpi4py documentation related to NumPy involve data ...
Nick Richardson's user avatar
0 votes
1 answer
95 views

I am running code in parallel using mpi4py. I've noticed that if I run the code and perform a keyboard interrupt, my context manager __exit__ will run if I run the code as python file.py but will not ...
jared's user avatar
  • 9,583
0 votes
1 answer
115 views

My LAN is composed of 1 PC Windows 10 Pro (manager) and 3 PCs Windows 11 Pro (workers). I installed on the PCs (manager and workers) MSMPI Microsoft MPI Startup Program Version 10.1.12498.52, MPI4PY v....
horus's user avatar
  • 91
0 votes
0 answers
955 views

I am trying to run a simple python program using mpi on Pop OS. I have installed MPICH $ mpiexec --version HYDRA build details: Version: 4.2.1 Release Date: ...
ray_lv's user avatar
  • 95
0 votes
0 answers
898 views

I have heard that there have been issues installing this package with Python 3.9 or higher (mine is 3.11.4), but I'm wondering if there is a workaround. I ran: python3 -m pip install mpi4py and got: ...
Harry Chittenden's user avatar
0 votes
1 answer
134 views

I've been tryin to install mpi4py library within my Conda environment of python version 3.8. I'm getting the following error message while installing through pip Building wheel for mpi4py (pyproject....
Sahil Yerawar's user avatar
0 votes
1 answer
43 views

system: MacOSX 14.4.1 python: 3.11.8 mpi4py: 3.1.5 OpenMPI: 5.0.2 installed with homebrew I have the following python script. The deadlock happens when I have 3 MPI ranks. I want to create a ...
Vince W.'s user avatar
  • 3,849
0 votes
1 answer
186 views

I am trying to run the following command: mpiexec -n 1 python scratch.py where scratch.py is a simple example provided here from mpi4py.futures import MPIPoolExecutor def square(i): global initialized ...
Hikmet Emre Kaya's user avatar
1 vote
0 answers
177 views

I wrote a Python code that spawns N sub-processes to run an executable, child, written in Fortran. I use an MPI Broadcast from the python main to communicate a message (a string that reads CNTRL) to ...
Giorgio Maria Cavallazzi's user avatar
0 votes
0 answers
117 views

I am trying to run a Python Package that uses MPI for running tasks in parallel. as per the package's guidelines; I installed MPICH 4.2.0, followed my mpi4py. However, after running their example ...
Hikmet Emre Kaya's user avatar
0 votes
0 answers
138 views

I am trying to scatter a pandas dataframe to spawned children processes. Here is what I have tried. master.py from mpi4py import MPI import numpy as np import sys import pandas as pd comm = MPI....
jasmine's user avatar
  • 263
0 votes
0 answers
71 views

I have some code where I am trying to communicate data across processors. I have a nested list of neighbors, in which each element reperesents a subsection of the data, and the elements of that list ...
Spasmann's user avatar
0 votes
0 answers
126 views

I have a for loop which calculates a number in each iteration and sets it as a new element in a zeros array. How to parallelize this loop with mpi4py? Help is much appreciated! Code is given below. ...
Иван Петраш's user avatar
2 votes
1 answer
102 views

Dealing with mypy @overload I wanted to have something like enum but for types. You see, I deal with mpi4py and there is an argument tag that does nothing very useful, just separates messages (so that ...
MPEI_stud's user avatar
  • 135
0 votes
0 answers
1k views

I am trying to install packages for a project in conda environment. I have issues in building wheel for mdp4py package. The package is installed but couldnt build a wheel for it. The error code is too ...
HARSH DEVMURARI's user avatar
0 votes
1 answer
2k views

Dear Community, i am struggling with installing "mpi4py" on my Ubuntu 20.04 WSL. The error i am getting is the following: pip install mpi4py Defaulting to user installation because normal ...
LorenzH's user avatar
  • 21
0 votes
1 answer
1k views

I am trying to install mpi4py through anaconda, and got this error. /opt/spack/opt/spack/linux-rhel8-icelake/gcc-8.4.1/anaconda3-2021.05-fmo625scqdt32etnaksoexe3rd6sea7j/bin/mpicc -Wsign-compare -...
nougako's user avatar
  • 240
0 votes
1 answer
289 views

I have an application where I need to perform many loops, each of which will create a shared array that I want to overwrite the previously shared array. When I try this, however, I run into what seems ...
interatomic's user avatar
0 votes
0 answers
18 views

I have openmpi-4.1.4 installed and python 3.9 on Ubuntu 18.04. When I go to build mpi4py from source, I get this error: (DL) root@autodl-container-7e5411a952-3306111c:/usr/local/mpi4py/mpi4py-3.1.1# ...
dairhepon's user avatar
0 votes
0 answers
266 views

I'm writing python code using mpi4py and its not finishing unless I manually cancel the job. My code is something like this: from mpi4py import MPI if __name__ == "__main__": comm = MPI....
Pepe's user avatar
  • 134

1
2 3 4 5
10