[Bug 249351] [patch] cad/calculix-ccx: Re-enable multithreading with spooles (lost after 2.17 update)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Sep 15 20:23:03 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249351
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 at FreeBSD.org
Reporter: rsmith at xs4all.nl
Flags: maintainer-feedback?(pfg at FreeBSD.org)
Assignee: pfg at FreeBSD.org
Created attachment 217982
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=217982&action=edit
Patch to re-enable USE_MT.
With the 2.17 update the fix for using multithreaded spooles (see bug #242995)
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 might
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 version
2.17".
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list