← Back to team overview

yade-users team mailing list archive

[Question #647852]: Using openmp in a python script.

 

New question #647852 on Yade:
https://answers.launchpad.net/yade/+question/647852

Hello, 

I currently run Yade by importing it in a python script as explained in [1]. 
However I am unable to utilize more than 1 core(for yade) in my simulations, I've tried the method described in [2], and I don't see any difference and I've also tried setting 'ompThreads=(N)' in the engines and I see no effect. (There are around 50k particles in the simulation)

I run yade in parallel with another application under MPI as follows  : 
mpiexec -n 1 python yade : - n 12 app2 

Is there a way I could get openmp working in such a situation?

(I had disabled LINSOLV, LBMFLOW,BLAS during compilation as suggested in here [3])

[1] https://yade-dem.org/doc/user.html#importing-yade-in-other-python-applications 
[2]https://answers.launchpad.net/yade/+question/271679
[3]https://answers.launchpad.net/yade/+question/247865

Thanks, 
deepak

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.