South Sudan President Salva Kiir. [Reuters]

South Sudan President Salva Kiir has called for a halt to fighting between forces loyal to Vice President Riek Machar and a splinter group that threatens the country's fragile peace process.

Clashes broke out earlier this month in the Upper Nile region between Mr Machar loyalists and supporters of Lieutenant General Simon Gatwech Dual after Mr Gatwech tried to replace Machar as the head of their party.

Machar said the move was aimed at trying to block the country's peace process. Civil war broke out in South Sudan two years after independence in 2011 when forces loyal to Kiir and Machar clashed in the capital. It killed 400,000 people and led to a major refugee crisis before a peace accord was reached in 2018.

Kiir's office said in a statement: "The Presidency strongly directs for the immediate cessation of hostilities between the ... forces under the command of Dr Riek Machar Teny, and the breakaway ... forces under the command of General Simon Gatwech Dual."

A spokesperson for Machar, Lam Paul Gabriel, said his group was ready for talks after the clashes in Magenis.

"We hope that the situation will come back to normalcy," he said.

General Gatwech's spokesperson was not reachable for comment.