The most likely reason that your cacio e pepe cheese is clumping, or not emulsifying, is that the pasta or pasta water is too hot. You want to keep things under 180˚F, so make sure to give you pasta water time to cool. Using pre-grated cheese that contains additives like cellulose will also inhibit emulsification, so be sure to grate the cheese yourself.