-
Notifications
You must be signed in to change notification settings - Fork 0
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
Numberjack need"arm64" has 'x86_64' despite compiling with arch arm64 within Goldenhinges #6
Comments
Hi, I can add only a few pointers to the comment I made in #5 : I think I have seen this error before, and that's why we have a few additional comments in the Install section of readme: https://github.com/Edinburgh-Genome-Foundry/GoldenHinges#installation I don't recall the details, but it won't include or compile the binaries of Mistral, or run it, if you don't have the correct OS, dependencies, or Python version. Another issue is that it was developed for swig3.0, but the default swig command may call a later version which won't work. Another option is to sidestep this problem and build a standalone environment, using Docker. If that's something you're familiar with, then here is a repo with the necessary Dockerfile and instructions https://github.com/Edinburgh-Genome-Foundry/EGF_Docker_Jupyter In that, I build Numberjack from source (line 23 onwards) |
Alas Numberjack is getting old, it's reassuring to know it can still be built from sources (great move 👍) but in hindsight it probably wasn't the best choice of constraint solver when compared to e.g. Google OR tools (see the end of this page). |
Thanks for this docker based workaround. It worked great !! and I could very easily use the docker image and build a working docker instance on Apple Silicon. Still a relative docker newbie --so capturing the process I used below.
I could then open my Browser and navigate to "http://127.0.0.1:8888" and use the Jupyter environment there.
|
Glad to hear it worked! Good point about running scripts directly with the docker container. I should add that as an example. Running python straight on the script should also work if the directory is mounted: https://stackoverflow.com/a/62193228 |
Hi this may be a "duplicate" of the previous issue #5 -but I get the following error when I try a simple GoldenHinges example on OSX. I used the "latest" Numberjack from Github.
Here is my code that is adapted from the Goldenhinges example
The Numberjack installation from this github repo proceeded without any error.
The text was updated successfully, but these errors were encountered: