Affected farmers will be given input subsidy by the state government and the agricultural dependent industries will be compensated, agricultural minister P Pulla Rao said.