Skip to content
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.

Commit

Permalink
not mpi
Browse files Browse the repository at this point in the history
  • Loading branch information
TortoiseWrath committed Apr 24, 2019
1 parent a920685 commit bc613b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions proj4/part1-outer.c
Expand Up @@ -9,6 +9,8 @@ int main(int argc, char *argv[]) {
t = atoi(argv[1]);
}
omp_set_num_threads(t);

printf("Testing with %i threads\n", t);

double *A = malloc(sizeof *A * N * N);
double *B = malloc(sizeof *B * N * N);
Expand Down
8 changes: 4 additions & 4 deletions proj4/part1-outer.job
Expand Up @@ -8,7 +8,7 @@
#SBATCH -o %j.out
#SBATCH -e %j.error

mpirun ./part1-outer 4
mpirun ./part1-outer 8
mpirun ./part1-outer 16
mpirun ./part1-outer 32
./part1-outer 4
./part1-outer 8
./part1-outer 16
./part1-outer 32

0 comments on commit bc613b5

Please sign in to comment.