Skip to content

Commit

Permalink
Add note about how to deal with MATLAB bug on Linux
Browse files Browse the repository at this point in the history
* This bug occurs when computing VoiceSauce Praat estimates in
  MATLAB on Linux
* Computing Praat estimates requires calling an external program
  from MATLAB, which apparently causes problems on Linux
* This isn't an OpenSauce problem, but we do need to run VoiceSauce
  in MATLAB to get test data
  • Loading branch information
terriyu committed Dec 15, 2018
1 parent 0b1c74b commit cafad07
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,15 @@ To contribute code, edit, etc:

9. XXX: A few more steps to come once the runtime framework is fleshed out.

**NOTE on running VoiceSauce on Linux**: When computing Praat estimates, you may
encounter the
[bug reported here](https://www.mathworks.com/matlabcentral/answers/329796-issue-with-libstdc-so-6). You can run the following on the command line

$ alias matlab='LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 /usr/local/MATLAB/R2016b/bin/matlab -desktop'

before running Matlab via `$ matlab &`. You can add it to your `.bashrc` or `.profile` for a
more permanent solution.

## Check vendored software

There is a script in the main repository that checks where our version of
Expand Down

0 comments on commit cafad07

Please sign in to comment.