As provided under section 32 of the Partnership Act, a partner may retire with the consent of all the other partners; in accordance with an express agreement by the partners; where the partnership is at will, by giving notice in writing to all the partners of his intention to retire.