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
21 views

Trouble installing open-mpi in machine

I am installing open_mpi in machine. After untaring the file if I ran directly ./configure command than installation works fine. But if I preceded the installation with ./autogen.pl command (i.e. ...
user avatar
0 votes
0 answers
26 views

How to install missing shared library files: DMGMPI and FMPICH on Ubuntu 20.04?

I am stuck with missing library files ("dmgmpi" & "fmpich") compilation errors which I need in order to compile a makefile. The error status after the compilation is: bcdflt.o ...
user avatar
0 votes
0 answers
63 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!
user avatar
0 votes
2 answers
1k 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> | ^~~~~~~ ...
user avatar
0 votes
0 answers
65 views

Parallel Running Problem for PETSc

I have Ubuntu 20.04.3 LTS as a guest machine. I installed SU2 v7.2.1. I have no problem at serial running. I can parallel run some tutorials (for example with: mpirun -np 6 SU2_CFD example.cfg). ...
user avatar
0 votes
0 answers
228 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 ...
user avatar
  • 1
2 votes
0 answers
109 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 ...
user avatar
0 votes
1 answer
385 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
861 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 ...
user avatar
  • 1
1 vote
1 answer
957 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: ...
user avatar
0 votes
0 answers
291 views

Invalid MIT-MAGIC-COOKIE-1 key when running MPI programs on Ubuntu 20.04

So i am trying to run a program using sst (SST-Simulator) which also uses MPI internally. The program runs fine but everytime i use "sst" i get this unwanted terminal output: Invalid MIT-...
user avatar
0 votes
2 answers
812 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 ...
user avatar
3 votes
0 answers
353 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 ...
user avatar
  • 31
0 votes
2 answers
277 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 ...
user avatar
  • 1,017
0 votes
1 answer
743 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 ...
user avatar
  • 1
1 vote
0 answers
47 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 ...
user avatar
0 votes
0 answers
350 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, ...
user avatar
1 vote
0 answers
67 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 ...
user avatar
3 votes
1 answer
6k 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 ...
user avatar
2 votes
0 answers
278 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 /...
user avatar
  • 21
1 vote
1 answer
1k 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 ...
user avatar
2 votes
1 answer
837 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 ...
user avatar
  • 3,074
3 votes
0 answers
603 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. ...
user avatar
  • 81
7 votes
1 answer
30k 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 ...
user avatar
2 votes
1 answer
2k 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-...
user avatar
1 vote
3 answers
1k 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 ...
user avatar
  • 157
0 votes
1 answer
603 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 ...
user avatar
  • 13
0 votes
1 answer
74 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-...
user avatar
  • 161
0 votes
1 answer
140 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 ...
user avatar
  • 1
1 vote
1 answer
2k 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. ...
user avatar
  • 13
0 votes
1 answer
2k 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!
user avatar
0 votes
1 answer
204 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 ...
user avatar
0 votes
0 answers
1k 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 +++-==============-============-=======...
user avatar
  • 325
1 vote
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 ...
user avatar
0 votes
1 answer
7k 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.
user avatar
  • 325
0 votes
0 answers
728 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 ...
user avatar
  • 325
1 vote
0 answers
385 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-...
user avatar
0 votes
0 answers
159 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 ...
user avatar
  • 325
2 votes
0 answers
461 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 ...
user avatar
  • 717
0 votes
0 answers
91 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 ...
user avatar
1 vote
1 answer
3k 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 ...
user avatar
  • 113
2 votes
1 answer
323 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 ...
user avatar
1 vote
1 answer
656 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 ...
user avatar
  • 141
-1 votes
1 answer
160 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 (...
user avatar
  • 129
1 vote
2 answers
8k 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 ...
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 ...
user avatar
0 votes
0 answers
61 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 ...
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 -...
user avatar
0 votes
1 answer
892 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 ...
user avatar
1 vote
0 answers
440 views

Problems compiling with openmpi after upgrade to v 1.10

I have been using openmpi to develop fortran90 parallel applications for a while. I usually install the default version of openmpi for developers from the repositories and it works out of the box. I ...
user avatar