Opened 11 years ago
Closed 14 months ago
#42379 closed enhancement (fixed)
john-jumbo
Reported by: | macports.ilsa@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | Mathias.Laurin+macports.org@… | |
Port: | john-jumbo |
Description
john-jumbo is not compiled against openmp, and so doesn't take advantage of multiple cores.
When I run it, Activity Monitor shows john using exactly 100%. Using the OMP_NUM_THREADS variable appears to do nothing.
Contrast this to what can be found here: http://openwall.info/wiki/john/custom-builds#Compiled-for-Mac-OS-X
When I run the above version, Activity Manager shows john peaking at approximately 750%, which tells me it's taking full advantage of my quad-core CPU. (The benchmark tests are also significantly higher, as would be expected) and my fans kick into high gear.
This is valuable both because it produces results faster, and provides an additional source of heat, as my office is a tad chilly. :)
Change History (6)
comment:1 Changed 11 years ago by mf2k (Frank Schima)
Keywords: | john openmp removed |
---|---|
Milestone: | MacPorts Future |
Version: | 2.2.1 |
comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
My understanding is that clang, which is the default compiler in MacPorts for Xcode 4.2 and later, does not do OpenMP yet. So if you want OpenMP support, you could try compiling the port with a non-Clang compiler, e.g.:
sudo port install llvm-gcc42 sudo port -ns upgrade --force john-jumbo configure.compiler=macports-llvm-gcc-4.2
comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
llvm-gcc-4.2 might not do OpenMP either; I'm not sure.
comment:4 Changed 11 years ago by macports.ilsa@…
Arn't there other ports that force compilation through gcc? It looks like all the pieces are already provided by macports.
comment:5 Changed 10 years ago by Mathias.Laurin+macports.org@…
Cc: | Mathias.Laurin+macports.org@… added |
---|
Cc Me!
comment:6 Changed 14 months ago by catap (Kirill A. Korinsky)
Resolution: | → fixed |
---|---|
Status: | new → closed |
The Milestone field is for Macports team members' use only, please do not set it.