OS: 16.04
CUDA: 8.0
你是不是遇到了这个问题,执行./install_atlas的时候一直报错:
make[3]: **[atlas_run] Error 44 ....
在stackflow上有这个问题,是由于kaldi默认的是atlas-3.10.0, 而这个版本是不稳定的,需要使用最新的版本: atlas-3.10.2, 不确定是不是因为系统是16.04的原因
然后就OK了, 可以修改install_atlas.sh脚本的内容如下:
if [ ! -f atlas3.10.2.tar.bz2 ]; then
wget -T 10 -t 3 http://sourceforge.net/projects/math-atlas/files/Stable/3.10.2/atlas3.10.2.tar.bz2 || exit 1;
fi
tar -xvjf atlas3.10.2.tar.bz2 || exit 1;
cd ATLAS
mkdir build # you should probably have a name that reflects OS, CPU, etc... but this is fine
cd build
# sometimes the -b 32 option can be helpful to "configure"
# when it's on a 64-bit CPU but a 32-bit OS. It won't hurt
# if it's not a 64-bit CPU.
x=`uname -a | awk '{print $(NF-1)}'`
if [ "$x" == "i686" -o "$x" == "x86" ]; then
opt="-b 32"
fi
../configure $opt --prefix=`pwd`/install || exit 1;
make -j 2 || exit 1;
make check -j 2 || exit 1;
make install || exit 1;