Close
Close window
GetLastResult - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

Grid

GetLastResult

get the last computed value from a remote parallel compute node

Calling Sequence

GetLastResult(node)

Parameters

node

-

integer

Description

The GetLastResult command gets the last result computed on the specified grid node.

The last result could be any activity initiated by the Launch , Run , Set , or Get commands.

This command can only be used when a node is finished computing. If the specified node is not yet done computing, GetLastResult will block and wait for the computation to finish.

The GetLastResult command is only available in local Grid mode.

Examples

>

Grid:-Run0,int,x,x

>

Grid:-Run1,int,sinx,x

>

Grid:-GetLastResult1

cosx

(1)
>

Grid:-GetLastResult0

x22

(2)

The NULL value is a valid result that can be returned. The print command returns NULL. Note that without waiting, you may not see the displayed output in sequence. This should not be confused with the returned result.

>

Grid:-Run1,print,42

>

rGrid:-GetLastResult1

>

evalbr=NULL

true

(3)

Compatibility

The Grid[GetLastResult] command was introduced in Maple 2015.

For more information on Maple 2015 changes, see Updates in Maple 2015 .


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /