-
Notifications
You must be signed in to change notification settings - Fork 24
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
UndefinedBehaviorSanitizer
: object of type SharedMemoryBigMatrix
is not BigMatrix
#73
Comments
Hi @rdrr1990. I vaguely remember a problem with the clang sanitizer options not allowing inheritance options, which are relevant when a I'm over-tasked for the rest of the week. I'll take a look this weekend. If I don't update this thread on Monday would you mind pinging me? Thanks very much. |
Are you coercing I recently decided to use only filebacked memory files. E.g., make an utility function like this:
|
Thanks for the suggestion, @privefl . |
I don't know. I had problems with parallelism on CRAN. |
We did as well, which is why the example calls |
I'm having this issue as well, but
|
I'm not sure. As mentioned before I've only seen this when the clang sanitizer was set to not allow inheritance. Note that a |
Hi @kaneplusplus ,
I use
library(bigmemory)
in my package bigKRLS (with @rbshaffer) (and it's been highly effective, increasing what a typical laptop can do fivefold).bigKRLS
also usesRcpp
andRcppArmadillo
. bigKRLSuses
library(parallel)for the marginal effects. (
bigKRLSregresses
yon some matrix
X. If
ncol(X) = p,
bigKRLSuses
por
Ncores - 2`, whichever is less).When I submit to CRAN, I get the following error:
Similar errors repeat for the other function calls.
This means that
X
is coerced to abig.matrix
byas.big.matrix()
without issue but then by the time theRcpp
function is called there is apparently some slippage betweenSharedBigMatrix
andBigMatrix
. Any thoughts or suggestions on how to address this issue? (Also, please let me know if more detail re:bigKRLS
would be helpful.)The text was updated successfully, but these errors were encountered: