[eigen] help: setNbThreads(12) doesn't work. |

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]

*To*: eigen@xxxxxxxxxxxxxxxxxxx <eigen@xxxxxxxxxxxxxxxxxxx>*Subject*: [eigen] help: setNbThreads(12) doesn't work.*From*: ztdepyahoo <ztdepyahoo@xxxxxxxxx>*Date*: Thu, 10 Sep 2020 09:19:22 +0800*Dkim-signature*: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version :content-transfer-encoding; bh=F+Z68/MY+IeCNUAcPHxiVQ5K6qUG9R77EdOowSDif2c=; b=NEwTGfsOGV3PVVAmee9yp83XV333q/mje96+VmvLtnq3KTkP7uQWog/HqdY0NQUNaS dlJSemaZDroS3nFajvdeZbQgl+HEFTOrvF4YV1QhtKKkjze4XX1w3SL5mGxe0k4kQkFJ 5yME4+AKdzfbUNbFwREHrDbXTxubtuT74Q8nu5TxcEWL+LWN47LJj8GM/kSinVSeKsyE fek+K61aNDP/drqy2eUlgZ0iCIBoTOVYLjT/kvdTeJNgZ39RGLN7OcjfunNLo895aHzQ gEy9vhxeG14OtOnbJuZzlC3jDcdYxyX7xg9csFqqLDdLFpnM6gZN1VTQUBs4RfFeALUc nXvA==

I set the number thread in the programm by api setNbThreads(12), but the out of the number is still "1"

cout<<" the number of thread "<<Eigen::nbThreads( )<<endl;

On 9/8/2020 22:18，Janek Kozicki (yade)<jkozicki-yade@xxxxxxxxx> wrote：

ztdepyahoo said: (by the date of Tue, 8 Sep 2020 07:31:30 +0800)

…… exact solution of "cos(6*Pi*x)*cos(6*Pi*y)"

Wow, it looks like this is a nice test case with an exact solution.

Maybe it's worthwhile to add this to eigen tests?

Janek

--

Janek Kozicki, PhD. DSc. Arch. Assoc. Prof.

Gdańsk University of Technology

Faculty of Applied Physics and Mathematics

Department of Theoretical Physics and Quantum Information

--

http://yade-dem.org/

http://pg.edu.pl/jkozicki (click English flag on top right)

**Messages sorted by:**[ date | thread ]- Prev by Date:
**Re: [eigen] 3.3.8 expected on September 7** - Next by Date:
**[eigen] help: eigen3.3 desn't imporve the speed with multitreading.** - Previous by thread:
**Re: [eigen] help: eigen cann't solve this simple ax correctly, but Armadillo c++ can** - Next by thread:
**[eigen] help: eigen3.3 desn't imporve the speed with multitreading.**

Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |