1,367 questions
5
votes
1
answer
107
views
Use Petsc-Library in Go
I am trying to use the PETSc (Portable, Extensible Toolkit for Scientific Computation) library in Go over cgo. After the call of PetscInitialize, the program will crash at a random point with the ...
4
votes
0
answers
79
views
Open-MPI and MPICH failing on simple test scripts in MacOS, regardless of install method
I cannot run open-mpi or mpich on my machine (macOS (Darwin 24.5.0, macOS Sequoia 15.5) with an Intel (x86_64) processor), and I suspect there is something seriously wrong with my compilers or ...
3
votes
0
answers
138
views
OpenMPI 5.0.7 problem in reading from stdin
I am trying to parallelize a program that reads a huge file from the stdin using OpenMPI. The problem is that the input is not correctly read. More specifically, when the OpenMPI runtime is ...
2
votes
0
answers
74
views
CMake FetchContent not building OpenMPI library in Visual Studio
I'm trying to add openmpi as a static library to my c++ project on a Windows Visual Studio environment using the mscv compiler. However, the FetchContent_MakeAvailable command does not seem to be ...
0
votes
1
answer
37
views
Do the OpenMPI docs mean OpenPMIx when they say "PMIx"?
https://docs.open-mpi.org/en/v5.0.x/launching-apps/pmix-and-prrte.html says "PMIx" is a standard. Then it says "PMIx" has many configure- and run-time options. How can a standard ...
0
votes
0
answers
68
views
How to nest mpi processes with python
I am using Mpi4py with OpenMPI on Ubuntu, and I also need this to run on RedHat. I am trying to run compute_ldos() for a relatively large set of parameters, and am trying to use as all available cores ...
0
votes
0
answers
41
views
OpenMPI program hangs over RoCE using libfabric
My simple openmpi prgoram used to work in 2 node systen, after freshly reconfiguring
Libfabric, openmpi when i run it it hangs.
1.I am getting output from only one rank
2.ps output on another rank ...
0
votes
3
answers
113
views
floating point error in MPI_Reduce possible?
I want to have the global minimum (floating point types) across all MPI ranks and proceed only on the rank which computed the local minimum.
Specifically, can we compare the global and local minimum ...
0
votes
0
answers
41
views
Need help for MPI_File_open hangs on a particular file
inline MPI_File file_open(const std::string& filename, int access)
{
int ret;
// MPI_Barrier(MPI_COMM_WORLD);
std::cout << "MPI filename: " << filename ...
0
votes
0
answers
125
views
UCX build with cuda aware
I was trying to install cuda aware openmpi. While following the following recipe laid out here:
$ git clone https://github.com/openucx/ucx.git ucx
$ cd ucx
$ ./autogen.sh
$ mkdir build
$ cd build
$ .....
0
votes
3
answers
305
views
Trying to install mpi4py, getting error: Failed to build wheels
edit: i tried to install this requirements file contains these and the errors occur after
Collecting mpi4py==3.1.5
Downloading mpi4py-3.1.5.tar.gz (2.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━...
0
votes
2
answers
79
views
In OpenMPI, is there a way to put jobs on specific cores?
The question pretty much says it all. This is for benchmarking purposes. I really do need to target specific cores on specific nodes. Targeting particular nodes is not enough in and of itself for ...
0
votes
0
answers
45
views
Are the allocated nodes of the login node supposed to be empty?
Because I am trying to find the reasons and solve another problem (this one with mpirun saying I have a problem with my current allocation), I tried to find the allocations of my nodes in a multinode ...
3
votes
0
answers
72
views
OpenMpi5 Partitioned Communication with multiple neighbors
I've been trying out the partitioned communication that was added in openmpi 5. I am aware that "The current implementation is an early prototype and is not fully compliant with the MPI-4.0 ...
0
votes
0
answers
79
views
neko install undefined reference to `MPI_Comm_f2c' `ompi_mpi_byte'
I am trying to install neko v0.8.0... but when I enter "make",it halts
like this:
comm/comm_wrapper.o: In function neko_comm_wrapper_init:
/WORK/thuscc24team13_work/neko-0.8.0/src/comm/...
0
votes
0
answers
163
views
Slurm's OpenMPi problem when running a job with two nodes
I am new to Slurm. I am running a job with srun that uses two nodes and encountering a problem. When I run the same job but only using one node (either of them), the task completes. I will first ...
1
vote
0
answers
70
views
Overlaying openMP onto MPI program causes slow down of the region parallelised with openMP
I have a particle simulation in C which is split over 4 MPI processes and running fast (compared to serial). However, one region of my implementation is N^2 complexity, where I need to compare each ...
0
votes
0
answers
170
views
OpenMPI does not use all assigned cores
I have a small problem with a program that is run using MPI. I need to run this program on a HPC and I need to run it this way.
The program needs to have 1 MPI process per node, use the number of ...
0
votes
1
answer
314
views
Xcode problem while executing C OpenMPI project
On an M3 Pro, in Xcode, I want to run a simple C source file:
#include <mpi.h>
#include <stdio.h>
int main(int argc, char** argv) {
MPI_Init(&argc, &argv);
int world_size;...
0
votes
1
answer
87
views
MPI_Wait does not free the MPI_Ibcast request
Consider the following program:
#include <iostream>
#include <mpi.h>
int main() {
int provided = -1;
MPI_Init_thread(NULL, NULL, MPI_THREAD_MULTIPLE, &provided);
if (provided !=...
0
votes
0
answers
191
views
How to use different processes-per-resource (ppr) and processing elements (pe) for an hybrid MPMD program?
I am using mpirun to run a hybrid program as a Multiple Data Multiple Program (MPMD) application as follows:
mpirun -x OMP_NUM_THREADS=4 -x OMP_PLACES=cores -n 28 --map-by ppr:14:socket:pe=4 --host ...
0
votes
0
answers
201
views
Assign more than one core per MPI process in mpirun
I'm a bit new to MPI and parallel processing. I've been running a job in an HPC environment in which I can use up to 160 physical cores. However, increasing the number of MPI process to match the ...
-3
votes
1
answer
108
views
Is there an efficient way to debug an MPI master-worker model without parallel debugger?
Hereby I have a master-worker model, where the one and only master start a MPI_Comm workercomm and all the workers are spawned by MPI_Comm_spawn in it. Of course in the first run some bugs exists and ...
0
votes
0
answers
341
views
Open MPI Conflicts (BURAI)
I am trying to run SCF calculations in BURAI. I installed BURAI in Ubuntu with this tutorial
https://www.youtube.com/watch?v=_V69D-FjGps
When I try to run SCF calculations with this command: /usr/bin/...
0
votes
1
answer
1k
views
zlib does not link properly when building OpenMPI 5.0.1 leading to runtime warning
I installed OpenMPI 5.0.1 on fresh installation of Ubuntu 24.04. All dependencies were installed via apt and should be in the standard locations. However, mpiexec gives the following runtime warning
--...
1
vote
0
answers
139
views
Running mpirun from OpenMPI does nothing, freezes as if it were waiting for network or something
I have installed openmpi 4.1.6 in kubuntu 24.04 from the repositories. The output of mpirun --version is:
mpirun (Open MPI) 4.1.6
Report bugs to http://www.open-mpi.org/community/help/
However, if I ...
1
vote
0
answers
40
views
Custom MPI_Datatype inside OpenMPI MCA module
I'm implementing an Allreduce algorithm inside the mca/coll framework.
The algorithm I'm implementing needs each node to send at each step of the computation only a part of the vector (like a ring ...
0
votes
0
answers
26
views
MPI works with 4 processor but fails with more, problem with decomposition? Send/Recv? 2d Heat diffusion
I have to simulate 2D plate heat diffusion. Everything works fine with 4 tasks, but it doesn't when using N*4 tasks. I suspect the problem is in the logic of communications between the upper and lower ...
0
votes
0
answers
113
views
Singularity container with OpenMPI and InfiniBand (UCX)
I'm working as an intern currently, and I was asked to build a Singularity container for OpenMPI to make distributed programming possible on multiple machines of our HPC cluster using containers.
...
0
votes
0
answers
206
views
OpenMPI java binding on Mac with M1: (have 'x86_64', need 'arm64e' or 'arm64')
I have already installed the open-mpi by command arch -x86_64 brew reinstall --build-from-source open-mpi and run the terminal under Rosetta.
In the terminal the command arch return with i386, and run ...
0
votes
1
answer
81
views
OpenMPI over Infiniband Pkey
I'm trying to use use openmpi over InfiniBand Pkey networks.
I can't seem to find any documentation on how to do that.
I'm using openmpi 4.1.2 and just a simple ring_c.
mpiexec -n 8 -host cn0001-pkey,...
0
votes
0
answers
136
views
Cannot find mpi.mod with OpenMPI from brew
! $UWHPSC/codes/mpi/test1.f90
program test1
use mpi
implicit none
integer :: ierr, numprocs, proc_num
call mpi_init(ierr)
call mpi_comm_size(MPI_COMM_WORLD, numprocs, ierr)
...
0
votes
0
answers
39
views
This MPI_Gatherv code not working and I don't know why
I wrote this code in C that multiplies a matrix by a vector, locally in each process(ylocal) and then the root process gathers the results in its local vector(y). I am using MPI_Gatherv because it has ...
1
vote
1
answer
928
views
The PMIx server's listener thread failed to start. We cannot continue
I am using termux with ubuntu. I need to run a python program. However i get the below error.
root@localhost:~/capstone/mpi# mpirun --allow-run-as-root -np 1 python3 index.py
[localhost:18945] ...
1
vote
0
answers
97
views
Generate and write to file a random matrix in a distributed, balanced way with MPI
I am trying to generate a random 4x4 matrix in a parallel, "even" way: given the 1D array (representing a matrix) dimension N (e.g. 16 in this case) and the number of processes NP, each ...
1
vote
0
answers
223
views
OpenMP multi-threading not working if OpenMPI set to use one or two MPI processor
I developed a code parallelized in a hybrid way based on OpenMPI + OpenMP. It works as I expect if 'enough' number of MPI processors are given. So far based on tests, I would roughly say 'enough' ...
0
votes
1
answer
614
views
mpi4py suddenly not compatible with openmpi on ubuntu
My mpi4py (3.1.5) installation with openmpi (4.1.4) on python3.8 and ubuntu 20.04 has randomly stopped working today. Whenever I execute anything that loads mpi4py in python, I get the following error:...
0
votes
1
answer
145
views
How to incorporate Open MPI Java Bindings into a Maven Plugin?
I have developed a maven-based plugin (or app) for the open-source bioinformatics Java Application Cytoscape. I was wondering if I could incorporate Open MPI Java Bindings inside this project. My goal ...
1
vote
0
answers
103
views
C: MPI_ERR_BUFFER: invalid buffer pointer Open MPI
I'm studying for an exam at university about parallel programming with Open MPI.
I'm trying to read a file with the master process (rank 0) and send some data to all workers processes, but I get a ...
0
votes
1
answer
196
views
Mpiexec taking forever to start (possible issue with MPIPoolExecutor)?
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
...
0
votes
0
answers
148
views
mpi install from source, tar files
I am installing mpi4py (following instructions here https://mpi4py.readthedocs.io/en/stable/install.html) and because of restrictions in my environment I have to build MPI from sources (following ...
0
votes
0
answers
238
views
What are the reasons MPI_Comm_split_type (using shared memory) can hang when the number of processes is increased?
I am attempting to run an MPI_allgather across multiple nodes of a cluster (openmpi). I run into an issue with the memory space that I have attempted to bypass using MPI_Comm_split_type(MPI_COMM_WORLD,...
0
votes
0
answers
376
views
Unexpected errors with openmpi running fortran code
I am a mechanical engineering looking to do CFD simulations on HPC machines. Currently, I am programming my procedures within the framework of PARAMESH, which is a fortran library with MPI calls for ...
0
votes
0
answers
118
views
Scientific Linux 7.4: undefined symbol: ompi_mpi_logical8 error
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 ...
0
votes
2
answers
849
views
input to deterministically bind Open MPI ranks to NUMA node cores
Trying to bind an Open MPI rank to every core on a NUMA node machine.
The machine has 2 nodes, each with 12 cores.
The nodes doesnt have name, so I'm not able to do --host a:12,b:12
Also I want to ...
0
votes
1
answer
151
views
mpirun is unable to import installed packages
I am running qiskit code which execute fine when I invoke it with python3 but when called with mpirun, it executes SegmentationFault Errormentioning some Permission Errors. I run command as root , it ...
2
votes
1
answer
2k
views
How to set openmpi C compiler when installed with conda?
I installed openmpi v4.1.6 (and dependencies) to a clean environment using anaconda conda-forge channel. After installing and attempting to compile, I get the error
------------------------------------...
0
votes
0
answers
276
views
Compilation error with gfortran and mpif90
I am trying to compile and run this software. I have Open-MPI library installed with gfortran. I get the following error.
mpif90 -o .obj/mod4source.o mod4source.f90 -g -heap-arrays -fcheck=all -...
1
vote
1
answer
161
views
Atomicity of MPI_Accumulate[Open-mpi]
I have been trying to set up a way to send data between processes from a vector (naming it syncer).
This vector contains the message in this format : [destination_process, source_process, data, offset]...
0
votes
1
answer
75
views
How to define a local array in mpi?
When I define an array in an mpi program, does the all processors share the same address, that is the same array(pointer) or they point to different arrays(pointers)?
For example, int the following ...