4
$\begingroup$

I want to be able to run parallelisable tasks quicker and on better hardware. Are there any services that can easily do this with my personal copy of Mathematica?

$\endgroup$

2 Answers 2

11
$\begingroup$

The remote batch job submission functionality in version 12.2 of Mathematica makes it easy to run batch jobs on cloud services like AWS Batch. See this example illustrating a trivial job using multi-core parallel computation:

In[1]:= job = RemoteBatchSubmit[
  RemoteBatchSubmissionEnvironment[...],
  {$ProcessorCount, ParallelEvaluate[$KernelID]},
  RemoteProviderSettings -> <|"VCPUCount" -> 4|>
];

(* a few minutes later *)
In[2]:= job["EvaluationResult"]
Out[2]= {4, {1, 2, 3, 4}}

As of this writing, the largest non-specialty EC2 instance type has 96 cores, so you can specify up to "VCPUCount" -> 96.

$\endgroup$
1
$\begingroup$

There has been some discussion of how to run Wolfram Engine on AWS

https://community.wolfram.com/groups/-/m/t/1887758

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.