  We investigate acceleration of cosmic rays by shocks and accretion flows in
galaxy clusters. Numerical results for spectra of accelerated particles and
nonthermal emission are presented. It is shown that the acceleration of protons
and nuclei in the nearby galaxy cluster Virgo can explain the observed spectra
of ultra high energy cosmic rays.
