Linked Questions

1 vote
0 answers

Is FindMinimum function multithreaded? Is it worth it to use this function in ParallelDo loop? [duplicate]

I have to call FindMinimum function n times on my data. But when I put it in ParallelDo loop it works slower than in casual Do loop. I wonder what might be the case (in the loop there are no other ...
Satori Komeiji's user avatar
603 votes
19 answers

Where can I find examples of good Mathematica programming practice?

I consider myself a pretty good Mathematica programmer, but I'm always looking out for ways to either improve my way of doing things in Mathematica, or to see if there's something nifty that I haven't ...
58 votes
1 answer

Why won't Parallelize speed up my code?

What reasons are there that can cause parallelized Mathematica code not to run with full performance?
Szabolcs's user avatar
  • 236k
26 votes
2 answers

Measuring execution time of code

How one can measure the execution time (time that is spent for code to finish) of a program in Mathematica? I understand that there are general timing functions (Timing, AbsoluteTiming, TimeUsed, etc....
sky-light's user avatar
  • 827
20 votes
1 answer

Does Mathematica take advantage of hyper-threading (if it is available)?

I do not know much about computer architecture, but some Intel processors have hyper-threading technology, which can apparently improve parallelization for applications that take advantage of it. In ...
Andrew's user avatar
  • 10.6k
24 votes
1 answer

Intuitive explanation of RemoteBatchSubmit[] in AWS for total novices?

When I read Wolfram's post about the new features in MMA 12.2 I was intrigued by RemoteBatchSubmit[]. He wrote: I have only ever used MMA from my laptop, and never used any other cloud computing or ...
TumbiSapichu's user avatar
  • 1,603
14 votes
1 answer

How to force an evaluation to use only one core?

There are some evaluations which are automatically parallelized or multithread if there are cores available.( for example, Eigenvalues) But I don't want the ...
matheorem's user avatar
  • 17.2k
11 votes
2 answers

Does Eigenvalues evaluate in a parallelized way?

I use mathematica on a computer with linux operating system. The computer has 2 cpus and each cpu has 4 cores, so there are totally 8 cores available. Now I got confused with whether the evaluation ...
matheorem's user avatar
  • 17.2k
16 votes
1 answer

How to parallel the computation tasks according to machines instead of kernels

On a HPC, there are many computation nodes, each node corresponds to an independent machine. Every node has several cores, for example 8 per node. Mathematica can launch remote kernels on different ...
matheorem's user avatar
  • 17.2k
7 votes
0 answers

Are all MMA computations single-core unless explicitly parallelized?

I was wondering if the WolframMark Benchmark uses more than one core. This becomes relevant when comparing Benchmark scores between, say, 4-core and 8-core machines. I looked at Benchmark's code, and ...
theorist's user avatar
  • 3,633
2 votes
0 answers

Whether Parallel computing or Gpu Computing can be performed for mathematica built-in functions? [closed]

I want to know how to run my mathematica code using GPU or parallel computing without any special coding besides using the original Mathematica code.
revanth roy's user avatar