Heartburn, directed by Mike Nichols, from a screenplay by Nora Ephron, based her semi-autobiographical novel chronicling her fractious marriage to journalist Carl Bernstein, opens nationally.