Frustration in rare earth intermetallic compounds