Skip to content

Adrodoc/mpi-send-blocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Setup

Install prerequisites

On Ubuntu

sudo apt install cmake
# MPICH is recommended, but other MPI implementations might work too.
sudo apt install mpich

Setup project

# Check out the repository:
git clone https://github.com/Adrodoc/mpi-send-blocks.git
# Go to the root directory:
cd mpi-send-blocks
# Make a build directory to place the build output:
cmake -E make_directory "build"
# Generate build system files with cmake:
cmake -E chdir "build" cmake -DCMAKE_BUILD_TYPE=Release ..
# or, starting with CMake 3.13, use a simpler form:
# cmake -DCMAKE_BUILD_TYPE=Release -S . -B "build"

Build

cmake --build build --config Release

Run

Locally

mpirun -n 2 build/main

At LRZ

salloc --nodes=2 --ntasks-per-node=1 --partition=cm2_inter
mpiexec build/main
exit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published