Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Grid[NumNodes] - 現在行っている計算に参加しているノードの数をクエリー
使い方
NumNodes()
説明
NumNodes コマンドは、並列計算において実行される Maple コードから利用できます。
並列ジョブが N 個のノード上で起動されたとします。この計算中、各ノードは 0 から N-1 までの整数の識別番号を割り当てられます。NumNodes() は、この並列計算に参加している全ノードの数 N を戻します。
この関数は Grid パッケージに含まれているので、コマンド with(Grid) を実行してからのみ 短縮形 Grid(..) で呼び出せます。原形 のコマンド Grid[NumNodes](..) を使えばいつでも利用できます。
互換性
Grid[NumNodes] コマンドは Maple 15 より導入されました。
Maple 15 の変更点についての詳細は、Maple 15 の更新情報 をご覧ください。
例
Grid:-Launch("Grid:-NumNodes();",numnodes=5);
5 5 5 5 5
Grid:-Launch("Grid:-NumNodes();",numnodes=3);
3 3 3
参照
Grid, Grid[MyNode]
Download Help Document