← Back to team overview

yade-users team mailing list archive

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

 

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

Chareyre proposed the following answer:
Hello Deepak, did you try a parallel 'hello world' with mpi nesting openmp
on the same system? Maybe even without python. I would make sure this one
is as expected before diving into more complex situations.
B

Le 13 juil. 2017 5:18 PM, "Deepak" <question647852@xxxxxxxxxxxxxxxxxxxxx> a
écrit :

> 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.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>
>

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