← Back to team overview

yade-users team mailing list archive

Re: [Question #235815]: Importing yade to use within python

 

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

Alexander Eulitz [Eugen] posted a new comment:
Hi Jan,
no this does not seem to work.
I added this line in my simulation script that is called with python mySim.py
print 'number of cores:', os.environ['OMP_NUM_THREADS']

First I start the script without exporting the OMP, second I did a suggested by you.
It produces number of cores: 1 in both cases

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.