Skip to content
This repository has been archived by the owner on Dec 30, 2017. It is now read-only.

Memory not mapped #8

Open
chriad opened this issue Nov 3, 2017 · 1 comment
Open

Memory not mapped #8

chriad opened this issue Nov 3, 2017 · 1 comment

Comments

@chriad
Copy link

chriad commented Nov 3, 2017

> library(Rtsne.multicore) # Load package                  
> iris_unique <- unique(iris) # Remove duplicates          
> mat <- as.matrix(iris_unique[,1:4])                      
> set.seed(42) # Sets seed for reproducibility             
> tsne_out <- Rtsne.multicore(mat) # Run TSNE    

*** caught segfault ***
address 0x6541, cause 'memory not mapped'

Traceback:
1: .Call("_Rtsne_multicore_Rtsne_cpp", PACKAGE = "Rtsne.multicore", X, no_dims_in, perplexity_in, theta_in, num_threads, max_iter, distance_precomputed)
2: Rtsne_cpp(X, dims, perplexity, theta, num_threads, max_iter, is_distance)
3: eval(expr, pf)
4: eval(expr, pf)
5: withVisible(eval(expr, pf))
6: evalVis(expr)
7: capture.output(res <- Rtsne_cpp(X, dims, perplexity, theta, num_threads, max_iter, is_distance))
8: Rtsne.multicore.default(mat)
9: Rtsne.multicore(mat)

I have no idea how to inspect a core dump...

This happens only sometimes, I cannot confidently reproduce the error...
What further info should I provide?

@mikejiang
Copy link
Member

Maybe you should give the orgininal Rtsne package a try since it already has parallel support in its openmp branch
https://github.com/jkrijthe/Rtsne/tree/openmp

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

No branches or pull requests

2 participants