Skip to content

Instantly share code, notes, and snippets.

View Filtatos's full-sized avatar

Alex Filtatos

  • Athens, Greece
  • 16:56 (UTC +02:00)
View GitHub Profile
@ehamberg
ehamberg / scatterv.c
Last active January 17, 2024 00:55
MPI_Scatterv example
#include <mpi.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#define SIZE 4
int main(int argc, char *argv[])
{
int rank, size; // for storing this process' rank, and the number of processes