Linked Questions

1 vote
0 answers
55 views

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 ...
user avatar
584 votes
19 answers
148k views

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 ...
53 votes
1 answer
5k views

Why won't Parallelize speed up my code?

What reasons are there that can cause parallelized Mathematica code not to run with full performance?
user avatar
  • 224k
25 votes
2 answers
10k views

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....
user avatar
  • 808
18 votes
1 answer
3k views

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 ...
user avatar
  • 9,415
22 votes
1 answer
414 views

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 ...
user avatar
  • 1,303
13 votes
1 answer
1k views

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 ...
user avatar
  • 15.6k
10 votes
2 answers
1k views

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 ...
user avatar
  • 15.6k
16 votes
1 answer
807 views

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 ...
user avatar
  • 15.6k
7 votes
0 answers
152 views

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 ...
user avatar
  • 3,446
2 votes
0 answers
120 views

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.
user avatar