Back
Close

Have fun with MPI in C

spagnuolocarmine
19.5K views

Introduction Questions

Distributed-Memory Programming is

?What is Symmetric multiprocessing? -[x] involves a multiprocessor computer hardware and software architecture where two or more identical processors are connected to a single, shared main memory. -[x] involves a multiprocessor computer hardware and software architecture where two or more identical processors are connected to a multiple, shared main memory.

MPI is
OpenMPI is
The OpenMPI Open, Portable Access Layer is responsible for
What is an MPI binding?
The OpenMPI Open MPI Run-Time Environment (ORTE) is responsible for
The MPI_Init function tells the MPI system to
The MPI_Finalize function tells the MPI system
The rank of an MPI process in the MPI_COMM_WORLD communicator is a
Provide the C code using OpenMPI that write on the STDOUT the number of the processors involved in the computation.
Provide the C code using OpenMPI that write on the STDOUT the rank of the process. Consider that the execution on the mpi process use the flag -np=1. The output of your program must be in the form: Hello world from processor 4ec330b6dbf8, rank 0 out of 1 processors.
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io
codingame x discord
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
JOIN US ON DISCORD
Online Participants