new file:   examples/run_diag_block.py