code: def find_optconf(self, pconfs):
          
          # Save pconfs for future reference.
          self.set_pconfs(pconfs)
  
          # Select the partition on which we'll be running and set MPI/OMP cores.
          optconf = self.manager.select_qadapter(pconfs)
          return optconf
docs: Find the optimal Parallel configuration.