Assignment 5 make run command + NaNs with default case

Assignment 5 make run command + NaNs with default case

by Karththigan Pushparaj -
Number of replies: 4
For Assignment 5 where it says:

  • Add a 'run' target to your Makefile that runs the case P=400N=200T=10, and Δt=10e-5.
  • Submit your repo as a zip file and the output of the 'run' target by March 6, 2026.

Which one of the matrix multiplication modes should our 'make run' command use (since we have to submit an output file)?

Also when I run the above case, I find that most of the values are -nan by snapshot 4. is this because the given Δt=10e-5 is too large? (decreasing to 5e-6 doesn't result in this issue)

In reply to Karththigan Pushparaj

Re: Assignment 5 make run command + NaNs with default case

by Ramses van Zon -

Yes, sorry that was a typo, it should have said 10^-6.

In reply to Ramses van Zon

Re: Assignment 5 make run command + NaNs with default case

by Karththigan Pushparaj -
Thank you! And just to confirm, should our 'make run' command run all three matrix multiplications implementations?
In reply to Karththigan Pushparaj

Re: Assignment 5 make run command + NaNs with default case

by Ramses van Zon -
They should all give very similar results. Submit the one for the third case.