yumeng5 / CatE

[WWW 2020] Discriminative Topic Mining via Category-Name Guided Text Embedding
Apache License 2.0
50 stars 15 forks source link

-bash: ./cate: cannot execute binary file #10

Open disunlike opened 2 years ago

disunlike commented 2 years ago

change to makefile as follows

CC = gcc
#Using -Ofast instead of -O3 might result in faster code, but is supported only by newer GCC versions
CFLAGS = -lm -pthread -O3 -march=native -Wall -funroll-loops -Wno-unused-result -std=c99 -Wimplicit-function-declaration

all: cate

cate : cate.c
    $(CC) cate.c -o cate $(CFLAGS)

clean:
    rm -rf cate 
disunlike commented 2 years ago

The reason why the bug come from is 32/64 in systems