mpicc -o jac1 jac1.c -O3 mpirun -np 1 jac1 12 6 1 0it produces
0.000000 0.987654 1.939643 2.794239 3.456790 3.823045 3.823045 3.456790 2.794239 1.939643 0.987654 0.000000 Sequential process complete, time: 0.0000257
Create a Makefile. Notice that it may change when you go from the Veggie machines to the Cray. Experiment with buffer sizes k, for problem size n = 3200 and number of iterations m = 32000 on the Cray using 1, 2, 4, 8, and 16 nodes, e.g.,
wbohm@cray2:~/lustrefs> aprun -n 1 jac1 3200 32000 1uses one node on the Cray.
Submit your Cray Makefile, MPI code, your Cray time and speedup statistics, and observations in a README file in PA4.tar.