Skip to content

Multi threads #389

Answered by lesquoyb
dhdang2003 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

Yes indeed you can use threads in GAMA it is present in the form of a skill that offer thread-related actions. You can find the documentation here.
However you need to understand that:

  1. Threads may not improve the speed of your simulation, simply because not all problems benefits from threads, and thread manipulation itself has a cost in terms of time.
  2. Using threads you may lose the reproducibility property of your simulation, so if being able to obtain exactly the same results with the same input is important for you, then threads may not be the right answer.
  3. Finally threads are a bit new in gama so it's very likely that it doesn't cover all use case. That being said, if you canno…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dhdang2003
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants