Can Mathematica Utilize Multi-threading to Enhance Performance?

  • Context: Mathematica 
  • Thread starter Thread starter sukharef
  • Start date Start date
  • Tags Tags
    Mathematica Thread
Click For Summary

Discussion Overview

The discussion centers around the use of multi-threading in Mathematica to enhance performance, particularly in the context of running computations on a cluster due to limitations in personal computing capacity. Participants explore methods for utilizing Mathematica's parallelization features.

Discussion Character

  • Exploratory
  • Technical explanation
  • Homework-related

Main Points Raised

  • One participant inquires about experiences with Mathematica's multi-threading capabilities to improve computational efficiency, especially when working on a cluster.
  • Another participant shares their method of using built-in parallelization on multi-core systems, suggesting the organization of code into a single block and creating a Mathematica package for execution on a cluster.
  • A repeated inquiry seeks guidance on how to organize the process of using Mathematica on a cluster, asking if there is a manual available for this purpose.
  • Several participants provide a link to the Wolfram documentation on parallel computing as a potential resource for assistance.

Areas of Agreement / Disagreement

Participants generally share their experiences and methods regarding Mathematica's parallelization, but there is no consensus on a specific approach or solution to the initial inquiry about enhancing performance through multi-threading.

Contextual Notes

The discussion does not resolve the specifics of how to effectively implement multi-threading in Mathematica, nor does it clarify the limitations or requirements for using Mathematica on a cluster.

Who May Find This Useful

Users of Mathematica interested in parallel computing, particularly those with limited computational resources looking to utilize cluster computing for enhanced performance.

sukharef
Messages
54
Reaction score
0
Hello?
Has somebody used or has experience about using Mathematica's code with multi threading for increasing it's capacity and efficiency or smth like this?
My personal computer hasn't enough capacity to calculate all i need so now I'm looking for using Math on cluster.
Thanks!
 
Physics news on Phys.org
I use inbuilt parallelization in Mathematica on multi core systems, do you have a specific question? What I do is turn the code i want to run into a single block that can be run in one go and turn it into a Mathematica package with the only cell being an initialization cell. Then you can ssh into the cluster you have that file on and run the Math Kernel, load the package and it will run.
 
FunkyDwarf said:
I use inbuilt parallelization in Mathematica on multi core systems, do you have a specific question? What I do is turn the code i want to run into a single block that can be run in one go and turn it into a Mathematica package with the only cell being an initialization cell. Then you can ssh into the cluster you have that file on and run the Math Kernel, load the package and it will run.

My question is how to orgainize this process actually. Maybe there is a manual for it.
 

Similar threads

  • · Replies 21 ·
Replies
21
Views
6K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 6 ·
Replies
6
Views
7K
  • · Replies 3 ·
Replies
3
Views
2K