I am trying to run DIFF_PREP, but it's taking up a lot of resources and making my machine really hot when running it. I tried putting an NCPUs.cfg file in DIFF_PREP_WORK to limit it to one core, but that doesn't seem to help. Is there another way to limit the resources used by DIFF_PREP (and other TORTOISE programs)? I am running on Mac Mojave i7. My diff prep call is below:
DIFFPREP -i /Users/tortoise_testing/tortoise_testing.list --do_QC 1 --will_be_drbuddied 1 --reg_settings example_registration_settings.dmc
Yes there are two ways to limit CPU usage.
In the file, DIFFPREPV320\Assets\settings\mecc_settings\quadratic.mec
The first setting sets up the percentage of CPU usage, which can be set. 50 uses half of your cores.
This does not apply to DRBUDDI though. For a more global solution, in shell, set the global variables (in bash):
with N being the maximum number of CPU cores you want to use.