While I'm running analysis(eg.CHADemo in OPAL source code), i always get warning as
[warn][OPAL] the property org.opalj.threads.CPUBoundTasks is unspecified
In former question, it suggested the config file in the Common project under /src/main/resources/reference.conf. So i try to add follow lines into the file, but still got the same warning.
org.opalj.threads{
CPUBoundTasks = "8"
IOBoundTasks = "8"
}
Besides, while i import OPAL as library in my project, and trying to create reference.conf in "/src/main/resources/" of my project. I have suffered same problem.
Those values are configured in config value that is considered at compile time of the project. The file you need is located in OPALs root directory. When you open the file
local.sbt.template
you will see the following:If you want to configure the number of used cores, remove the .template from the file name and adapt the values to your needs. Then you have to rebuild OPAL.