ENH: initial commit for parallel support (GH5751)