diff options
author | Logan Hunt <loganhunt@simponic.xyz> | 2021-12-08 18:46:42 -0700 |
---|---|---|
committer | Logan Hunt <loganhunt@simponic.xyz> | 2021-12-08 18:46:42 -0700 |
commit | fed69696128f77bb0153336a37f4a6350a39475f (patch) | |
tree | f100db0f03edd7829563c8a77a24498227788dee | |
parent | 9362bc1591ac20e0f48564f22c77f74e1c8a68e2 (diff) | |
download | gol-fed69696128f77bb0153336a37f4a6350a39475f.tar.gz gol-fed69696128f77bb0153336a37f4a6350a39475f.zip |
Update Readme
-rw-r--r-- | Readme.org | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -1,7 +1,9 @@ #+AUTHOR: Logan Hunt * CS 5030 Final Project -This is GOL. That's it. (Not done yet) +[[./report/report.pdf][Report]] + +This is GOL. That's it. [[https://youtu.be/N_aUWYNqpeY][A Video Example]] @@ -26,7 +28,11 @@ For example to make a movie of the outputs generated in ~cuda-global/output~ whe ** Building *** MPI -Not done yet +Firstly, ~module load gcc mpich~. Then ~cd~ into ~mpi~ and ~make~. + +Then, you can run with + +~mpirun -np <cores> ./gol simulate <filename | random> <width> <height> <iterations> <log-each-step?1:0>~ *** Cuda Firstly, ~cd~ into ~cuda-global~ and ~make~. @@ -37,7 +43,7 @@ Then start an interactive gpu session on notchpeak: This implementation takes these arguments: -~srun ./gol simulate <filename | random> <width> <height> <iterations> <log-each-step?1:0> <block-size>~ +~srun ./gol simulate <filename | random> <width> <height> <iterations> <log-each-step?1:0>~ For example to do 1000 iterations at 1920x1080 with a random starting position (the last ~1~ will log each iteration into the ~output~ directory) with a block size of 32: |