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

verbose does not work with multiple cores #17

Open
NicGamb opened this issue Apr 9, 2024 · 1 comment
Open

verbose does not work with multiple cores #17

NicGamb opened this issue Apr 9, 2024 · 1 comment

Comments

@NicGamb
Copy link

NicGamb commented Apr 9, 2024

Hello,

weightMat <- GENIE3(as.matrix(ltpm), nCores = 1, verbose=TRUE)

returns:

################
Tree method: RF
K: sqrt
Number of trees: 1000
Using 1 core.
Computing gene 1/24174: ENSG00000000003.15
...
################

However,

weightMat <- GENIE3(as.matrix(ltpm), nCores = 2, verbose=TRUE)

returns:

################
Tree method: RF
K: sqrt
Number of trees: 1000

Using 2 core.
################

And that's it. I do not know if GENIE3 actually works or has stalled. Note the space between the number of trees and the cores. Tiny but odd details.

The verbose mode is very useful to monitor the progress of GENIE3 on very big tasks.

Best regards,

@NicGamb
Copy link
Author

NicGamb commented Apr 9, 2024

Indeed, I checked the code and nothing is returned when nCores >1

:-( very unfortunate.

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

1 participant