Comments (2)
You should change -Ofast to -O2 if you have older version of the gcc compiler
(however, that can produce significantly slower code).
Original comment by [email protected]
on 4 Oct 2013 at 6:57
from word2vec.
I am on ubuntu and my gcc version is gcc version 4.5.2 (GCC)
and I am on ubuntu 12.04
Distributor ID: Ubuntu
Description: Ubuntu 12.04.3 LTS
Release: 12.04
Codename: precise
make
gcc word2vec.c -o word2vec -lm -pthread -Ofast -march=native -Wall
-funroll-loops -Wno-unused-result
cc1: error: invalid option argument ‘-Ofast’
make: *** [word2vec] Error 1
Original comment by auduwage
on 18 Oct 2013 at 10:13
from word2vec.
Related Issues (20)
- word2vec Binary Index & Locally-Sensitive Hashing Module HOT 2
- A typo "back" of words HOT 1
- FreeBSD build patch
- Wrong Link HOT 1
- freebase vector file in python gensim
- Patch for /trunk/word2vec.c
- malloc.h HOT 6
- How can I get the coordinates of all words?
- Charset encoding HOT 1
- Patch for /trunk/demo-train-big-model-v1.sh HOT 4
- Fix build errors and warnings
- cnnot check out ?
- slightly optimized word2vec
- expTable array initialization
- Missing first letters in precompiled word vectors file: GoogleNews-vectors-negative300.bin HOT 1
- Keeping indexing URIs in plain text models
- Cluster output malformed
- The definition of sentences? HOT 1
- Patch for /trunk/word2vec.c
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 word2vec.