starkshivam003/mpi-parallel-hpc-programs ? reverse-engineered prompt

Reverse engineered prompt

Build me a small coursework workspace for two MPI based HPC projects.

One part should be a bigger end semester style program that runs a 3D stencil simulation with halo exchange across processes, then collects timing results from batch job output and makes a comparison plot. The other part should be a simpler mid semester MPI communication experiment that swaps data with nearby processes, runs a few different sizes and process counts, and plots the runtime results.

I want both projects to be runnable on a Linux cluster with MPI and SLURM, with simple compile and run instructions, plus scripts to launch the experiments and generate the plots. Keep the two projects separate, and include clear readmes so someone can follow along without much setup.

If you need to check current command details or plotting library usage, look up the latest docs online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab