Open GoogleCodeExporter opened 8 years ago
having the same. Compiled with gcc47 on amazon standard image. word2vec works
fine.
Original comment by Jacco.J...@gmail.com
on 13 Sep 2013 at 12:04
ditto
Original comment by brent.pa...@gmail.com
on 17 Nov 2013 at 6:24
Hit this as well and found the box out of memory and no swap configured
might want to check for NULL on mallocs
Original comment by long.ke...@gmail.com
on 17 Nov 2014 at 3:40
I am getting the same segmentation problem. I am trying to run demo-word.sh on
Unbuntu, which is installed on a Virtual Machine on Mac OSX.
I tried compiling with gcc4.7 on Ubuntu, but it does not work for me.
When I check out the C code for word2vec and run "make" on trunk, I get the
following warning messages:
dev@dev-VirtualBox:~/text-analytics/trunk$ make
gcc word2vec.c -o word2vec -lm -pthread -O3 -march=native -Wall -funroll-loops
-Wno-unused-result
gcc word2phrase.c -o word2phrase -lm -pthread -O3 -march=native -Wall
-funroll-loops -Wno-unused-result
gcc distance.c -o distance -lm -pthread -O3 -march=native -Wall -funroll-loops
-Wno-unused-result
distance.c: In function ‘main’:
distance.c:31:8: warning: unused variable ‘ch’ [-Wunused-variable]
char ch;
^
gcc word-analogy.c -o word-analogy -lm -pthread -O3 -march=native -Wall
-funroll-loops -Wno-unused-result
word-analogy.c: In function ‘main’:
word-analogy.c:31:8: warning: unused variable ‘ch’ [-Wunused-variable]
char ch;
^
gcc compute-accuracy.c -o compute-accuracy -lm -pthread -O3 -march=native -Wall
-funroll-loops -Wno-unused-result
compute-accuracy.c: In function ‘main’:
compute-accuracy.c:29:109: warning: unused variable ‘ch’ [-Wunused-variable]
char st1[max_size], st2[max_size], st3[max_size], st4[max_size], bestw[N][max_size], file_name[max_size], ch;
^
chmod +x *.sh
Does anyone have any suggestions?
Original comment by devgane...@gmail.com
on 8 Apr 2015 at 10:29
Original issue reported on code.google.com by
matthias...@gmail.com
on 25 Aug 2013 at 11:12