Skip to Main Content
Mathematica 錦囊妙計
book

Mathematica 錦囊妙計

by Sal Mangano
April 2014
Beginner to intermediate content levelBeginner to intermediate
830 pages
15h 21m
Chinese
GoTop Information, Inc.
Content preview from Mathematica 錦囊妙計
674
|
第十六章
最後一步則是
reducer
函數,用來接收各鍵值的合併結果(以檔案或串列形式)並傳遞
鍵值與結果串列至
reduce
函數;
leDisposition
選項用來設定中介檔案的處理,預設
值為
DeleteFile
指令,將中介檔案刪除,也可用其進行更複雜的處理,如寫入程式運行
紀錄(log)或紀錄程式運行進度。
[Page-678]
延伸資訊
map-reduce
的原創論文請參考網址:
http://bit.ly/bXsWsD
關於原創論文所沒有提到的細節分析,請見網址:
http://bit.ly/bXsWsD
16.14 平行處理效能分析
問題點
你想了解平行運算程式效能不如預期的原因。
ch16.indd 674 2014/4/2 下午 04:11:21
16.14 平行處理效能分析
|
675
解決方案
藉由對
$Parallel
系統變數設定選項,可啟動平行運算的追蹤動作。
Tracers
選項用來
指定要輸出的追蹤資訊種類,
TraceHandler
指令則指定如何處理追蹤資訊。[Page-679]
ch16.indd 675 2014/4/2 下午 04:11:22
676
|
第十六章
不再進行追蹤動作時,記得將其關閉。[Page-680]
討論說明
Tracers
有四種追蹤資訊種類,你可以設定任意組
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Ubuntu for Non-Geeks, 4th Edition

Ubuntu for Non-Geeks, 4th Edition

Rickford Grant, Phil Bull

Publisher Resources

ISBN: 9789863470106