Questions tagged [mpi]

MPI is the Message Passing Interface, a library for distributed memory parallel programming and the de facto standard method for using distributed memory clusters for high-performance technical computing. Questions about using MPI for parallel programming go under this tag; questions on, eg, installation problems with MPI implementations are best tagged with the appropriate implementation-specific tag, eg MPICH or OpenMPI.

Filter by
Sorted by
Tagged with
0 votes
0 answers
682 views

How to use Environment Module packages in Ubuntu

I have been a while in Fedora and other Linuxes, and I got used to loading "environment modules". For example, in Fedora, I could install both mpich and openmpi (two implementations of the ...
alfC's user avatar
  • 3,624
1 vote
0 answers
3k views

Ubuntu 22.04 support for 12th gen Intel CPU

I am running Ubuntu 22.04 on a laptop with Intel 12th Gen CPU, with 8 p-cores and 8 e-cores. The CPU supports 24 total threads, 2 for each p-core and 1 for each e-core. Ubuntu identifies the model of ...
ZL-Arctic's user avatar
2 votes
1 answer
3k views

Problems with MPI after upgrading to ubuntu 22.04

I was working with mpi on the older version of ubuntu and everything was fine untill I upgraded to ubuntu 22.04. When I try to compile my program using the command mpicxx -o , it gives me a long list ...
Bahareh Badiei's user avatar
0 votes
1 answer
1k views

Problem with MPI on ubuntu 22.04

I'm not sure what happened, I think MPI was working well when I first installed ubuntu 22.04. Then I saw I could install also ifortran (not sure if this has affected something), and also mkl. However, ...
Dedalo's user avatar
  • 13
0 votes
0 answers
3k views

MPI mpirun execvp error on file -np : no such file or directory

I am trying to run this using MPI as follows: mpirun –np 16 ./wrf.exe & and I am getting the following error: [proxy:0:0@dharmsai] HYDU_create_process (./utils/launch/launch.c:74): execvp error ...
Rahul Sheoran's user avatar
0 votes
0 answers
2k views

Installation of mpicxx

I have mpich installed in my Ubuntu OS. But mpicxx in /usr/bin got deleted. It would be of great help if someone can help me re-install it. Thanking you in advance!
Shiddhartha Ramprakash's user avatar
1 vote
2 answers
14k views

GCC fatal error: mpi.h: No such file or directory

When I try to execute code by using this command: gcc ASD.c -o ASD.out* I get this: ASD.c:2:10: fatal error: mpi.h: No such file or directory 2 | #include <mpi.h> | ^~~~~~~ ...
Saeed Alhothali's user avatar
0 votes
0 answers
967 views

Error as executing "mpirun''

I am running to run a RegCM test simulation with the command line "mpirun -np 2 /bin/regcmMPI test_001.in" but I keep getting the error: "mpirun was unable to launch the specified ...
Fafa's user avatar
  • 11
2 votes
0 answers
302 views

Error on MPI while executing REGCM

While starting a simulation on REGCM, I executed the command mpirun -np 2 ./bin/regcmMPI sensitivity01.in Which gives me the following: This is RegCM trunk SVN Revision: compiled at: data : Sep ...
jnava1612's user avatar
0 votes
1 answer
595 views

Invalid MIT-MAGIC-COOKIE-1 key in Ubuntu 20.04

When I run a program in parallel with MPI, in Ubuntu 20.04, I get the statement: Invalid MIT-MAGIC-COOKIE-1 key What is this? Is it impairing something on the program execution? How can I correct it?
user avatar
0 votes
0 answers
2k views

Not enough slots available in the system with OpenMPI

I am launching a code using openmpi, that I have compiled simply doing mpif90 bin.f90 -llapack -lblas -o bin.x If I do mpirun -np 4 bin.x I get "There are not enough slots available in the ...
Gippo's user avatar
  • 1
1 vote
1 answer
3k views

E: Unable to locate package libcr-dev

I am trying to run a script (astrophysics stuff) using mpirun. I executed the command: mpirun -n 3 ./harm and got this error: /usr/local/bin/hydra_pmi_proxy: error while loading shared libraries: ...
Sajal Gupta's user avatar
0 votes
2 answers
1k views

Can not install openmpi with Intel oneAPI

I have oneAPI installed and environments set. mpiifort works, as does ifor -V, which returns the correct compiler version. I am trying to setup openmpi with the Intel compiler, as it is required by ...
Souvik Ghose's user avatar
4 votes
0 answers
689 views

OpenMPI - Update alternatives

I have troubles with openmpi crashing. The installed/repository version is "mpirun (Open MPI) 3.1.3". Consequently I have locally built a "mpirun (Open MPI) 4.1.0" which does not ...
Torben's user avatar
  • 41
0 votes
2 answers
623 views

Multiprocess per single core

I have 6 cores and want to run 12 processes in the same time in parallel .. I'm using mpirun but sucked and confused in the option that I will use for multiprocess per core .. the command of 6 ...
sam's user avatar
  • 1,333
0 votes
1 answer
1k views

mpirun dosent work with openFoam (suddenly) [closed]

my mpirun on Ubuntu 20.04 dosent work anymore. I used it a few weeks back and it works good and well. I just wanted to use it a few minutes ago and it doesent work. I decompose the case first and then ...
Kai's user avatar
  • 1
1 vote
0 answers
58 views

MPIRUN thread detection failed after upgrade

I have used MPI Fortran with UBUNTU for a long time. My DELL PC has 8 nodes and 16 threads. mpirun worked with -n 16 well and gave good results. However after an upgrade (?) it stopped doing this. Now ...
Alexei Zhidkov's user avatar
0 votes
0 answers
850 views

libopen-rte.so.7 not found

I am trying to use openmpi. While i run, i face that output: mpirun: error while loading shared libraries: libopen-rte.so.7: cannot open shared object file: No such file or directory In this site, ...
himungan's user avatar
1 vote
0 answers
95 views

mpirun in kubuntu 20.4 stucks

I installed kubuntu20.4.1 with openmpi 4.0.3-0 in two different computers. Compiling with mpif90 works, but mpirun stucks with no output in both systems. Even mpirun command without parameters stucks ...
Jorge SILVA's user avatar
4 votes
2 answers
7k views

“Invalid MIT-MAGIC-COOKIE-1 key” message - MPI on Ubuntu 20.04

Running a program that uses MPI gives me an "Invalid MIT-MAGIC-COOKIE-1 key" warning on Ubuntu 20.04. I only recently upgraded; I was having no such issues when I was using 19.10. I want to ...
Nidish Narayanaa's user avatar
2 votes
0 answers
393 views

Have problems about mpi after upgrade to 20.04

I upgraded to 20.04 from 19.10. On 20.04, I encounter the problem that CMAKE cannot find MPI, which was not a problem on 19.10. By using my own makefile, ld cannot find lmpi neither. It seems that at /...
Jiahui's user avatar
  • 21
1 vote
1 answer
2k views

Installing libopnempi-dev on WSL with Ubuntu 20.04 failing

I'm currently testing the waters on developing software with C++ and MPI and need some help. I'm trying to install the openmpi headers on my machine on WSL with a Ubuntu 20.04. I can't seem to get ...
Endi Zhupani's user avatar
2 votes
1 answer
1k views

Xeon Phi and Ubuntu Server

I am looking at a surprising number of low-cost $100 Xeon Phi "cluster in a board" PCI cards on eBay. Can these be used from an Ubuntu Server host to dispatch numerical computing tasks, or ...
0xF2's user avatar
  • 3,154
3 votes
0 answers
680 views

MIT MAGIC KEY 1 error when running MPI programs compiled with openmpi 4.0.3 under Ubuntu 20.04

I am facing a weird issue. Whenever I run programs compiled with openmpi (version 4.0.3, the default on ubuntu 20.04 LTS), the following line is printed on the terminal Invalid MIT-MAGIC-COOKIE key. ...
BlaB's user avatar
  • 81
10 votes
1 answer
66k views

MPICH installation

I searching on internet how to download the MPICH in my laptop, and something is going wrong... I don't know what is happening. I am using ubuntu 18.04. Someone know any good installation video, or ...
Giorgos Mouch's user avatar
2 votes
1 answer
4k views

mpif.h not found error [install openmpi]

I was trying to install openpi on ubuntu. I have an Ubuntu 18.04.4 LTS (64 bit) desktop. I installed openmpi using sudo apt-get install openmpi-bin openmpi-common openmpi-doc libopenmpi2 libopenmpi-...
Tejas Shetty's user avatar
1 vote
3 answers
2k views

Is there any conflict between nohup and mpirun?

I want to start a big simulation on an ubuntu desktop computer. I have physical (not remote) access to this PC. This simulation may take some weeks. The command to start the process is: mpirun -np ...
Naghi's user avatar
  • 157
0 votes
1 answer
962 views

Setting up custom modulefiles in environment-modules on ubuntu 18.04 LTS

Using environment-modules, I am trying to set up custom environment modules for installation of a software by using intel compiler and openmpi. I am not familiar with the method of creating a custom ...
fizsics's user avatar
  • 13
0 votes
1 answer
100 views

Machines with identical number of vCPUs, one gives MPI Error, the other does not

TLDR Two machines with the same number of vCPUs allow different number of MPI threads. Why? I am running two Ubuntu instances: Deep Learning Base AMI (Ubuntu 18.04) Version 20.2 (ami-...
rrz0's user avatar
  • 161
0 votes
1 answer
184 views

Deleted mpicc.openmpi file by mistake [duplicate]

In my infinite wisdom, I deleted the file 'mpicc.openmpi' file in my /usr/bin/ folder by mistake. I tried installing OpenMPI as well as GCC. But don't know how to get back to normalcy. Can anyone ...
rku's user avatar
  • 13
1 vote
1 answer
3k views

Fortran error: Cannot allocate memory

I am having some trouble with a code I have parallelized. The code is written in Fortran90, and I parallelized it using mpi. I won't post the code because its more than 10 thousand lines long. ...
Dedalo's user avatar
  • 13
0 votes
1 answer
3k views

Downgrade openmpi v2.1.1 to v2.0.2

I have installed openmpi on ubuntu 18.04.2 LTS using $sudo apt-get install libopenmpi-dev $ mpirun -version mpirun (Open MPI) 2.1.1 How can I downgrade it to v2.0.2 Thank you!
Geo_Python's user avatar
0 votes
1 answer
325 views

No installation candidate for libopenmpi2

I've been trying to install openFOAM on 18.04 and get the following error after sudo apt-get install openfoam6: The following packages have unmet dependencies. openfoam6 : Depends: libopenmpi2 but ...
Laurengineer's user avatar
0 votes
0 answers
2k views

Remove all previous version MPI and reinstall correctly it

I got some errors from mpi, mpich in UBUNTU 18.04, how can I remove all previous version MPI correctly. ||/ Name Version Architecture Description +++-==============-============-=======...
ABCDEMMM's user avatar
  • 325
0 votes
1 answer
1k views

Error while installing MPICH: C compiler cannot create executables

I am trying to install mpich 3.2.1 on ubuntu 16. When i execute ./configure --prefix=/opt/mpich 2>&1 | tee c.tx i get: checking for icc... no checking for pgcc... no checking for xlc... no ...
Ahmet Oğuz's user avatar
0 votes
1 answer
9k views

Uninstall and install MPI

As far as I know, I cannot reinstall MPI from the terminal. For this reason, I want to know how I can repair MPI (uninstall and install MPI) using a security method in terminal? Thanks in Advance.
ABCDEMMM's user avatar
  • 325
0 votes
0 answers
987 views

How to set default mpicc

Recently, I have installed intel compiler, I loss the information for the set default mpicc, How can I set the following default in an easy way? CC variable not set, CC  = /usr/bin/mpicc CXX ...
ABCDEMMM's user avatar
  • 325
1 vote
0 answers
507 views

lam4-dev fails to install

Installing lam4-dev in a clean docker image with Ubuntu Bionic or Cosmic fails as below. Which dependency am I missing? Preparing to unpack .../lam4-dev_7.1.4-3.1build1_amd64.deb ... Unpacking lam4-...
Jeroen Ooms's user avatar
0 votes
0 answers
174 views

MPI: BLCR kernel module not present

how can I remove the bug of MPI in Ubuntu Fatal error in PMPI_Init_thread: Other MPI error, error stack: MPIR_Init_thread(474)...: MPID_Init(190)..........: channel initialization failed ...
ABCDEMMM's user avatar
  • 325
2 votes
0 answers
641 views

Which MPI library are packages linked against? Open MPI?

Some packages in the Ubuntu repositories provide pre-compiled binaries of shared libraries (*.so). For example, the package fftw2 provides the FFTW library (version 2), including the MPI-related ...
Socob's user avatar
  • 839
0 votes
0 answers
114 views

mpi exit code 65

I am running mpirun on a new (to me) refurbished workstation with 20 processors. I'm using Ubuntu 16.04 LTS. Occasionally it terminates with an exit code of 65 for no apparent reason. There is ...
lasherwc's user avatar
1 vote
1 answer
4k views

Why does mpich not install correctly

I'm on 16.04. When I sudo apt-get install mpich and check the lib directory /usr/lib/mpich it contains the include dir as expected, but the lib directory within it: /usr/lib/mpich/lib is ...
kotozna's user avatar
  • 113
2 votes
1 answer
384 views

Open MPI Eclipse PTP -> failed to execute command: ompi_info , [closed]

I try to compile parallel programs using Open MPI 3.1 with Eclipse PTP 9.1.4 on Ubuntu 18.04. After building the project I follow the instructions of the Help-Eclipse Platform. The Step Run ...
HoneyBadger73's user avatar
1 vote
1 answer
704 views

How to install debug symbol for OpenMPI on 16.04 [duplicate]

I couldn't find debug symbol in the official repo: $ apt-cache search openmpi gromacs-openmpi - Molecular dynamics sim, binaries for OpenMPI parallelization libblacs-openmpi1 - Basic Linear Algebra ...
JACK M's user avatar
  • 141
-1 votes
1 answer
171 views

Computers hangs after running big script ubuntu mate 16.04

I am using ubuntu mate 16.04 and i recently ran a mpi script that was intended to overload my cpu. After running, and killing, the script I started running into issues: - A lot of simple commands (...
Oha Noch's user avatar
  • 129
1 vote
2 answers
10k views

mpirun: error while loading shared libraries: libopen-rte.so.12:

I have installed openmpi-bin and openmpi-common, and I get the following error when I run either mpirun or mpiexec: mpirun: error while loading shared libraries: libopen-rte.so.12 As I checked, this ...
Gábor Erdős's user avatar
0 votes
0 answers
2k views

Error compilling program with makefile : undefined reference to symbol 'trunc@@GLIBC_2.2.5'

I am trying to compile a program on Linux+openmpi using a makefile but got this error: I have looked at answers to similar issues but can still fix it. /usr/bin/ld: outseis.o: undefined reference to ...
Johnson T's user avatar
0 votes
0 answers
84 views

GalIC-compilation and usage

Can anyone help me with GalIC code - compilation and usage, please. Downloaded from https://www.h-its.org/tap-software-en/galic-code/ In the README file, there are a list of non-standard libraries ...
FunThom's user avatar
0 votes
0 answers
1k views

gfortran error :unrecognized option '-shared-intel'

I'm using a parallel fortran code that use MPI libraries (mpich or openmpi) and a "mpif90" compiler to run. When I try to compile the code, I encounter this comment: mpif90 -O3 -mcmodel=medium -...
Seyed Amir Alavi's user avatar
0 votes
1 answer
1k views

ubuntu 16.04 slurm srun failed with intel mpi?

I am trying to install slurm in a cluster running ubuntu 16.04. I am using intel mpi and the installation directory is located at the head node /opt/intel/impi_5.01. According to the slurm ...
Rolly Ng's user avatar