Menu

No LAPACK library available, cannot compute..

Help
2011-07-29
2017-12-06
1 2 > >> (Page 1 of 2)
  • hindiasradmin

    hindiasradmin - 2011-07-29

    I am trying to decode using CI models trained with full covariance matrix. I
    am getting following error
    FATAL_ERROR: "matrix.c", line 53: No LAPACK library available, cannot compute
    determinant (FIXME)

    I installed liblapack. My lib folder contains following files.
    /usr/lib/liblapack.so.3gf
    /usr/local/lib/liblapack.so.3gf

    Then I ran configure and make to build sphinx again. It was compiled
    successfully. But still I am getting the same error. Any suggestions ?

     
  • Nickolay V. Shmyrev

    Lapack is plugged in sphinxbase. Reconfigure and reinstall sphinxbase first.
    Provide sphinxbase configure log if you still have issues.

     
    • Balaji

      Balaji - 2016-03-10

      I am still getting this error, when I use Sphinxbase Release\x64 version, downloaded on 24th Jan 2016. File name is: sphinxbase-5prealpha-win32.
      However, the older version works fine. I have tried rebuilding sphinxbase and sphinxtrain using Visual Studio. Still no change.

      To Mr. Nickolay : How to provide sphinxbase configure log?

       
  • Martin Španěl

    Martin Španěl - 2016-01-11

    I am getting a similar error:

    FATAL_ERROR: "matrix.c", line 161: No LAPACK library available, cannot solve linear equations (FIXME)
    

    I am using Ubuntu and I have installed and reinstalled sphinxbase using apt-get, but the problem persists.

    sudo apt-get install --reinstall libsphinxbase1 libsphinxbase-dev
    

    locate lapack returns:

    $ locate lapack
    /etc/alternatives/liblapack.so.3
    /etc/alternatives/liblapack.so.3gf
    /opencv_core.dir/src/lapack.cpp.o
    /opencv_core.dir/src/lapack.cpp.o
    /usr/lib/lapack
    /usr/lib/liblapack.so.3
    /usr/lib/liblapack.so.3gf
    /usr/lib/liblapack_atlas.so.3
    /usr/lib/liblapack_atlas.so.3gf
    /usr/lib/atlas-base/liblapack_atlas.so.3
    /usr/lib/atlas-base/liblapack_atlas.so.3.0
    /usr/lib/atlas-base/atlas/liblapack.so.3
    /usr/lib/atlas-base/atlas/liblapack.so.3.0
    /usr/lib/lapack/liblapack.so.3
    /usr/lib/lapack/liblapack.so.3.0
    /usr/lib/python2.7/dist-packages/numpy/linalg/lapack_lite.so
    /usr/share/doc/liblapack3
    /usr/share/doc/liblapack3/README.gz
    /usr/share/doc/liblapack3/changelog.Debian.gz
    /usr/share/doc/liblapack3/copyright
    /usr/share/doc/liblapack3/testing_results.txt.gz
    /var/lib/dpkg/alternatives/liblapack.so.3
    /var/lib/dpkg/info/liblapack3.list
    /var/lib/dpkg/info/liblapack3.md5sums
    /var/lib/dpkg/info/liblapack3.postinst
    /var/lib/dpkg/info/liblapack3.preinst
    /var/lib/dpkg/info/liblapack3.prerm
    /var/lib/dpkg/info/liblapack3.shlibs
    

    Where might be the problem? Thanks in advace.

     
  • Martin Španěl

    Martin Španěl - 2016-01-12

    I installed sphinxbase and sphinxtrain manually and it works fine now.

     
    • Nickolay V. Shmyrev

      Overall it would be great to update Ubuntu packages to latest version, it is much more accurate. But we need to release first.

       
  • virginia

    virginia - 2016-03-28

    I have the same problem when adapting an acoustic model. I have just downloaded the latest versions of Sphinxbase and Sphinxtrain, and copied the required binaries to Pocketsphinx. mlle_solve.exe is still dated 24/01/16. And I still get the same error.

    I also get the
    WARN: "corpus.c", line 1481: Utterance id in the transcription file,
    error as mentioned here, which I believe was to have been fixed in an earlier release:
    https://sourceforge.net/p/cmusphinx/discussion/help/thread/5da9813e/#f021

    Thanks for you help, Virginia

     
    • Nickolay V. Shmyrev

      sphinxbase.dll must be from Feb 23rd, mllr_solve could be the same.

       
  • virginia

    virginia - 2016-03-28

    sphinxbase.dll I am using is dated 24 Feb 2016. mllr_solve is dated 24 Jan 2016. These are from the current versions on the website today.

     
    • Nickolay V. Shmyrev

      Most likely you have old sphinxbase.dll somewhere. The message you describing is simply not in the sphinxbase.dll from February. It was in sphinxbase.dll from January, so you must be using older version. You can open sphinxbase.dll in binary viewer and look for the determinant string.

       
  • virginia

    virginia - 2016-03-29

    I'm sorry. I have checked the file in Binary Viewer. The last write date is 2/24/2016. I have also downloaded and compiled the master set from GitHub. Same error. And from the sourceForge set, mllr_solve is last write 1/24/2016. Thanks, Virginia

     
    • Nickolay V. Shmyrev

      Ok, in which sphinxbase.dll file did you found the target message, share that file. I told you above, mllr_solve does not matter, the message is from sphinxbase.

       
  • virginia

    virginia - 2016-03-29

    Here it is - from my path:
    C:\Sphinx_Yawuru\sphinxbase\bin\Release\Win32

    Thanks, Virginia

     
    • Nickolay V. Shmyrev

      This dll does not have target message inside, this means you have other sphinxbase.dll in your system somewhere which is loaded before this one. You need to find that other dll and delete it.

       
  • virginia

    virginia - 2016-03-29

    OK, I will clean everything else out ... And then try again. Thanks. Virginia

     
    • Nickolay V. Shmyrev

      You can also delete the dll in the current folder, that will help you to find another dll.

       
  • virginia

    virginia - 2016-03-31

    Yes, thanks. That took a while to backup and clean out. Here's a trick for new players: copy the sphinxbase.dll into your working directory. But it works, so thanks for helping.

    Now I can't get get slave_feat to write the feat.params file, so I create that manually. Then the decoder won't initialise again! But I have to leave it for a bit and write a conference paper. I'll be back! Cheers, V.

     
    • Nickolay V. Shmyrev

      Ok, let me know if you have issues.

       
  • Habib  Baluwala

    Habib Baluwala - 2016-08-18

    Hi Everyone, I am using Ubuntu 14.04 and facing a similar problem. I am trying to adapt the model and i can use ./bw command but when I use mllr_solve, I get the following error

    FATAL_ERROR: "matrix.c", line 161: No LAPACK library available, cannot solve linear equations (FIXME)

    I reinstalled sphinxbase and sphinxtrain using the source code but still the error persists. Do I need to link any library from the shinxbase folder ? Any help is highly appreciated.

     
    • Nickolay V. Shmyrev

      You need to remove broken packages from the distribution first and install from source.

       
  • Habib  Baluwala

    Habib Baluwala - 2016-08-18

    here is a copy of the log file

     
  • Habib  Baluwala

    Habib Baluwala - 2016-08-18

    Hi Nickolay, thanks for the reply. What do you mean by broken packages ? and How can i remove them ? look forward to your reply and apologies for any inconvenience.

     
  • Habib  Baluwala

    Habib Baluwala - 2016-08-19

    Hi Nickolay, Can you guide me on how to remove the broken packages ? Look forward to your reply and apologies for any inconvenience.

     
  • Hossein Shemshadi

    Hi Everyone, I am using Ubuntu 16.04 and facing a similar problem. I am trying to adapt the model and i can use ./bw command but when I use mllr_solve, I get the following error
    FATAL_ERROR: "matrix.c", line 161: No LAPACK library available, cannot solve linear equations (FIXME)
    I reinstalled sphinxbase and sphinxtrain using the source code but still the error persists. I used the command below to remove the broken packages:
    sudo apt-get -f install
    but still the problem is right there. Is there anyone who can help me please?

     
1 2 > >> (Page 1 of 2)

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.