← Back to team overview

yade-users team mailing list archive

Re: [Question #239778]: Multithreading activated by ENABLE_OPENMP, or -j option ?

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hi Jerome,

AFAIK not to use -j option is enough to use exactly one core (i.e. avoiding
multithreading). Try
yade-trunk -h
and see the help for -j option
HTH
Jan



2013/11/25 jduriez <question239778@xxxxxxxxxxxxxxxxxxxxx>

> Question #239778 on Yade changed:
> https://answers.launchpad.net/yade/+question/239778
>
> jduriez gave more information on the question:
> Ok, for the 2d part of the question, I found after some tests, that
> ifdef YADE_OPENMP is true if and only if -DENABLE_OPENMP was ON during
> the compilation. (whatever the use of -j option)
>
> --
> You received this question notification because you are a member of
> yade-users, which 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 you are a member of
yade-users, which is an answer contact for Yade.