def METHOD_NAME(self):
    '''Check that every node has the right number of GPUs.'''
    my_nodes = set(sn.extractall(
        rf'^\s*\[([^\]]*)\]\s*Found {self.num_gpus_per_node} device\(s\).',
        self.stdout, 1))
    # Check that every node has made it to the end.
    nodes_at_end = len(set(sn.extractall(
        r'^\s*\[([^\]]*)\]\s*Pointer chase complete.',
        self.stdout, 1)))
    return sn.assert_eq(
        sn.assert_eq(self.job.num_tasks, sn.count(my_nodes)),
        sn.assert_eq(self.job.num_tasks, nodes_at_end)
    )