Menu

No LAPACK library available, cannot compute..

Help
2011-07-29
2017-12-06
<< < 1 2 (Page 2 of 2)
  • Nickolay V. Shmyrev

    You need to remove package installed in your system with apt first and then install from sources. Your current error comes from system package you installed before.

    You can run

     ldd /usr/local/libexec/sphinxtrain/bw
    

    to figure out which libraries are actually used. Libraries should reside in /usr/local, not in /usr.

     
    • Hossein Shemshadi

      Thanks for your fast reply. actually i installed the packages all from source. I see the below result when i run the command you said:
      linux-vdso.so.1 => (0x00007ffd4e3e4000)
      libsphinxbase.so.3 => /usr/local/lib/libsphinxbase.so.3 (0x00007f0509992000)
      libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f0509775000)
      libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f050946b000)
      libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f05090a1000)
      /lib64/ld-linux-x86-64.so.2 (0x0000557595323000)
      As I see there is no lib in /usr and all the shared libs are fro linux-gnu which is in the linux kernel I think. maybe I mis-understand your words. can you please say which already installed packages should be removed exactly?
      thanks for your really fast responses :)

       
      • Nickolay V. Shmyrev

        Ok, now try to install lapack development package and recompile and reinstall sphinxbase after that.

         
        • Hossein Shemshadi

          Thanks a lot Nickolay. It worked perfectly for me. I understood what happened for my system and thank you for the help :)

           
        • Vic Krokhin

          Vic Krokhin - 2017-12-04

          Hi Nickolay, trying to solve same problem, doing as you said, but get same error.

          Error Output:
          ================
          INFO: cmd_ln.c(691): Parsing command line:
          /usr/lib/sphinxtrain/sphinxtrain/mllr_solve \
          -meanfn /home/progforce/www/tiktalk/storage/app/users/1/model/en-us/means \
          -varfn /home/progforce/www/tiktalk/storage/app/users/1/model/en-us/variances \
          -outmllrfn /home/progforce/www/tiktalk/storage/app/users/1/model/mllr_matrix_2017-12-04_12:25:27 \
          -accumdir /home/progforce/www/tiktalk/storage/app/users/1/model 
          
          Current configuration:
          [NAME]      [DEFLT] [VALUE]
          -accumdir       /home/progforce/www/tiktalk/storage/app/users/1/model,
          -cb2mllrfn  .1cls.  .1cls.
          -cdonly     no  no
          -example    no  no
          -fullvar    no  no
          -help       no  no
          -meanfn         /home/progforce/www/tiktalk/storage/app/users/1/model/en-us/means
          -mllradd    yes yes
          -mllrmult   yes yes
          -moddeffn       
          -outmllrfn      /home/progforce/www/tiktalk/storage/app/users/1/model/mllr_matrix_2017-12-04_12:25:27
          -varfloor   1e-3    1.000000e-03
          -varfn          /home/progforce/www/tiktalk/storage/app/users/1/model/en-us/variances
          
          INFO: main.c(382): -- 1. Read input mean, (var) and accumulation.
          INFO: s3gau_io.c(166): Read /home/progforce/www/tiktalk/storage/app/users/1/model/en-us/means [5138x1x32 array]
          INFO: main.c(397): Reading and accumulating counts from /home/progforce/www/tiktalk/storage/app/users/1/model
          INFO: s3gau_io.c(379): Read /home/progforce/www/tiktalk/storage/app/users/1/model/gauden_counts with means with vars [5138x1x32 vector arrays]
          
          INFO: main.c(436): -- 2. Read cb2mllrfn
          INFO: main.c(455): n_mllr_class = 1
          
          INFO: main.c(475): -- 3. Calculate mllr matrices
          INFO: main.c(127): 
          INFO: main.c(128):  ---- mllr_solve(): Conventional MLLR method
          INFO: s3gau_io.c(166): Read /home/progforce/www/tiktalk/storage/app/users/1/model/en-us/variances [5138x1x32 array]
          
          INFO: main.c(208):  ---- A. Accum regl, regr
          INFO: main.c(209):  No classes 1, no. stream 1
          INFO: main.c(281):  ---- B. Compute MLLR matrices (A,B)
          INFO: mllr.c(182): Computing both multiplicative and additive part of MLLR
          FATAL_ERROR: "matrix.c", line 161: No LAPACK library available, cannot solve linear equations (FIXME)
          

          ldd /usr/local/libexec/sphinxtrain/bw

          linux-vdso.so.1 =>  (0x00007ffd4c9ba000)
          libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f20583ac000)
          libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f20580a6000)
          libsphinxbase.so.3 => /usr/local/lib/libsphinxbase.so.3 (0x00007f2057e63000)
          libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2057a9a000)
          /lib64/ld-linux-x86-64.so.2 (0x00007f20585ca000)
          libblas.so.3 => /usr/lib/libblas.so.3 (0x00007f205781d000)
          liblapack.so.3 => /usr/local/lib/liblapack.so.3 (0x00007f2057081000)
          libgfortran.so.3 => /usr/lib/x86_64-linux-gnu/libgfortran.so.3 (0x00007f2056d67000)
          libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f2056b51000)
          libquadmath.so.0 => /usr/lib/x86_64-linux-gnu/libquadmath.so.0 (0x00007f2056915000)
          
           
          • Nickolay V. Shmyrev

            You installed new version in /usr/local while you are trying to run the old version of mllr_solve from /usr folder, like you can see from command line. It is better to remove old version altogether.

             
<< < 1 2 (Page 2 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.