Assignments for parallel processing using OpenMPI.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

4 lines
64 B

#!/bin/bash
mpicc -Wall "$1.c" -o "$1"
mpirun -v -np "$2" "$1"