M.D.
I wash out my dishwasher once a month. Put in a cup of vinegar in the top rack with no other dishes and run it. Stop the dishwasher before it gets to the heating cycle. I would do it with the dishwasher first, then the dishes. I would run the dishes again in the regular cycle with soap after that, but the smell should be gone.