Error in parallel pool

11 次查看(过去 30 天)
Nadatimuj
Nadatimuj 2025-8-10
评论: Raymond Norris 2025-8-22,0:20
parpool('local', numWorkers);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Caused by:
Error using
parallel.internal.pool.SpfClientSession
Failed to open any port in the range [27370
28370]. Verify that at least one port is
available in this range and not in use by
another process on this machine. Cause:
Failed to bind to ::1:28370 with error:
Cannot assign requested address.
  2 个评论
Walter Roberson
Walter Roberson 2025-8-11
It sounds as if your matlab process is being restricted by an internal firewall
Raymond Norris
Raymond Norris 2025-8-22,0:20
Agreed. I'd suggest contact Technical Support (support@mathworks.com) to help troubleshoot this.

请先登录,再进行评论。

回答(1 个)

Mike Croucher
Mike Croucher 2025-8-11
I'm curious, does a Thread pool work?
parpool("Threads")

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

产品


版本

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by