Skip to content
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

potential discrepancy in calculating the distance #41

Closed
z1w opened this issue Mar 14, 2019 · 1 comment
Closed

potential discrepancy in calculating the distance #41

z1w opened this issue Mar 14, 2019 · 1 comment

Comments

@z1w
Copy link

z1w commented Mar 14, 2019

Hi,

I tried to instrument the libxml2 project. While I compile the project on two different machines (they share the same file system, the major difference is that they have different processors), the distance results computed are different. The result in distance.cfg computed on one machine is a strict subset of the other one.

What I found is that the input files to the genDistance.sh script on two machines are already different, for example, the BBname files. However, if I did not compile libxml2 in parallel, the result on both machines are the same. Operationally, if I changed " make -j$(nproc) all" to "make all", the issue would be resolved. The files generated on two machines are the same. So I am wondering whether parallelizing the compilation might lead to inaccuracy when computing the distance.

@mboehme mboehme closed this as completed in 1b7881c Jan 3, 2020
@mboehme
Copy link
Collaborator

mboehme commented Jan 3, 2020

Interesting observation! Updated the tutorial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants