Kaldi install problem in Cygwin

447 views
Skip to first unread message

yjjun...@gmail.com

unread,
Aug 28, 2015, 4:06:08 AM8/28/15
to kaldi-help
I have a problem in installation of Kaldi.
I use Cygwin.
The following steps are done.

cd tools
make  --> This command seems to be done correctly. As i have the message at the end.

" Warning: IRSTLM is not installed by default anymore. If you need IRSTLM
Warning: use the script extras/install_irstlm.sh
All done OK."

cd ../src
./confugure  --->The makes error comments as following

"Configuring ...
Checking OpenFST library in /speech3/kaldi-trunk/tools/openfst ...
Checking OpenFst library was patched.
Doing OS specific configurations ...
On Cygwin: checking for linear algebra libraries ...
***configure failed: please first install package liblapack0 ***"

I think some software needs to be installed.

Can anybody tell me what shoud i do now?

Many thanks,


Chung,







yjjun...@gmail.com

unread,
Aug 28, 2015, 4:17:35 AM8/28/15
to kaldi-help, yjjun...@gmail.com
I thought the problem was that ATLAS was not installed in my computer.
So, i did the following step.

cd ../tools
./install_atlas.sh  ---> this made the following error messages.

---------------------------------------------------------------------------------
.
.
.
collect2: error: ld returned 1 exit status
make[2]: *** [xarchinfo_x86] 오류 1
Cannot detect CPU throttling.
rm -f config1.out
make atlas_run atldir=/speech3/kaldi-trunk/tools/ATLAS/build exe=xprobe_comp redir=config1.out \
                args="-v 0 -o atlconf.txt -O 8 -A 0 -Si nof77 0 -V 0   -b 64 -d b /speech3/kaldi-trunk/tools/ATLAS/build"
make[1]: 디렉터리 '/speech3/kaldi-trunk/tools/ATLAS/build' 들어감
cd /speech3/kaldi-trunk/tools/ATLAS/build ; ./xprobe_comp -v 0 -o atlconf.txt -O 8 -A 0 -Si nof77 0 -V 0   -b 64 -d b /speech3/kaldi-trunk/tools/ATLAS/build > config1.out
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `find /usr/local/bin /usr/bin /cygdrive/c/Windows/system32 /cygdrive/c/Windows /cygdrive/c/Windows/System32/Wbem /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0 /cygdrive/c/Program\ Files\ (x86)/Intel/OpenCL\ SDK/2.0/bin/x86 /cygdrive/c/Program\ Files\ (x86)/Intel/OpenCL\ SDK/2.0/bin/x64 /cygdrive/c/Program\ Files/Microsoft/Web\ Platform\ Installer /cygdrive/c/Program\ Files\ (x86)/Microsoft\ ASP.NET/ASP.NET\ Web\ Pages/v1.0 /cygdrive/c/Program\ Files\ (x86)/Windows\ Kits/8.0/Windows\ Performance\ Toolkit /cygdrive/c/Program\ Files/Microsoft\ SQL\ Server/110/Tools/Binn /cygdrive/c/Program\ Files/Microsoft\ Visual\ Studio\ .NET\ 2003/Vc7/bin -maxdepth 1 -name '*gcc*' -exec ./xisgcc '{}' \; > /tmp/t2db98.0 2>&1'
/tmp/ccAc2HCH.s: Assembler messages:
/tmp/ccAc2HCH.s:12: Error: invalid instruction suffix for `push'
make[2]: *** [IRunCComp] 오류 1
/tmp/cc0wfyff.s: Assembler messages:
/tmp/cc0wfyff.s:12: Error: invalid instruction suffix for `push'
make[2]: *** [IRunCComp] 오류 1
make[2]: gfortran: 명령을 찾지 못했음
make[2]: *** [IRunF77Comp] 오류 127
make[2]: g77: 명령을 찾지 못했음
make[2]: *** [IRunF77Comp] 오류 127
make[2]: f77: 명령을 찾지 못했음
make[2]: *** [IRunF77Comp] 오류 127
/bin/sh: icl: command not found
make[2]: *** [/speech3/kaldi-trunk/tools/ATLAS/build/ATLwin_ifort.exe] 오류 127
Unable to to build ATLwin_ifort, quitting
cmnd='make /speech3/kaldi-trunk/tools/ATLAS/build/ATLwin_ifort.exe'
Makefile:106: 'atlas_run' 타겟에 대한 명령이 실패했습니다
make[1]: *** [atlas_run] 오류 255
make[1]: 디렉터리 '/speech3/kaldi-trunk/tools/ATLAS/build' 나감
Makefile:117: 'IRun_comp' 타겟에 대한 명령이 실패했습니다
make: *** [IRun_comp] 오류 2
ERROR 512 IN SYSCMND: 'make IRun_comp args="-v 0 -o atlconf.txt -O 8 -A 0 -Si nof77 0 -V 0   -b 64"'
mkdir src bin tune interfaces
mkdir: `src' 디렉토리를 만들 수 없습니다: File exists
mkdir: `bin' 디렉토리를 만들 수 없습니다: File exists
mkdir: `tune' 디렉토리를 만들 수 없습니다: File exists
mkdir: `interfaces' 디렉토리를 만들 수 없습니다: File exists
Makefile:450: 'make_subdirs' 타겟에 대한 명령이 실패했습니다
make: *** [make_subdirs] 오류 1
make -f Make.top startup
make[1]: 디렉터리 '/speech3/kaldi-trunk/tools/ATLAS/build' 들어감
Make.top:1: Make.inc: No such file or directory
make[1]: *** 타겟 'Make.inc'을(를) 만들 규칙이 없습니다.  멈춤.
make[1]: 디렉터리 '/speech3/kaldi-trunk/tools/ATLAS/build' 나감
Makefile:493: 'startup' 타겟에 대한 명령이 실패했습니다
make: *** [startup] 오류 2
mv: cannot stat `lib/Makefile': No such file or directory
../configure: line 450: lib/Makefile: No such file or directory
../configure: line 451: lib/Makefile: No such file or directory
../configure: line 452: lib/Makefile: No such file or directory
../configure: line 453: lib/Makefile: No such file or directory
../configure: line 509: lib/Makefile: No such file or directory
DONE configure
make -f Make.top build
make[1]: 디렉터리 '/speech3/kaldi-trunk/tools/ATLAS/build' 들어감
Make.top:1: Make.inc: No such file or directory
make[1]: *** 타겟 'Make.inc'을(를) 만들 규칙이 없습니다.  멈춤.
make[1]: 디렉터리 '/speech3/kaldi-trunk/tools/ATLAS/build' 나감
Makefile:488: 'build' 타겟에 대한 명령이 실패했습니다
make: *** [build] 오류 2
------------------------------------------------------------------------------------

I think i have failed to install ATLAS. What did i do wrong?

Chung,


2015년 8월 28일 금요일 오후 5시 6분 8초 UTC+9, yjjun...@gmail.com 님의 말:

Qingsong Liu

unread,
Aug 28, 2015, 4:54:56 AM8/28/15
to kaldi...@googlegroups.com
do NOT use cygwin

--
You received this message because you are subscribed to the Google Groups "kaldi-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi-help+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
---------------------------------------------
Qingsong Liu
liuqs...@gmail.com
Univ. of Sci.& Tech. of China
----------------------------------------------

Jan Trmal

unread,
Aug 28, 2015, 11:47:47 AM8/28/15
to kaldi-help
Please, use the cygwin package manager to install atlas (if it's available). Compilation of ATLAS can be a headache even for experienced users.
Other option is to use the openblas instead of atlas.

y.
Reply all
Reply to author
Forward
0 new messages