| 2 | 1/1 | 返回列表 |
| 查看: 1845 | 回復: 1 | ||
| 【懸賞金幣】回答本帖問題,作者空自忙將贈送您 10 個金幣 | ||
空自忙新蟲 (初入文壇)
|
[求助]
parfor進行并行計算時卡在了getCompleteIntervals函數(shù)里并且不進行下去了
|
|
|
有沒有大佬遇到過這種情景呀 卡在了obj.displayOutput這一句中 謝謝各位呀 function [tags, results] = getCompleteIntervals(obj, numIntervals) q = obj.IntervalCompleteQueue; timeUnitSeconds = iTimeUnitSeconds(); tags = nan(numIntervals, 1); results = cell(numIntervals, 2); for i = 1:numIntervals r = []; err = []; while isempty(r) assert(obj.NumIntervalsInController > 0, ... 'Internal error in PARFOR - no intervals to retrieve.'); r = q.poll(1, timeUnitSeconds); obj.displayOutput(); if isempty(r) % Only test to see if the session is failing if we didn't get a % results from the queue if ~obj.Session.isSessionRunning errorMessageInput = iGetParpoolLinkForError(); error(message('parallel:lang:parfor:SessionShutDown', errorMessageInput)); end else |

| 2 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 0856材料求調(diào)劑 +15 | hyf hyf hyf 2026-02-28 | 16/800 |
|
|---|---|---|---|---|
|
[考研] 一志愿武漢理工大學-085602-總分296分-求調(diào)劑 +7 | 紫川葡柚 2026-03-04 | 7/350 |
|
|
[考研] 學碩材料275調(diào)劑 +9 | 路三三 2026-03-03 | 9/450 |
|
|
[考研] 085601 材料工程 320 +6 | 和樂瑤 2026-03-03 | 6/300 |
|
|
[考研]
085600 英一數(shù)二272求調(diào)劑
5+6
|
vida_a 2026-03-01 | 47/2350 |
|
|
[考博] 26申博 +5 | north, 2026-02-28 | 5/250 |
|
|
[考研] 0703化學調(diào)劑 +4 | G212 2026-03-03 | 5/250 |
|
|
[考研] 293求調(diào)劑 +4 | 是樂渝哇 2026-03-03 | 4/200 |
|
|
[考研] 291求調(diào)劑 +4 | Afy123456 2026-03-03 | 7/350 |
|
|
[考研] 292求調(diào)劑 +3 | sgbl 2026-03-03 | 3/150 |
|
|
[考研] 085602化學工程350,調(diào)劑,有沒有211的 +5 | 利好利好. 2026-03-02 | 9/450 |
|
|
[考研] 0805總分292,求調(diào)劑 +12 | 幻想之殤 2026-03-01 | 12/600 |
|
|
[考研] 化工270求調(diào)劑 +10 | 什么名字qwq 2026-03-02 | 10/500 |
|
|
[考研] 290分材料工程085601求調(diào)劑 數(shù)二英一 +8 | llx0610 2026-03-02 | 9/450 |
|
|
[考研] 材料調(diào)劑 +6 | 愛擦汗的可樂冰 2026-02-28 | 7/350 |
|
|
[考研] 274求調(diào)劑 +3 | cgyzqwn 2026-03-01 | 7/350 |
|
|
[考研] 322求調(diào)劑 +3 | 熊境喆 2026-03-01 | 3/150 |
|
|
[考研] 299求調(diào)劑 +3 | Y墨明棋妙Y 2026-02-28 | 5/250 |
|
|
[考研] 328求調(diào)劑 +3 | aaadim 2026-03-01 | 5/250 |
|
|
[考研] 0856材料求調(diào)劑 +4 | 麻辣魷魚 2026-02-28 | 4/200 |
|