def use_proc_files():
    if MPI is not None:
        rank = MPI.COMM_WORLD.rank
        sname = rank % "%s.out"
        ofile = open(sname, 'wb')
        _redirect_streams(ofile.fileno())
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/mpiwrap.py/use_proc_files/swapped operands of `%`