US President Barack Obama spoke with Greek Finance Minister Yanis Varoufakis on the sidelines of an event at the White House honoring Greece's Independence Day with the former stressing the need for flexibility from all sides in ongoing reform negotiations between Greece and its creditors, according to sources.