-
Notifications
You must be signed in to change notification settings - Fork 186
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
OMP: Error #15 during Getting Started #391
Comments
Hi @mparent3 - thanks for reporting this. Keeping the R-wrapper up and running has been tricky due to changes in the package that we use for running the core Python package from R. I'm going to spend a bit of time seeing if I can fix it again this weekend, and I'll let you know if I get anywhere, but the easiest thing to do is to use the Python package directly to do the tree detection and then move to R for everything else. |
Ok, thank you for the info and for trying to fix it. |
Notes from work so far:
|
@mparent3 - I have a solution for you to try (at least a partial one). Steps 2-4 are just to get rid of the installation that R did for you which is having issues.
This worked for me on the same machine that I used to replicate the issue you encountered, so hopefully this will get you up and running while I figure out how to get R to handle that install in a way that doesn't break things. |
Hi @ethanwhite, |
Awesome! Glad it worked. Reopening since I'm hoping to create a fix that can be done entirely from R. |
The mkl package was causing an issue with trying to load OMP more than once. See weecology/DeepForest#391 for details Fixes #391
I just merged a fix to the R-based install instructions that also works: Thanks for reporting the bug @mparent3! |
Describe the bug
A clear and concise description of what the bug is.
When loading the current release model after DeepForest installation in R, model = df_model() causes OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
To Reproduce
Steps to reproduce the behavior:
Complete Basic Installation of Using DeepForest from R
Load the current release model
Input
`library(deepforestr)
model = df_model()
model$use_release()`
OMP: Error #15 occurs at model = df_model()
Environment (please complete the following information):
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
I am an undergraduate student in Dr. Swenson's lab at the University of Notre Dame and I am setting up DeepForest for the first time to work with his group.
The text was updated successfully, but these errors were encountered: