Skip to content

wbv/testmpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

testmpi

Think "hello, world", but for MPI. Using this for buildroot + OpenMPI package testing.

Written expecting MPI version 3.0.0 but may work for others.

Installation

Example usage:

make
sudo make install # optional
mpirun -np 7 testmpi

Custom Compilation

To facilitate cross-compiling, you can manually specify the (cross-) compiler, compile flags, and link flags when invoking the Makefile. For example (in some hypothetical cross-compilation):

MPICC=arm-linux-gnueabihf-gcc \
MPICFLAGS="-pthread" \
MPILFLAGS="-Wl,-rpath -Wl,/usr/lib -Wl,--enable-new-dtags -lmpi" \
make

About

Hello World, but for MPI. Using this for buildroot + OpenMPI package testing

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors