413 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
4
votes
0
answers
98
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 ...
1
vote
1
answer
84
views
mpirun -np 4 ./a.out doesn't use all my cores (ubuntu 24.04LTS) [duplicate]
I remember 2-3 months that this code and other variations would give me different results for rank and size, but now I'm lost, I don't understand what the issue could be.
Could be the upgrading to ...
0
votes
0
answers
44
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 ...
1
vote
1
answer
107
views
mpicc: command not found while installing hdf5 library
Trying to install hdf5-1.14.5 with zlib-1.3.1 but I cant configure it.
I have CC=mpicc and FC=mpif90 with gcc wrapper. Both the compilers can compile a run simple mpi programs.
mpicc -version
gcc (...
0
votes
0
answers
42
views
Using MPI via MPICH, only rank 0 shows up, regardless of the multiple ranks input [duplicate]
I have a "working" version of MPI, installed via MPICH. For context, I'm running this on Ubuntu 24.04.
My problem is that if I take a simple hello.cpp program, like this:
#include <mpi.h&...
0
votes
0
answers
35
views
What can be used to replace mpireconfig?
I am trying to compile some legacy code of my PhD research that I did in the early 2000s, mostly for reasons of nostalgia ;-)
The code used mpich. In the version of mpich that I used at the time, ...
1
vote
0
answers
196
views
MPI 100% CPU usage while waiting
I have a Fortran program that uses the MPICH library. At some point, the program rank 0 calls an external program, which itself uses OPENMP while other ranks wait in an MPI_BARRIER. My issue is that ...
0
votes
0
answers
36
views
MPI_Comm_size always return 1 after upgrading to Ubuntu 24.04.1 [duplicate]
After upgrading to Ubuntu 24.04.1, I encountered issues with my MPI installation. I am using MPICH and cannot switch to OpenMPI, as it appears to be incompatible a library I use. If I run a C++ ...
0
votes
2
answers
681
views
MPI_Comm_size always returns 1 again
Using mpich 4.2.0-5build3 on Ubuntu24.04 and testing with the cpi.c small program that calculates the value of PI.
mpiexec -host host1 -n 2 cpi
The output is
Process 0 of 1 is on host1
pi is ...
1
vote
1
answer
510
views
MPI comm.size is always 1
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....
2
votes
0
answers
64
views
GCC+MPICH Link-time optimization generates "inlining failed" warnings for compiler-generated functions
TL;DR: How do I fix* inline failures by LTO on compiler-generated functions?
(* by "fix" I mean "eliminate warnings in a manner consistent with best practice." I want to remove the ...
0
votes
0
answers
45
views
Different behavior between mpich and intel mpi when using MPI_Isend with higher buffer size
This is the example code:
#include <mpi.h>
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char *argv[]) {
int size, rank;
const int root = 0;
...
0
votes
0
answers
1k
views
MPI misconfiguration, getting error: hwloc/linux: Ignoring PCI device wth non-16bit domain
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: ...
0
votes
1
answer
207
views
Error loading "libmpich.dylib" using Python ctypes on MacOS
I am trying to load mpich library in python using ctypes. But getting the following error. OSError: dlopen(/opt/homebrew/lib/libmpich.dylib, 0x0006): symbol not found in flat namespace '...
1
vote
1
answer
177
views
Fortran undefined reference when library is loaded and contains the sought after symbol
I have modules compiled on their own and then linked in an executible to form a program. I am calling symbols from the cgns library, but some of them throw an undefined reference error, even though ...