**The actual partition function is unimaginably formidable.** For just N point particles in a 3D box, it's already got 3N dimensions. If the box is length L, GROMACS would probably divide the box into a machine-precision grid and calculate the energy from $\sim L \times 10^{10}$ values in each dimension. The partition function would incorporate all of that information, the energy at each of those $L \times 10^{30N}$ points; even for two particles in a one unit box, that's already $10^{60}$. **When you speak of "the partition function" you're talking about the entire thermodynamic state of the system and all of its possible permutations.** If we truly knew that function, we would be omniscient and could calculate anything about the system! Since we can't really calculate at the level of the entire partition function, we use simulations (MC and MD, etc.) to sample regions of interest (usually low-energy areas). **To a computational chemist, the partition function is most practical for its mathematical basis**. It's the way to get from statistical mechanics (a bunch of particles moving around in a box) to actual thermodynamic properties (Helmholtz energy, pressure, etc.).