Want to know how to call parallel within a python script
Asked by
MikeZhao
Nowadays I am trying to make the calculation faster , and I want to use its parallel function.
We usually use the command ‘ yade -j4 file.py' to call more cores when we do simulations via Yade alone. (file.py is the python script) However, I am now trying to couple Yade and FEM, so I can not use that command to call multiple cores. I wonder if I can add some commands into the file to call more cores?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask MikeZhao for more information if necessary.
To post a message you must log in.