MPICH: How to publish_name such that a client application can lookup_name it?

While learning MPI using MPICH in windows (1.4.1p1) I found some sample code here. Originally, when I ran the server, I would have to copy the generated port_name and start the client with it....

Unable to execute MPICH2 on multiple machines on ubuntu 12.04 (HYDU_sock_connect issue)

I am facing difficulty in executing MPI program on two machines. The OS is Ubuntu 12.04. And the MPI implementation is MPICH2 ssh is working fine: [email protected]:/home# ssh...

MPICH2 on multiple machines (HYDU_sock_connect error)

I am trying to execute an MPI program in 2 different PCs. However, when I ran this command in pc1: mpirun -hosts [email protected] -n 4 bin/Demo_01.exe I'm getting this error: [proxy:0:[email protected]]...

Install fftw-2.1.5 with mpi in local

I'm trying to install fftw-2.1.5 libraries on a IBM cluster with linux, with the --enable-mpi flag, but I have since failed to do so. I need fftw version 2.1.5 because GADGET2 code requires that...

Cannot understand MPI_Reduce_scatter in MPI

I am trying to understand the MPI_Reduce_scatter function but it seems that my deductions are always wrong :( The documentation says (link): MPI_Reduce_scatter first does an element-wise...

Display a MPI typemap

The type map is an important but confounding concept in MPI. I would like a routine to display or print a type map for me. For example (taken from the MPI-3 standard), ...

How to increase the java heap memory size when running matlab in batch mode

I am running a parallel matlab code using 12 processors in a centralised cluster (linux) of my institute. The code runs fine however it is unable to print the excel files. I am using xlwrite...

MPI: Change number of processors in CMakelists

I'm using CLion. My CMakeLists.txt looks like this: cmake_minimum_required(VERSION 3.2) project(MPI) add_executable(MPI main.cpp) # Require MPI for this project: find_package(MPI...

Error when starting Open MPI in MPI_Init via Python

I am trying to access a shared library with OpenMPI via python, but for some reason I get the following error message: [Geo00433:01196] mca: base: component_find: unable to open...

MPI Isend and Irecv problems

I'm having trouble with my MPI_Isend and MPI_Irecv blocks of code. I need to send a number Cin to the next process up the line, then the current process can go about it's business. The receiving...

Does SLURM support running multiple jobs on one node at the same time?

Our computer cluster runs slurm version 15.08.13 and mpich version is 3.2.1. My question is, could Slurm support multiple jobs running on one node at the same time? Our computer cluster has 16...

CMake : Selecting mpich over openmpi

I am using cmake 3.10.2. I have both openmpi and mpich installed. However I need to load only mpich. So I found from the documentation the following MPI_EXECUTABLE_SUFFIX A suffix which is...

Host key verification failed in google compute engine based mpich cluster

TLDR: I have 2 google compute engine instances, I've installed mpich on both. When I try to run a sample I get Host key verification failed. Detailed version: I've followed this tutorial in order...

MPICH output not printing

Problem I'm running an executable cp2k installed on HPC cluster using mpich-3.2. The output from the executable is printed in an out file. The problem is, that there is no output in the out file...

How to fix 'line 1: Syntax error: word unexpected (expecting ")")'

I'm setting up a raspberry pi computer cluster, the master is running ubuntu on oracle VM VirtualBox. I've made a passwordless ssh between the master and the raspberry pi, then I've set up a...

Job fails while using srun or mpirun in slurm

I am trying to submit a job with slurm. However, the job fails if I use srun or mpirun. However, it runs fine with mpiexec, albeit running with only single process despite multiple nodes and...

How can I change MPI error handler before MPI_init?

I have a Fortran code which is predominantly used for running large MPI calculations, but occasionally I want to run it on a machine which does not have MPI available for quick data processing...

Compile petsc included code using a makefile, failed for '.f90' but passed for '.F90'

I'm leaning petsc (3.13.1) on a Linux virtual machine. The compiler is mpich-3.2.1 compiled with gfortran. While going through the tutorials I found the extensinos are .F90, the files did not work...

Lbound of an array changes after call to mpi_gatherv when using mpi_f08 module

Consider the following Fortran program program test_prg use iso_fortran_env, only : real64 use mpi_f08 implicit none real(real64), allocatable :: arr_send(:), arr_recv(:) integer ::...

Why does the MPI_Alltoallv function interface forces data to belong to only one array?

Suppose I have 3 processes, and each wants to send 3 arrays a0,a1,a2 to processes 0,1, and 2. Given the MPI_Alltoallv interface, that is, int MPI_Alltoallv(const void *sendbuf, const int...

Fortran error: type mismatch between two unrelated subroutine calls

This Fortran MPI program is, to my mind, completely straightforward: program what use mpi integer(4), parameter :: ksp = 4 integer(4), parameter :: kdp = 8 integer(ksp) ::...

How is the number of threads available to a library function (which is written in Fortran) set in Python?

Problem Summary: The custom Python library PYFEAST (https://github.com/empter/PYFEAST) is a library which allows users to call the Fortran FEAST libraries (https://arxiv.org/pdf/2002.04807.pdf)...

Differing Floating Point Calculation Results between x86_64 and ARMv8.2-A

I have compiled the same Fortran libraries and code in both aarch64 and x86_64. It is a model that runs algorithms across n-dimensional arrays / matrices. The ARM CPU is the Amazon Graviton2. AMD...

How to enable CUDA Aware OpenMPI?

I'm using OpenMPI and I need to enable CUDA aware MPI. Together with MPI I'm using OpenACC with the hpc_sdk software. Following https://www.open-mpi.org/faq/?category=buildcuda I downloaded and...

Calculating sum of array with nonblocking operations

Every process need to calculate its partial sums and send them to 0 process, then to count sum of array I wrote this code double* a; a = new double[N]; for (int i = 0; i < N; i++) ...

mpiicpc: Command not found

I have a problem when trying to compile a code in C++. I installed the Intel Parallel Studio XE Cluster Edition 2020 but when i try to compile i have the following error : "mpiicpc: Command not...

Error in slurm for using mpirun conda environment

I am getting errors whenever I use mpirun inside batch script in an active conda environment (but this error does not happen if I don't use a batch script, or if I am not in a conda...

MPI Fortran support through the mpi_f08 module with gfortran

I have some Fortran code I would like to paralelize with MPI. Appereantly, recomended way to use MPI (MPICH, in my case) with Fortran is through mpi_f08 module (mpi-forum entry on the matter), but...

Switch from MPICH to OpenMPI

I have both mpich and openmpi in my Ubuntu 20.04. $ dpkg -l | grep mpi | grep lib ... ii libmpich-dev:amd64 3.3.2-2build1 amd64 ...

Cannot compile Makefile using make command on Windows

Problem summary I am trying to install an open-source parallel finite-element code called TACS and available at this github repository. To comply with the indicated prerequisites, I followed the...

Relevant tags