Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
87 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....
1 vote
1 answer
66 views

I have a mpi4py program, which runs well with mpiexec -np 30 python3 -O myscript.py at 100% CPU usage on each of the 30 CPUs. Now I am launching 8 instances with mpiexec -np 16 python3 -O myscript.py. ...
j13r's user avatar
  • 2,741
1 vote
0 answers
53 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
0 votes
1 answer
78 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 ...
1 vote
2 answers
110 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 ...
0 votes
0 answers
47 views

This is the problem in VSCode: import matplotlib.pyplot as plt # Import "matplotlib.pyplot" could not be resolved from sourcePylancereportMissingModuleSource from mpi4py import MPI # No ...
0 votes
0 answers
176 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 ...
0 votes
0 answers
66 views

I am entirely new with MPI and MS-MPI, so this will be the utmost basic of questions that will hopefully have a simple answer. I am trying to run a Python script that incorporates mpi4py to distribute ...
0 votes
0 answers
62 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
40 views

I'm wondering whether it is possible in Python to use MPI's reduce function (lowercase) when doing DPM. Currently I have a working code that explicitly uses memory buffers with Reduce (uppercase). Is ...
0 votes
1 answer
172 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 ...
0 votes
1 answer
85 views

I am learning MPI4Py and I wanted to implement a simple program. Explanation Here, each rank has a send_array of size rank+1 and values equal to rank+1 respectively. rank0 = [1] rank1 = [2 2] rank2 = [...
ray_lv's user avatar
  • 95
0 votes
1 answer
102 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
1 vote
1 answer
509 views

My MPI comm.size is always 1. I ran the following python script (test_mpi.py) to check if MPI was working properly. mpirun -np 4 python test_mpi.py from mpi4py import MPI import mpi4py comm = MPI....
0 votes
1 answer
137 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

15 30 50 per page
1
2 3 4 5
...
33

AltStyle によって変換されたページ (->オリジナル) /