How exactly enable 64 bit indexing in Octave on Windows 7(64 bit)

半城伤御伤魂 提交于 2019-12-12 16:12:29

问题


I know this is an old topic. But still after exhausting search on Google I have no clue. I was fallowing along with Deep Learning tutorial on http://deeplearning.stanford.edu/tutorial/. On that tutorial in the SoftMax regression section I need to read 4704000 bytes( i.e images = fread(fp, 28*28*30000, 'uchar'). The script is working but too slow. Octave Using at most 500mb. I found that we should allow 64 bit indexing(https://www.gnu.org/software/octave/doc/interpreter/Compiling-Octave-with-64_002dbit-Indexing.html). I am not sure how exactly I can enable 64 indexing in Windows Octave version 3.8.2. Any suggestion or answers are welcomed. Thanks!


回答1:


64 bit indexing is not something you enable. You must build Octave from source like that. That is not trivial in windows. The word configure in "Octave has to be configured with the option --enable-64", refers to the configure script that you run before actually building Octave, not to some configuration file or option you can run from Octave.

In addition, Octave dependencies such as BLAS and LAPACK will also need to be rebuilt from source with 64 bit which I am told is even less trivial. Even in Linux, most distributions will provide 32 bit builds only. See a recent discussion on the mailing list.




回答2:


There is an experimental version for windows in http://www.tatsuromatsuoka.com/octave/Eng/Win/ look for the *-LA* versions



来源:https://stackoverflow.com/questions/29157629/how-exactly-enable-64-bit-indexing-in-octave-on-windows-764-bit

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!