Make quadratic energy real

10 jobs for fix_mpi_kl in 19 minutes and 52 seconds (queued for 1 second)