Parallel run when i call a yade script from another file
Asked by
JOHN
Good evening,
I am currently calling a yade python script from another python script.
something like this
import Yadesimulation
from Yadesimulation import *
where Yadesimulation is the yade script.
My question is, how can i run I speed it up? I tried running it on parallel, using [1]. However, although when i try similar examples with pure jade and yade -j4 it gives me a good speedup, the script approach produces no speedup at all. Am i missing something?
For the record i put
import sys
import os
sys.argv.
os.system("ln -s /usr/bin/yade yadeimport.py")
from yadeimport import yade
in my yade script and i have 4 cores in my linux machine, so there should be a lot more than enough threads.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- JOHN
- Solved:
- Last query:
- Last reply:
To post a message you must log in.