← 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

    Status: Open => Answered

Gary Pekmezi proposed the following answer:
The first thing I notice, is that there is only 1 mpi process for
python, so only 1 core. I don't believe there will be any speedup with
only one core beyond maybe 2-3 simultaneous processes.

One other thing to consider, is setting the environment variable
OMP_NUM_THREADS before running the mpiexec command.

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