Comments (11)
System: Mac OS Sierra 10.12.4, Mac mini (mid 2010)
I opened the file ~/torch/pkg/torch/lib/TH/CMakeLists.txt
and added one line at the 198th as below.
195 # IF ANY SIMD FOUND
196 IF(C_AVX2_FOUND OR C_AVX_FOUND OR C_SSE4_2_FOUND OR C_SSE4_1_FOUND)
197 SET(simd generic/simd/convolve.c)
198 SET(simd ${simd} generic/simd/convolve5x5_sse.c)
199 ENDIF(C_AVX2_FOUND OR C_AVX_FOUND OR C_SSE4_2_FOUND OR C_SSE4_1_FOUND)
The command ./install.sh
finished at last.
Definitely, the error is due to not including the c file during the library building. But there must be a better way to fix it.
from distro.
hey Alex, I am not able to reproduce this. Can you tell me a little more about your machine? Is it an Intel processor? Is it a VM?
from distro.
It's Mac Mini 2009
uname -a Mac-mini.local 14.4.0 Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015; root:xnu-2782.30.5~1/RELEASE_X86_64 x86_64
Processor 2.53 GHz Intel Core 2 Duo
Global install via
curl -sk https://raw.githubusercontent.com/torch/ezinstall/master/install-luajit+torch | bash
worked
but I think curl -sk https://raw.githubusercontent.com/torch/ezinstall/master/install-deps | bash
pulled one additional dependency.
I hope it helps.
from distro.
Has a solution been found for this? I'm having exactly the same problem, same messages entirely except mine says [lib/TH/libTH.0.dylib] instead of [lib/TH/libTH.dylib].
Early 2008 Mac Pro, 2 x 2.8 GHz Quad-Core Intel Xeon, MacOS 10.11.6
Darwin Scrimshank.local 15.6.0 Darwin Kernel Version 15.6.0: Mon Jan 9 23:07:29 PST 2017; root:xnu-3248.60.11.2.1~1/RELEASE_X86_64 x86_64
from distro.
+1
from distro.
Also having this problem. I'm using a 2009 macbook pro with OS 10.10.9, Intel Core 2 Duo. Here's where it dies:
....
[ 52%] Linking C shared library libTH.dylib
Undefined symbols for architecture x86_64:
"_convolve_5x5_sse", referenced from:
_convolve_5x5 in convolve.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/TH/libTH.0.dylib] Error 1
make[1]: *** [lib/TH/CMakeFiles/TH.dir/all] Error 2
make: *** [all] Error 2
Error: Build error: Failed building.
Error. Exiting.
from distro.
This seems to be what happening.
The directory ~/torch/pkg/torch/lib/TH/generic/simd
contains files related to the error about convolve5x5
. After some examination, I found that the function convolve_5x5_sse
is defined in the file convolve5x5_sse.c
therefore if SSE is going to be used then the it must be included in the library. However, the CMakeLists.txt
does not include the C file when SSE4 is not detected.
from distro.
@yongduek it worked for me too, thank you !
from distro.
More confirmation that what @yongduek suggested works (on my El Capitan system). Thanks!
from distro.
works for me to
from distro.
Is this issue related to AVX or VT-X tecnology on Processors?
from distro.
Related Issues (20)
- macOS - Lua2.1 - File not found lua-cjson-2.1devel-1.rockspec HOT 2
- Error occur when execute install.bat
- error installing torch 7 on fedora 29
- OpenSuSE install-deps outdated
- Error: File not found: lua-cjson-2.1devel-1.rockspec HOT 3
- Install script causes `$LD_LIBRARY_PATH` to include `cwd`. HOT 1
- Update wineditline version
- Install on debian 10 HOT 1
- cublas runtime error : the GPU program failed to execute at /root/torch/extra/cutorch/lib/THC/THCBlas.cu:246
- Segmentation Fault while loading torch HOT 1
- invalid option: --with-wxmac when installing bash install-deps HOT 4
- install.bat freezes on Windows 10 HOT 4
- ./install.sh -> Configuring incomplete, errors occurred! HOT 2
- No results matching query were found. HOT 1
- Ubuntu 20.04 HOT 6
- bash insatll-deps does not work on ubuntu. bash: install-deps: No such file or directoryu
- pip install pytorch HOT 1
- CUDA_cublas_device_LIBRARY (ADVANCED)
- Installing torch on Ubuntu 20.04?
- ./install.sh fails in Mac OS Monterey 12.5 ( M1 Pro ) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distro.