-
Notifications
You must be signed in to change notification settings - Fork 6.8k
'undefined symbol: cblas_sgemm' error when running mnist example #245
Comments
This is likely due to an linker error. Try to change the BLAS options in config.mk to atlas, or blas to see what works for you |
@tqchen Do I need to change the variable USE_BLAS to the path of my atblas or do I have to add a new variable USE_BLAS_PATH to my atblas path? |
I think only changing USE_BLAS should be fine. As lonng as the atlas is in LD_LIBRARY_PATH |
I changed the config.mk file like this:
Then set the LD_LIBRARY_PATH to
|
You might also want to set LIBRARY_PATH as well. LD_LIBRARY_PATH is used for runtime search of libraries, LIBRARY_PATH is used for compile time search |
Tried this too, no luck:
I also tried openblas, which I installed at /usr/local/lib and /usr/local/include, this time the make command doesn't give me any error, but when running the mnist example, I still get this error:
|
By using Openblas and running |
Hi guys, i'm using this mxnet and ran into this same incident; was wondering if there was a note on that, would be very helpful |
* Add MaxValue * Fix
* added ability to exclude paths from the linter * got rid of filepath_enumerate, which was causing python linter to fail * reverted back to using filepath_enumerate as a factored out function to avoid R0912, too-many-branches pylint error
* cub 89de7ab2(89de7ab2)...05eb57fa(05eb57fa) (798 commits) > Merge pull request sociomantic-tsunami#1 from ptrendx/update > Create README.md > update readme.md > 1.7.0 < 1.6.4 doc update (part 2) (...) * dlpack ()...a6e09b5(a6e09b5) (1 commits) > Change order of device_type/id in Context (sociomantic-tsunami#11) * dmlc-core a6c5701(a6c5701)...87b7ffa(87b7ffa) (54 commits) > add SetEnv (apache#322) > Fix a bug in seek/tell on Windows (apache#318) > Fixes apache#303: added recurse_directories to InputSplit::Create (apache#310) > Type name error (apache#316) > Small param bug (apache#315) (...) * mshadow c037b06(c037b06)...2d7780c(2d7780c) (42 commits) > [CMAKE][ARM] Change USE_SSE to SUPPORT_MSSE2 to it uses the autodetected presence of sse compiler flag from the parent project (see PR apache#8395) (apache#303) > Makes repeated setting of gpu rng seed produce repeatable sequences. (apache#304) > Add USE_SSE which propagates into MSHADOW_USE_SSE in cmake (apache#302) > fix range (apache#301) > fix for random seed generation (apache#300) (...) * nnvm b279286(b279286)...e4a138a(e4a138a) (139 commits) > [TVM] upgrade to latest version (apache#263) > Added support for CoreML Permute layers (apache#262) > [CMPL] Add Support for Other Data Types (apache#252) > fix onnx conv2d_transpose loading (apache#245) > [FIX] Fix from_mxnet for multiple outputs symbol (apache#247) (...) * ps-lite v1+118(acdb698)...v1+123(2ce8b9a) (2 commits) > Merge pull request apache#117 from madjam/listen-interface > Merge pull request apache#109 from b0noI/master
Fixes sociomantic-tsunami#11 * cub 89de7ab2(89de7ab2)...05eb57fa(05eb57fa) (798 commits) > Merge pull request sociomantic-tsunami#1 from ptrendx/update > Create README.md > update readme.md > 1.7.0 < 1.6.4 doc update (part 2) (...) * dlpack ()...a6e09b5(a6e09b5) (1 commits) > Change order of device_type/id in Context (sociomantic-tsunami#11) * cub 89de7ab2(89de7ab2)...05eb57fa(05eb57fa) (798 commits) > Merge pull request sociomantic-tsunami#1 from ptrendx/update > Create README.md > update readme.md > 1.7.0 < 1.6.4 doc update (part 2) (...) * dlpack ()...a6e09b5(a6e09b5) (1 commits) > Change order of device_type/id in Context (sociomantic-tsunami#11) * dmlc-core a6c5701(a6c5701)...87b7ffa(87b7ffa) (54 commits) > add SetEnv (apache#322) > Fix a bug in seek/tell on Windows (apache#318) > Fixes apache#303: added recurse_directories to InputSplit::Create (apache#310) > Type name error (apache#316) > Small param bug (apache#315) (...) * mshadow c037b06(c037b06)...2d7780c(2d7780c) (42 commits) > [CMAKE][ARM] Change USE_SSE to SUPPORT_MSSE2 to it uses the autodetected presence of sse compiler flag from the parent project (see PR apache#8395) (apache#303) > Makes repeated setting of gpu rng seed produce repeatable sequences. (apache#304) > Add USE_SSE which propagates into MSHADOW_USE_SSE in cmake (apache#302) > fix range (apache#301) > fix for random seed generation (apache#300) (...) * nnvm b279286(b279286)...e4a138a(e4a138a) (139 commits) > [TVM] upgrade to latest version (apache#263) > Added support for CoreML Permute layers (apache#262) > [CMPL] Add Support for Other Data Types (apache#252) > fix onnx conv2d_transpose loading (apache#245) > [FIX] Fix from_mxnet for multiple outputs symbol (apache#247) (...) * ps-lite v1+118(acdb698)...v1+123(2ce8b9a) (2 commits) > Merge pull request apache#117 from madjam/listen-interface > Merge pull request apache#109 from b0noI/master
Hi, I have successfully build mxnet and install python package, but when I try to run the mnist example:
I got this error:
I'm on CentOS 7 and I have installed blas and atblas via:
Does anyone know how to solve this? Thx!
The text was updated successfully, but these errors were encountered: