use CPUSelect
This commit is contained in:
parent
122ebe92bf
commit
476d532d93
8
MCG.jl
8
MCG.jl
@ -55,16 +55,12 @@ function parse_commandline()
|
||||
end
|
||||
|
||||
include("FPGroups_GAP.jl")
|
||||
include("CPUselect.jl")
|
||||
|
||||
function main()
|
||||
|
||||
parsed_args = parse_commandline()
|
||||
if parsed_args["cpus"] ≠ nothing
|
||||
if parsed_args["cpus"] > cpuinfo_physicalcores()
|
||||
warn("Number of specified cores exceeds the physical core cound. Performance will suffer.")
|
||||
end
|
||||
BLAS.set_num_threads(parsed_args["cpus"])
|
||||
end
|
||||
set_parallel_mthread(parsed_args)
|
||||
|
||||
tol = parsed_args["tol"]
|
||||
iterations = parsed_args["iterations"]
|
||||
|
Loading…
Reference in New Issue
Block a user