cmake and ctest corrections for mpi and srun