Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to compile Kaldi version after El Capitan #18

Closed
maxhawkins opened this issue Nov 23, 2015 · 9 comments
Closed

Unable to compile Kaldi version after El Capitan #18

maxhawkins opened this issue Nov 23, 2015 · 9 comments

Comments

@maxhawkins
Copy link
Contributor

Since upgrading to El Capitan I haven't been able to install the included version of Kaldi. There's an issue with gcc-fortran. Were you able to get it compiling?

@strob
Copy link
Contributor

strob commented Nov 23, 2015

Yes, I am running El Capitan and have compiled Kaldi without issue. I'm testing a build now on the latest Kaldi commit, and will update the submodule if that works.

@strob
Copy link
Contributor

strob commented Nov 23, 2015

One potential difference is that I have Cuda installed. I'm nervous that Cuda is leading to standard_kaldi and mkgraph binaries that will not be portable.

I'm not sure how to interpret this dtruss output:

stat64("/usr/local/cuda/lib/libcublas.7.5.dylib\0", 0x7FFF4FC68D08, 0x1)         = 0 0
open("/usr/local/cuda/lib/libcublas.7.5.dylib\0", 0x0, 0x0)      = 3 0

Perhaps the stat64 call means that the binary will avoid cuda if it's not present on the system?

Would you do me a favor and test my standard_kaldi build on your system?

strob pushed a commit that referenced this issue Nov 23, 2015
@maxhawkins
Copy link
Contributor Author

OK, downloading now. Where is your server? The downloads are really slow from the Czech Republic.

@maxhawkins
Copy link
Contributor Author

Bad news

dyld: Library not loaded: @rpath/libcublas.7.5.dylib
  Referenced from: /Users/max/projects/gentle2/./standard_kaldi_0.02
  Reason: image not found
fish: Job 1, './standard_kaldi_0.02 ' terminated by signal SIGTRAP (Trace or breakpoint trap)

@strob
Copy link
Contributor

strob commented Nov 23, 2015

OK. I'm compiling again with ./configure --static --static-math=yes --static-fst=yes --use-cuda=no and will see how that goes.

@strob
Copy link
Contributor

strob commented Nov 23, 2015

Can you try this build?

@maxhawkins
Copy link
Contributor Author

That one works fine. 👍

@strob
Copy link
Contributor

strob commented Nov 23, 2015

Thanks for testing the binary, and very exciting that it works for you!

I'm going to close this issue, because I think that building Kaldi on El Capitan is not a Gentle issue. There's been activity that suggests attention to this upgrade on the Kaldi side of things, and now Gentle is using the latest version of Kaldi.

@strob strob closed this as completed Nov 23, 2015
@maxhawkins
Copy link
Contributor Author

OK. I'll test the compilation and reopen if there are any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants