Hanjun-Dai / sequence2vec

9 stars 2 forks source link

spiral_wht.h #1

Open abalhomaid opened 5 years ago

abalhomaid commented 5 years ago

Hello,

I ran make, and it gave the below error

/usr/local/cuda/bin/nvcc --default-stream per-thread -I/usr/local/cuda/include -{intel path}/mkl/include -Iinclude/matrix -Iinclude/net -I./include -std=c++11 --use_fast_math -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_50,code=compute_50 -M src/matrix/fast_wht.cu -o build/objs/cuda/matrix/fast_wht.d -odir build/objs/cuda/matrix In file included from src/matrix/fast_wht.cu:1:0: include/matrix/fast_wht.h:7:24: fatal error: spiral_wht.h: No such file or directory

include "spiral_wht.h"

Which dependancy should spiral_wht.h be included in?

Thank you for your time.

Hanjun-Dai commented 5 years ago

Hi there,

this file should be obsolete now. You can safely remove the 'spiral_wht.h'.

abalhomaid commented 5 years ago

Thank you for your reply.

I commented out #include spiral_wht.h, and it's dependencies in src/matrix/fast_wht.cu

After that, the issue seems to appears on include/net/nngraph.h as well

Error:

g++ -Wall -O3 -std=c++11 -g -rdynamic -I/usr/local/cuda/include -I intel/mkl/include -Iinclude/matrix -Iinclude/net -I./include -MMD -c -o build/objs/cxx/matrix/fast_wht.o src/matrix/fast_wht.cpp
g++ -Wall -O3 -std=c++11 -g -rdynamic -I/usr/local/cuda/include -I intel/mkl/include -Iinclude/matrix -Iinclude/net -I./include -MMD -c -o build/objs/cxx/net/graph_pool_param.o src/net/graph_pool_param.cpp
g++ -Wall -O3 -std=c++11 -g -rdynamic -I/usr/local/cuda/include -I intel/mkl/include -Iinclude/matrix -Iinclude/net -I./include -MMD -c -o build/objs/cxx/net/loss_func.o src/net/loss_func.cpp
g++ -Wall -O3 -std=c++11 -g -rdynamic -I/usr/local/cuda/include -I intel/mkl/include -Iinclude/matrix -Iinclude/net -I./include -MMD -c -o build/objs/cxx/net/concat_layer.o src/net/concat_layer.cpp
g++ -Wall -O3 -std=c++11 -g -rdynamic -I/usr/local/cuda/include -I intel/mkl/include -Iinclude/matrix -Iinclude/net -I./include -MMD -c -o build/objs/cxx/net/msg_pass_param.o src/net/msg_pass_param.cpp
g++ -Wall -O3 -std=c++11 -g -rdynamic -I/usr/local/cuda/include -I intel/mkl/include -Iinclude/matrix -Iinclude/net -I./include -MMD -c -o build/objs/cxx/net/nngraph.o src/net/nngraph.cpp
In file included from src/net/nngraph.cpp:1:0:
include/net/nngraph.h:6:24: fatal error: fmt/format.h: No such file or directory
 #include "fmt/format.h"

Is there an updated version of the repository, if possible?

Hanjun-Dai commented 5 years ago

Hello,

I've just updated the dependencies. Please pull the latest code and see whether you can compile it. Thanks!