Assignment 5 make run command + NaNs with default case

Assignment 5 make run command + NaNs with default case

par Karththigan Pushparaj,
Nombre de réponses : 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)

En réponse à Karththigan Pushparaj

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

par Ramses van Zon,

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

En réponse à Ramses van Zon

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

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