We describe an inkjet printing assisted cooperative-assembly method for high-throughput generation of catalyst libraries (multicomponent mesoporous metal oxides) at a rate of 1,000,000-formulations/hour with up to eight-component compositions. The compositions and mesostructures of the libraries can be well-controlled and continuously varied. Fast identification of an inexpensive and efficient quaternary catalyst for photocatalytic hydrogen evolution is achieved via a multidimensional group testing strategy to reduce the number of performance validation experiments (25,000-fold reduction over an exhaustive one-by-one search).