-
Notifications
You must be signed in to change notification settings - Fork 6
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
rserve container problem #4
Comments
It was on different machines. The 16.04 was on a virtualbox VM on my laptop running a Core i7-6820HQ, the 14.04 was on a server sporting Intel Xeon E5-2630 CPUs. The one i compiled on the 14.04 server i could run it in my 16.04 vm. The one i compiled on the 16.04VM i could not run on the 14.04 server, it also exited with exit code According to this post an exit code of
Finally, there is this post which explains a possible procedure to inspect the instruction sets used by a binary. Maybe i'll have a look tomorrow, after all it would be nice to have a definitive answer as to why it's crashing on your machine! Cheers, |
Ok, so now it makes perfect sense. The question now is what gets compiled with these flags. |
I think I got it !!
So it's R itself. Apparently it is compiled from source, using this Makefile: that must pick compilation params for the local CPU. |
Great! Yes R itself gets compiled from source, |
You're very welcome ! I'm so glad you're taking care of this transmart-docker. |
I just pushed a new Thanks, |
it's working just fine :) |
Perfect! Thanks Karl :) |
I'm coming back to the rserve container problem, which does not work on my computer (and on hcountoun's one too).
If I understood correctly, you said that building the docker on ubuntu 14.04 produces a container that works both on 14.04 and 16.04, but building it on 16.04 produces a container that works only on 16.04, on the same computer right ?
The post you linked (openresty/docker-openresty#39) could be an explanation, but I don't see how a kernel difference could be the culprit.
Let's suppose it's a CPU instruction set problem. Where does it come from ?
If you compiled on the same computer, whatever system you're running to build should not impact the executables produced, because the very same compiler running in the docker, or precompiled executables are used.
So I'm quite puzzled.
The text was updated successfully, but these errors were encountered: