-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in construct.networks.from.list for openssl function networks #3
Comments
To be more concrete, the following function of |
The described error seems to be a problem with parallelization in mclapply: It also appeared in the Perhaps parallelization within already parallelized code may be the problem. If that is not the case, I am not sure where the problem can arise from... |
The argument 'filter.base.artifact' passed to the method 'get.author.network.cochange' has not been passed on to the method 'get.artifact2author'. As the argument was set to FALSE instead, this resulted in not removing the base artifact from the commit list. By passing on the argument, the argument gets respected now and the method does not lead to unexpected results. A long-term consequence of this error was the introduction of too many edges in the function 'construct.dependency.network.from.list', which is the explanation for the run-time behavior reported in issue #3. Basically, the plain re-introduction of parallelization (issue #4) should be possible now. Signed-off-by: Claus Hunsen <hunsen@fim.uni-passau.de>
This reverts commit 930af63. See also issues #3 and #4 as well as commits efcd616 and 91cb0aa. In combination with commit efcd616, this resolves #4. For the following code snippet, the network-construction time gets reduced from 198 seconds to 11 seconds. > CF.SELECTION.PROCESS = "threemonth" > CASESTUDY = "qemu" > ARTIFACT = "file" > AUTHOR.RELATION = "cochange" > ARTIFACT.RELATION = "cochange" > conf = CodefaceConf$new(CF.DATA, CF.SELECTION.PROCESS, CASESTUDY, ARTIFACT) > project = CodefaceProjectData$new(conf) > project$get.author.network(relation = AUTHOR.RELATION, directed = TRUE, simple.network = FALSE) Signed-off-by: Claus Hunsen <hunsen@fim.uni-passau.de>
After generating
openssl
function
networks (threemonth
) for more than 20 hours (using 2 cores), an error appeared:Unfortunately, the error message is not that concrete since more than one core was used.
The text was updated successfully, but these errors were encountered: