Skip to content

Instantly share code, notes, and snippets.

View jperelli's full-sized avatar
🏄‍♂️
Hacking for surfvival

Julián Perelli jperelli

🏄‍♂️
Hacking for surfvival
View GitHub Profile
/*
License: GNU GPLv2
Authors: Julián Perelli
with ideas from http://people.sc.fsu.edu/~jburkardt/c_src/mpi/mpi.html
Organization: Sistemas Operativos Avanzados 2015 - UTN FRLP
Compile with: mpicc primos_mpi.c -o primos_mpi
Run with: mpirun -n 4 ./primos_mpi 100
*/
#include "mpi.h"
/*
License: GNU GPLv2
Authors: Julián Perelli
Organization: Sistemas Operativos Avanzados 2015 - UTN FRLP
Compile with: gcc primos.c -o primos
Run with: ./primos
*/
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#!/usr/bin/env instantfpc
uses
sysutils;
var
entrada: String;
begin