Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Sep 2020 20:22:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 249351] [patch] cad/calculix-ccx: Re-enable multithreading with spooles (lost after 2.17 update)
Message-ID:  <bug-249351-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249351

            Bug ID: 249351
           Summary: [patch] cad/calculix-ccx: Re-enable multithreading
                    with spooles (lost after 2.17 update)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pfg@FreeBSD.org
          Reporter: rsmith@xs4all.nl
             Flags: maintainer-feedback?(pfg@FreeBSD.org)
          Assignee: pfg@FreeBSD.org

Created attachment 217982
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D217982&action=
=3Dedit
Patch to re-enable USE_MT.

With the 2.17 update the fix for using multithreaded spooles (see bug #2429=
95)
was lost. The enclosed patch re-enables it.

Note that without this patch ccx *reports* that it is using multiple cores,=
 but
if you look at the actual CPU usage, it isn't.

Also, I've slightly changed the pkg-message; Using the environment variable
OMP_NUM_THREADS makes CalculiX use threads wherever it can. Otherwise you m=
ight
have to set *several* environment variables, like CCX_NPROC_STIFFNESS,
CCX_NPROC_EQUATION_SOLVER, CCX_NPROC_RESULTS et cetera. See "How to perform
CalculiX calculations in parallel" in "CalculiX CrunchiX USER'S MANUAL vers=
ion
2.17".

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249351-7788>