Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parallel processing failing running script #65

Open
pollaro opened this issue Nov 12, 2024 · 0 comments
Open

Parallel processing failing running script #65

pollaro opened this issue Nov 12, 2024 · 0 comments

Comments

@pollaro
Copy link

pollaro commented Nov 12, 2024

One of the processes in our codebase uses the parallel pool. We initialize a pool using gcp. Then we set NumWorkers on this pool. We're getting this error:

  Error occurred while setting up or tearing down ResultRankTestCase.
  As a result, all ResultRankTestCase tests failed and did not run to completion.
      ---------
      Error ID:
      ---------
      'MATLAB:noSuchMethodOrField'
      --------------
      Error Details:
      --------------
      Unrecognized method, property, or field 'NumWorkers' for class
      'parallel.Pool'.
      
      Error in nla.TestPool/initializeParallelPool (line 19)
                  number_processes = p.NumWorkers;
      
      Error in nla.TestPool/runEdgeTestPerm (line 168)
                  [num_procs, blocks] = obj.initializeParallelPool(num_perms);
      
      Error in ResultRankTestCase/loadInputData (line 86)
                  testCase.permuted_edge_results =
                  testCase.tests.runEdgeTestPerm(testCase.edge_test_options,
                  testCase.permutations);
  ================================================================================

We do have the Parallel Computing Toolbox and I do install it during the set-up process

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant