EvaluationObject
✖
EvaluationObject
represents an expression submitted for evaluation on any available parallel kernel.
Details
- Evaluation objects are created with ParallelSubmit.
- The results of evaluations are collected with WaitAll or WaitNext.
- All evaluation objects appearing anywhere inside the argument of WaitAll[arg] will be replaced by the respective result of the evaluation.
- EvaluationObject[…]["prop"] returns the value of "prop" for a given EvaluationObject.
- EvaluationObject[…]["Properties"] returns a list of all properties available.
- EvaluationObject[…][All] returns an association with the properties as keys and the value of the respective property.
- Possible properties for EvaluationObject include:
-
"Process" the expression to be evaluated "Result" the result of the evaluation "State" the current state of the evaluation object
Examples
open allclose allBasic Examples (2)Summary of the most common use cases
Submit a single evaluation and wait for it to finish:
https://wolfram.com/xid/0rs1j8yoi-i6vq3e
https://wolfram.com/xid/0rs1j8yoi-bb8is
Wait for all evaluations contained in a sum:
https://wolfram.com/xid/0rs1j8yoi-sj7em
https://wolfram.com/xid/0rs1j8yoi-c85g0r
Scope (2)Survey of the scope of standard use cases
During scheduling, an evaluation goes through these successive states: ready, running, received and finished:
https://wolfram.com/xid/0rs1j8yoi-dmnppq
https://wolfram.com/xid/0rs1j8yoi-5llokr
https://wolfram.com/xid/0rs1j8yoi-pvjivi
https://wolfram.com/xid/0rs1j8yoi-wm9d6j
https://wolfram.com/xid/0rs1j8yoi-0jp3ep
Find the properties of an EvaluationObject:
https://wolfram.com/xid/0rs1j8yoi-z7uehe
https://wolfram.com/xid/0rs1j8yoi-20bp8p
https://wolfram.com/xid/0rs1j8yoi-p3jb1k
Only after finishing the evaluation does the result become available:
https://wolfram.com/xid/0rs1j8yoi-ptg50x
https://wolfram.com/xid/0rs1j8yoi-oqz31f
Information[ev] gives the same information as ev[All]:
https://wolfram.com/xid/0rs1j8yoi-dzovbq
Properties & Relations (2)Properties of the function, and connections to other functions
Evaluation objects are created with ParallelSubmit:
https://wolfram.com/xid/0rs1j8yoi-cknmky
Their results are collected with WaitAll or WaitNext:
https://wolfram.com/xid/0rs1j8yoi-ctkna9
Scheduled evaluations no longer needed can be aborted with AbortKernels:
https://wolfram.com/xid/0rs1j8yoi-b1zabm
https://wolfram.com/xid/0rs1j8yoi-njwgfp
https://wolfram.com/xid/0rs1j8yoi-bn7sed
Possible Issues (2)Common pitfalls and unexpected behavior
Each evaluation should be waited for exactly once:
https://wolfram.com/xid/0rs1j8yoi-denug4
https://wolfram.com/xid/0rs1j8yoi-c8itso
The evaluation object has already completed:
https://wolfram.com/xid/0rs1j8yoi-bs33md
https://wolfram.com/xid/0rs1j8yoi-bi8bw6
Evaluation objects are created by ParallelSubmit; they cannot be input directly:
https://wolfram.com/xid/0rs1j8yoi-sozt33
https://wolfram.com/xid/0rs1j8yoi-ixu3z0
Wolfram Research (2008), EvaluationObject, Wolfram Language function, https://reference.wolfram.com/language/ref/EvaluationObject.html.
Text
Wolfram Research (2008), EvaluationObject, Wolfram Language function, https://reference.wolfram.com/language/ref/EvaluationObject.html.
Wolfram Research (2008), EvaluationObject, Wolfram Language function, https://reference.wolfram.com/language/ref/EvaluationObject.html.
CMS
Wolfram Language. 2008. "EvaluationObject." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/EvaluationObject.html.
Wolfram Language. 2008. "EvaluationObject." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/EvaluationObject.html.
APA
Wolfram Language. (2008). EvaluationObject. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EvaluationObject.html
Wolfram Language. (2008). EvaluationObject. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EvaluationObject.html
BibTeX
@misc{reference.wolfram_2024_evaluationobject, author="Wolfram Research", title="{EvaluationObject}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/EvaluationObject.html}", note=[Accessed: 10-January-2025
]}
BibLaTeX
@online{reference.wolfram_2024_evaluationobject, organization={Wolfram Research}, title={EvaluationObject}, year={2008}, url={https://reference.wolfram.com/language/ref/EvaluationObject.html}, note=[Accessed: 10-January-2025
]}