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

julia cx16 error #40503

Closed
Sofie8 opened this issue Apr 16, 2021 · 3 comments
Closed

julia cx16 error #40503

Sofie8 opened this issue Apr 16, 2021 · 3 comments

Comments

@Sofie8
Copy link

Sofie8 commented Apr 16, 2021

Hi,

For a workshop, participants are installing julia in a virtualbox (ubuntu64), but 3/150 receive the CPU not compatible, cx16 error.

This solution was not working, as it was already enabled:
You can enable this in the Virtualbox UI in Machine -> Settings -> System -> Acceleration -> Enable Nested Paging. You can also use the VBoxManage vmmodify command in the terminal to set --nestedpaging on.

And for this solution, I have not idea how to run it
Alternatively [2] mentions that Julia can be built with the -cx16 flag, which might make it work on even older CPUs / lower capabilities (we did not test this).

Like this was not doing it:
sudo apt-get install julia -cx16

Can you give us some advice please?

Thanks!
Sofie

@oscardssmith
Copy link
Member

#15219 seems possibly related.

@vtjnash
Copy link
Member

vtjnash commented Apr 16, 2021

Discussed in https://discourse.julialang.org/t/julia-in-a-vm/12781/11 too. Apparently VirtualBox needs you to set an internal flag to fix this (assuming the underlying CPU isn't one of the old ones without this feature). I suggest continuing the discussion there. (though perhaps we should clarify better in the docs that "can be built" means that you must follow the source-build instructions?)

@vtjnash vtjnash closed this as completed Apr 16, 2021
@Sofie8
Copy link
Author

Sofie8 commented Apr 16, 2021

Ok I continued here.
Is the fix implemented if we run:
git clone git://github.com/JuliaLang/julia.git
git checkout v1.6.0
make
./julia

or where to add the '-cx16 flag', make -cx16 ?

Thanks

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

3 participants