
Loading…
seems to be missing -pthread
ifeq ($(blas),1)
LDFLAGS= -lm -lcudart -lcublas -lcurand -lz `pkg-config --libs opencv` -lblas
CFLAGS+= -DMSHADOW_USE_MKL=0 -DMSHADOW_USE_CBLAS=1 -pthread
Thanks, it works.
Similarly, we need to replace the followings in tools/Makefile
export CFLAGS = -Wall -O3 -msse3 -Wno-unknown-pragmas -funroll-loops -I../mshadow/ -I.. export LDFLAGS= export NVCCFLAGS = -g -O3 -ccbin $(CXX)
with
export CFLAGS = -Wall -g -O3 -msse3 -Wno-unknown-pragmas -funroll-loops -I./mshadow/ ifeq ($(blas),1) LDFLAGS= -lm -lcudart -lcublas -lcurand -lz `pkg-config --libs opencv` -lblas CFLAGS+= -DMSHADOW_USE_MKL=0 -DMSHADOW_USE_CBLAS=1 -pthread else LDFLAGS= -lm -lcudart -lcublas -lmkl_core -lmkl_intel_lp64 -lmkl_intel_thread -liomp5 -lpthread -lcurand -lz `pkg-config --libs opencv` endif export NVCCFLAGS = --use_fast_math -g -O3 -ccbin $(CXX)
Cheers
Hi,
I have a trouble to install cxxnet on my PC with Intel i5 on Ubuntu 12.04
-- libevent-pthreads: 2.0.21-stable-1ubuntu1
-- gcc: (Ubuntu 4.9.2-0ubuntu1~14.04) 4.9.2
The following is the error message
In the Kaggle Forum Bing suggests it might related to pthread, but as I use blas=1, and
It seems that pthread is not used in my build.
Do you have further sugggestions?
Cheers