title: Illegal Hardware Instruction Error when using GloVe
body: <p>I am trying to train GloVe embeddings. In the GloVe implementation from <a href="https://github.com/stanfordnlp/GloVe" rel="nofollow noreferrer">stanfordnlp</a> there are 4 scripts to run. However, running the second script, <code>coocur</code>, results in an <code>Illegal Hardware Instruction</code>-Error. I don't understand how this error is produced. </p>
  
  <p>With the input file <code>3.txt</code> my commands look like this:</p>
  
  <pre><code>$ ./vocab_count -min-count 1 -verbose 2 &lt; 3.txt &gt; vocab.txt
  BUILDING VOCABULARY
  Processed 8354 tokens.
  Counted 3367 unique words.
  Using vocabulary of size 3367.
  
  $ ./cooccur -memory 4.0 -vocab-file vocab.txt -verbose 2 -window-size 15 &lt; 3.txt &gt; cooccurrence.bin
  zsh: illegal hardware instruction  ./cooccur -memory 4.0 -vocab-file vocab.txt -verbose 2 -window-size 15 &lt; 3.tx
  </code></pre>
  
  <p>I am running these commands on a remote server (Debian GNU/Linux 9 (stretch)). When I run the same commands on the same data locally (18.04.2 LTS (Bionic Beaver)), there is no problem. What could be the cause of this?</p>