Atlantic multidecadal oceanic variability and its influence on the atmosphere in a climate model