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

Segmentation fault when flag -DCOUNT_DISTANCES active #21

Open
albertiniufu opened this issue Nov 1, 2018 · 2 comments
Open

Segmentation fault when flag -DCOUNT_DISTANCES active #21

albertiniufu opened this issue Nov 1, 2018 · 2 comments

Comments

@albertiniufu
Copy link

Count distance with -DCOUNT_DISTANCES shows a segmentation fault.

Steps to reproduce:

  • uncomment flag in Makefile

  • run make

  • run driver-experiment with commands:

      dataset smallDataset.txt
      initialize 10 kpp
      elkan
    

Results are:

    algorithm	iters	numThreads	  cpu_secs	 wall_secs	      MB	     sse	 #distances
    loaded dataset smallDataset.txt: n = 1000, d = 3
    initializing with kmeans++: k = 10
                          elkan	Segmentation fault (core dumped)
@ghamerly
Copy link
Owner

ghamerly commented Nov 5, 2018

@albertiniufu is this not still an issue?

@albertiniufu
Copy link
Author

Sorry I didn't comment. I was retesting to make sure.

I tried now: "make clean; make" after enabling flag and segmentation fault disappeared.
I'm doing several tests and the correct sequence of commands to reproduce is:

  1. make (original source code)
  2. uncomment flag in Makefile
  3. make -B

@albertiniufu albertiniufu reopened this Nov 5, 2018
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