This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env instantfpc | |
uses | |
sysutils; | |
var | |
entrada: String; | |
begin | |
NewerOlder