 When Jake Gyllenhaal (qv) and Dustin Hoffman (qv) are sitting on  the park bench talking, the scene is actually two locations. When  you see them from the front, that is in Marblehead, Massachusetts.  When you see them from behind, youre seeing Gloucester,  Massachusetts (where Perfect Storm was filmed). You can see evidence  of the two locations in the bench they are sitting on 