tyn1998 / mpi-demo

An mpi demo implementing odd-even transposition sort with a medium sized C project structure.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quick start

  1. you need a C compiler and GNU/make
  2. install Open MPI on your OS
  3. run make to compile the program
  4. run make run to run the program

Note

  • "compile_flags.txt" is for clangd to identify the locations of head files
  • ".tasks" is for asynctasks.vim
  • directly use mpiexec -n <N> build/main to run the program with N processes(N must evenly divides data number in this case)

Screenshot

pic

About

An mpi demo implementing odd-even transposition sort with a medium sized C project structure.


Languages

Language:C 92.3%Language:Makefile 7.7%