That's not true. A deal was there to be done last week when the Syriza Government agreed to do €8B more austerity, which was brokered by Hollande the French President. Then the IMF wouldn't sign off on it because they wouldn't wear the tax hike that was proposed along with it and the fact Greece was still asking for a partial write off of debts. Since then a variety of national governments are against any negotiated settlement. They want complete surrender to austerity to pacify their own constituencies.
I think the European governments and agencies have pushed Syriza too far and they've been shocked and outflanked by the referendum call. The harder left in that party are now in control and will push for grexit. Greece, because of the people on the street, are too tough a nut for the EU/Troika to crack. They've been through a crucible and cant be intimated by anyone at this stage. Hopefully Spain pick the baton up after the Greeks default.