Open jleskiw opened 8 years ago
Sometimes the Python wrapper system doesn't catch C runtime errors properly. That is, there may be a non-compile-time issue with your code.
Possibly related, I'm not sure why you're shifting your heat equation data a la shift.c
. That was a very separate problem. In this problem I'm asking you to apply the same data communication strategy as shift.c
to the problem you need to solve in the homework.
I was able to produce the expected serial_heat.png plot, following the steps given in the homework.
produces the object file
updated test_homework4.py with the following addition, as per suggestion from issue #1.
which produced the expect plots
2) I was not able to test my
heat_parallel.c
changes, as I received atest_homework4.py
make file traceback error. I believe I followed the steps given in the homework. Please advise-made updates to heat_parallel to include use of MPI. -installed mpi4y
updated test_homework4.py to uncomment the parallel code, comment the serial plot command.
successful