mpi Questions
1
Solved
I'm developing some code which I run on OSX with the mpirun command. Every time I compile my code, the execution afterwards opens a bunch of popup dialogs asking for accepting or refusing incoming ...
Chequerboard asked 31/10, 2016 at 9:20
4
Solved
I'm testing a simple MPI program on my desktop (Ubuntu LTS 16.04/ Intel® Core™ i3-6100U CPU @ 2.30GHz × 4/ gcc 4.8.5 /OpenMPI 3.0.0) and mpirun won't let me use all of the cores on my machine (4). ...
2
I'm curious at the lack of this function in MPI:
MPI_Isendrecv( ... );
i.e., a non-blocking send and receive, can anyone tell me the rationale behind its omission?
Ding asked 30/8, 2012 at 8:19
10
I'm trying to install mpi4py using pip install mpi4py, but I'm getting the following error:
error: Cannot find 'mpi.h' header. Check your configuration!!!
Earlier in the same error report I hav...
Tatianatatianas asked 10/2, 2015 at 20:8
4
Solved
I'm a student and I'm using python for the first time.
Currently I'm using Xubuntu 19.10 on a virtual machine, I checked the python and mpi4py installation.
My professor of "Parallel programming"...
3
Solved
I am trying to run a CMakeLists.txt file on a (48h) fresh ubuntu 20.04.3 install. I keep getting the following error when running cmake .
-- Could NOT find MPI_CXX (missing: MPI_CXX_WORKS)
CMake Er...
Teacake asked 14/2, 2022 at 16:44
3
Solved
I have a code which works perfect in serial but with mpirun -n 2 ./out it gives the following error:
./out': malloc(): smallbin double linked list corrupted: 0x00000000024aa090
I tried to use va...
11
Solved
when I compile my script with only
#include <mpi.h>
it tells me that there is no such file or directory.
But when i include the path to mpi.h as
#include "/usr/include/mpi/mpi.h"
(the p...
1
19
Solved
I have an MPI program which compiles and runs, but I would like to step through it to make sure nothing bizarre is happening. Ideally, I would like a simple way to attach GDB to any particular proc...
3
Solved
The issue I am trying to resolve is the following:
The C++ serial code I have computes across a large 2D matrix. To optimize this process, I wish to split this large 2D matrix and run on 4 nodes (...
Elkin asked 5/5, 2011 at 16:59
4
Solved
I want to easily perform collective communications independently on each machine of my cluster. Let's say I have 4 machines with 8 cores on each, my MPI program would run 32 MPI tasks. What I would...
Zippy asked 28/10, 2010 at 10:28
1
I am using VS Code with the CMake Tools extension, and I would like to run a simple MPI program. Everything compiles just fine, and I can run my code in the terminal using
mpiexec -n 6 "path-to-my...
Vengeful asked 20/2, 2020 at 11:7
6
I don't understand the error message. I am trying to do is to run a MPICH2 application after I installed mpich2 version 1.4 or 1.5 to /opt/mpich2 (both version failed with the same error). My MPI a...
2
I want to send 2d chunks of data using MPI_GATHER. For example: I have 2x3 arrays on each node and I want 8x3 array on root, if I have 4 nodes. For 1d arrays, MPI_GATHER sorts data according to MPI...
2
Solved
I was trying to compile a very simple MPI hello_world:
#include <stdio.h>
#include <mpi.h>
int main(int argc, char *argv[]) {
int numprocs, rank, namelen;
char processor_name[MPI_MA...
Psychiatry asked 14/11, 2012 at 19:20
2
Solved
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:
root@ubuntu:/home# ssh 192.168.1.9
root@gpuguy...
2
Solved
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) :: nreadslb
integer(ksp),...
Asbestos asked 14/9, 2020 at 21:28
5
Solved
I am having trouble understanding the concept of blocking communication and non-blocking communication in MPI. What are the differences between the two? What are the advantages and disadvantages?
Nabors asked 4/4, 2012 at 18:39
2
Solved
I am new to OpenMP and MPI, and I want to import OpenMP and MPI to my existing CMake project. Therefore --
First, I created a very simple MPI project.
main.cpp:
#include "mpi.h"
#include "iostr...
2
Solved
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),
MPI_TYPE_CREATE_RESIZED(M...
8
Hi all, I have an array of length N, and I'd like to divide it as best as possible between 'size' processors. N/size has a remainder, e.g. 1000 array elements divided by 7 processes, or 14 proces...
Rehearsal asked 27/3, 2013 at 11:53
4
Solved
I have an mpi program and managed to compile and link it via Xcode 4.
Now I want to debug it using Xcode 4.
How can I pipe the standard input to the program from a file?
In terminal I would type
...
3
Solved
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 REQUIRED)
set...
3
Solved
I am trying to apply openmp and mpi techniques to an open source C program which requires "cmake . && make" to be built. I already found at How to set linker flags for OpenMP in CMake's...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.