4

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?

Robjobbob
  • 351
  • 1
  • 9

2 Answers2

11

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.

Jesse Friedman
  • 746
  • 5
  • 9
1

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

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

Joshua Schrier
  • 3,356
  • 8
  • 19