"WolframBatch" (Batch Computation Provider)
Details
Environment Properties
Job Settings
"RemoteMachineClass" | "Basic1x8" | type of computing resource to use |
"Basic1x8" | basic machine class with 1 CPU core and 8 GB of memory | |
"Basic2x8" | 2 CPU cores and 8 GB of memory | |
"Basic4x16" | 4 CPU cores and 16 GB of memory | |
"Memory8x64" | memory-optimized class with 8 CPU cores and 64 GB of memory | |
"Memory16x128" | 16 CPU cores and 128 GB of memory | |
"Memory192x1536" | 192 CPU cores and 1536 GB of memory | |
"Compute64x128" | compute-optimized class with 64 CPU cores and 128 GB of memory | |
"Compute192x384" | 192 CPU cores and 384 GB of memory |
Job Notifications
"Email" | sends an email to the address specified by $WolframID | |
"SMS" | sends an SMS text message to $MobilePhone |
"JobStarting" | job is no longer queued and is preparing to start | |
"JobStarted" | job has started running | |
"JobCompleted" | job has succeeded or terminated | |
"JobSucceeded" | job succeeded producing a result | |
"JobTerminated" | job terminated abnormally | |
"JobStatusChanged" | issued for all job status change events |
{"HoursElapsed",n} | approximately every n hours since job creation |
{"JobCreditsUsed",n} | every time approximately n credits have been consumed |
Job Statuses
"Queued" | the job is waiting for compute resources to be available | |
"Starting" | the job has been scheduled to an instance and its container image is being downloaded | |
"Running" | the job's container has started | |
"Succeeded" | the job's execution has succeeded and its output has been uploaded | |
"Terminated" | the job has been aborted or stopped due to errors |
Job Properties
"JobExitCode" | exit code returned by the kernel within the job container | |
"JobLogData" | console log and timestamp data as a list | |
"JobLogString" | console logs from the job container | |
"JobLogTabular" | console log and timestamp data in Tabular format | |
"JobStatusReason" | string describing the reason for which the job is in its current state | |
"OutputPreviewImage" | image preview of the job's evaluation result |
"JobStatusReason" | string describing the reason for which the job is in its current state | |
"OutputPreviewImage" | image preview of the first child job's evaluation result |
"JobLogString" | console logs from the job container |
Examples
open all close allBasic Examples (1)
The default remote batch environment is "WolframBatch". If you are not connected to your WolframID account, it will prompt you to log in first:
Submit a job using the default "WolframBatch" environment. RemoteBatchSubmit returns a RemoteBatchJobObject that allows you to manage and view the state of the job:
Job Settings (1)
Properties & Relations (7)
Run a batch job with a given service credit budget:
Run a batch job with a given maximum runtime:
Receive SMS text notifications for job state change events:
Receive text notifications when the job starts and finishes, and emails every 2 hours while it runs:
Do not produce any notifications:
Use a default set of notifications:
Verify the detailed specification used for the default notifications:
Receive a notification when a job either succeeds or terminates: