-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
error : Illegal instruction (core dumped) #24
Comments
@hadyelsahar usually, SIGILL happens when a binary contains an instruction that is not supported by the CPU. The common scenario for that is to compile a binary on one (newer) computer, then copy the binary to another (older) computer and run it there. In your case, I would blindly guess that the computer does not support AVX2 instruction set, while the computer used for compilation did support it. If you want to make it clear, which module and which instruction causes this segfault, I would recommend to run it under gdb:
Once it happens, please, post the stack trace and disassembly here. gdb commands: The currently running instruction will be marked like "===> " |
Thanks for your help, It seems the problem with the The Stack Trace :
the disassembly of the current block :
Just for reference if someone faced the same problem,the executable file of torch
so to work around it u'll need to execute the following:
from the gdb terminal run :
ps: i think this issue is related more to Torch more than this repo. , so feel free if you want me to move it there . |
Good data, @hadyelsahar! According to |
That makes sense now, OpenBlas failed to detect my processor configuration automatically. Although i've built and installed OpenBlas on my machine manually, but probably that hasn't fixed it. anyways let's see there. Many Thanks |
I am trying to run the basic example in the tutorial using the CPU :
th train.lua -data_dir data/tinyshakespeare/ -rnn_size 100 -num_layers 2 -dropout 0.5 -gpuid -1
I get the following error :
The text was updated successfully, but these errors were encountered: