Updated 7.15am Sunday, Adds comments, videos

The Group of Seven leaders went to their summit in Canada braced for battle, and while everyone had smiles ready for the cameras, behind the scenes US President Donald Trump delivered a "rant" and recriminations on trade to US allies, leaving the once united club deeply divided.

Trade dominated the two-day summit that began on Friday with leaders of Germany, France, Japan, Canada, Britain and Italy returning to the topic repeatedly in meetings, at a lavish dinner and by a fireside pit late into the evening.

A photo tweeted by the German government spokesman, @RegSprecher, captured the mood, showing a seated Trump, arms crossed, surrounded by other leaders standing over him.

At what a French presidential official described as one "extraordinary" session on Friday, leaders who had vowed to confront Trump over his decision to impose tariffs on US allies last week as part of his "America First" agenda, showered Trump with data one after the other.

Trump gave "a long, frank rant", the official said, repeating a position he carried through the 2016 U.S. election campaign into the White House that the United States had suffered at the hands of its trading partners, with French President Emmanuel Macron pushing back on the assertion and Japanese Prime Minister Shinzo Abe chiming in.

Video: Reuters

It was "a long litany of recriminations, somewhat bitter reports that the United States was treated unfairly," said the French official, who spoke on condition of anonymity. "It was a difficult time, rough, very frank."

The US president did not appear to be listening during some of the trade presentations, another G7 official familiar with the meeting said.

White House officials did not immediately respond to requests for comment on the characterisations by these officials of Trump's remarks or attention to the presentations.

Trump himself told reporters on Saturday that the summit was not contentious and called his relationship with G7 allies a "10".

Despite smiles and jokes for the cameras, the tension among the leaders was clear. At one point, German Chancellor Angela Merkel was seen having a brief, intense one-sided conversation with a stony-faced Trump on Friday.

On Saturday, Canadian Prime Minister Justin Trudeau sniped about "stragglers" after Trump was late to a breakfast session on gender equality. Trump left the summit early for Singapore, where he will meet North Korean leader Kim Jong Un next week.

One scene at the very beginning of the gathering of presidents and prime ministers of the biggest industrialized nations set the mood for facing the brash Trump.

He arrived at La Malbaie, the scenic luxury resort on the banks of the St. Lawrence River in Quebec, as the four European leaders and the two EU heads were huddled together in a room to coordinate their strategy. The noise of Trump's helicopter landing was so loud they had to stop talking for a while, in a scene one official compared to the opening from the U.S. television series M.A.S.H.

"The EU understands that the only way with Trump is strength," said one European official. "If you give in now, he will come back tomorrow for more."

Donald Trump accused the European Union of a "brutal" approach to trade with the United States and warned that retaliating to American steel tariffs would be a mistake.

The US president accused other states of "robbing" his country through their trade policies.

Despite being at odds with other countries at the gathering in Canada, Mr Trump rated his relationship with their leaders as a "10" - naming Germany's Angela Merkel, French president Emmanuel Macron and Canada's Justin Trudeau, but not the UK's Prime Minister.

Theresa May has criticised the tariffs and also opposes Mr Trump's call for Russia to be readmitted to the group of leading industrialised nations.

But Mr Trump insisted it would be an "asset" to have Vladimir Putin back at the summit table. 

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.