Search for R-parity-violating gluinos at the LHC