LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1005|回复: 10

Intel的MKL无法安装在Debian上

[复制链接]
发表于 2007-1-11 22:07:42 | 显示全部楼层 |阅读模式
在debian上试图安装Intel的 Math Kernel Library时出现如下错误:
WARNING: RPM  prevents installation into a non-default directory. Install destination is set to /opt/intel/mkl/8.1
Press Enter to continue
回车后出现
Installing RPM package...
Installation failed. You can find installation files in /tmp/mkl.
Please see "/var/log/mkl_install.log" for installation details.
Press Enter to continue.

Warning: It seems installation failed
Deleting temporary files...
请问是什么原因?
谢谢
发表于 2007-1-11 22:17:03 | 显示全部楼层
不是告诉你查看/var/log/mkl_install.log了吗?把它贴出来让大家看看,然后分析。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-11 22:20:01 | 显示全部楼层
Thu 01 21:54:40 install.c:210   main():path to install data: /tmp/install_temp.41b03c902bab183d8f0d0873ba9d08ed/installdata
Thu 01 21:54:40 shell.c:28      runShellCmd():Command to execute: '[ -f "/tmp/install_temp.41b03c902bab183d8f0d0873ba9d08ed/installdata" ] &>/dev/null'
Thu 01 21:54:40 shell.c:112     runShellCmd():waitpid() status for the executed command: 0
Thu 01 21:54:40 shell.c:28      runShellCmd():Command to execute: 'which rpm &>/dev/null'
Thu 01 21:54:40 shell.c:112     runShellCmd():waitpid() status for the executed command: 0
Thu 01 21:54:40 shell.c:28      runShellCmd():Command to execute: '             INSTALLEDRPM='';                for NAME in intel-mkl intel-cluster_mkl  intel-mkl_sdk intel-mkl_sdk_p intel-mkl_sdk_e;            do              INSTALLEDRPM="$INSTALLEDRPM $(rpm -q $NAME 2> /dev/null | grep '^intel')";                 done;           if [ "x$(echo $INSTALLEDRPM | grep intel)" != "x" ] ; then                 echo "The following versions of Intel(R) Math Kernel Library and related products are installed.";                 rpm -q $INSTALLEDRPM --qf " - %{summary}\n";            fi'
Thu 01 21:54:41 shell.c:112     runShellCmd():waitpid() status for the executed command: 0
Thu 01 21:54:46 install.c:338   main():extract_to("mkl_license","/tmp/install_temp.41b03c902bab183d8f0d0873ba9d08ed",(char **)0xbfe7acb4,"x32",0,15781)
Thu 01 21:54:46 extract.c:121   extract_to():Seeking to RPMSIZE[2]=106681441Thu 01 21:54:46 install.c:346       main():displaying EULA
Thu 01 21:54:49 shell.c:28      runShellCmd():Command to execute: 'more "/tmp/install_temp.41b03c902bab183d8f0d0873ba9d08ed/mkl_license"'
Thu 01 21:54:51 shell.c:112     runShellCmd():waitpid() status for the executed command: 0
Thu 01 21:54:51 silent_install_support.c:116    getQuestionIndex():index for the question 'EULA_ACCEPT_REJECT' is 0
Thu 01 21:54:51 silent_install_support.c:23     setDefaultAnswer():last default answer is set to ''
Thu 01 21:54:51 silent_install_support.c:47     getUserAnswer():getting user answer on the question with id=EULA_ACCEPT_REJECT
Thu 01 21:54:55 install.c:385   main():Success - User chose to accept the EULA file for installing the product.
Thu 01 21:54:55 check_license.c:105     get_full_path():getting full path for /tmp/install_temp.41b03c902bab183d8f0d0873ba9d08ed
Thu 01 21:54:55 check_license.c:109     get_full_path():full path for /tmp/install_temp.41b03c902bab183d8f0d0873ba9d08ed is /tmp/install_temp.41b03c902bab183d8f0d0873ba9d08ed
Thu 01 21:54:55 check_license.c:314     check_license_directory()ooking for valid FLEXlm licenses under the directory /home/clg/l_mkl_p_8.1.014/instman
Thu 01 21:54:55 check_license.c:335     check_license_directory()idn't found valid FLEXlm license in the directory /home/clg/l_mkl_p_8.1.014/instman
Thu 01 21:54:55 check_license.c:105     get_full_path():getting full path for /home/clg/l_mkl_p_8.1.014/instman/..
Thu 01 21:54:55 check_license.c:109     get_full_path():full path for /home/clg/l_mkl_p_8.1.014/instman/.. is /home/clg/l_mkl_p_8.1.014
Thu 01 21:54:55 check_license.c:314     check_license_directory()ooking for valid FLEXlm licenses under the directory /home/clg/l_mkl_p_8.1.014
Thu 01 21:54:55 check_license.c:335     check_license_directory()idn't found valid FLEXlm license in the directory /home/clg/l_mkl_p_8.1.014
Thu 01 21:54:55 check_license.c:436     check_license()ooking for valid licenses into the INTEL_LICENSE_FILE=(null)
Thu 01 21:54:55 check_license.c:314     check_license_directory()ooking for valid FLEXlm licenses under the directory /opt/intel/licenses
Thu 01 21:54:55 shell.c:28      runShellCmd():Command to execute: 'uname -m 2>/dev/null'
Thu 01 21:54:55 shell.c:69      runShellCmd():Capturing STDOUT
Thu 01 21:54:55 shell.c:82      runShellCmd():GOT 5 bytes from STDOUT
Thu 01 21:54:55 shell.c:112     runShellCmd():waitpid() status for the executed command: 0
Thu 01 21:54:55 check_license.c:78      determineFLEXLM_platform():Trying to determine FLEXlm platform for machine name i686
Thu 01 21:54:55 check_license.c:88      determineFLEXLM_platform():Machine name i686 matches FLEXlm platform name i86_r
Thu 01 21:54:55 check_license.c:257     check_license_file():Checking file /opt/intel/licenses/NCOM_L_MKL__NCD9-PWPGBCM6.lic for valid FLEXlm license
Thu 01 21:54:55 check_license.c:128     chklic_evaluate():Valid FLEXlm license was found in /opt/intel/licenses/NCOM_L_MKL__NCD9-PWPGBCM6.lic
Thu 01 21:54:55 check_license.c:278     check_license_file():Adding valid FLEXlm license file /opt/intel/licenses/NCOM_L_MKL__NCD9-PWPGBCM6.lic
Thu 01 21:54:55 shell.c:28      runShellCmd():Command to execute: 'uname -m 2>/dev/null'
Thu 01 21:54:55 shell.c:69      runShellCmd():Capturing STDOUT
Thu 01 21:54:55 shell.c:82      runShellCmd():GOT 5 bytes from STDOUT
Thu 01 21:54:55 shell.c:112     runShellCmd():waitpid() status for the executed command: 0
Thu 01 21:54:55 check_license.c:78      determineFLEXLM_platform():Trying to determine FLEXlm platform for machine name i686
Thu 01 21:54:55 check_license.c:88      determineFLEXLM_platform():Machine name i686 matches FLEXlm platform name i86_r
Thu 01 21:54:55 check_license.c:257     check_license_file():Checking file /opt/intel/licenses/8350288_NCOM_L_MKL__NCD9-PWPGBCM6.lic for valid FLEXlm license
Thu 01 21:54:55 check_license.c:128     chklic_evaluate():Valid FLEXlm license was found in /opt/intel/licenses/8350288_NCOM_L_MKL__NCD9-PWPGBCM6.lic
Thu 01 21:54:55 check_license.c:278     check_license_file():Adding valid FLEXlm license file /opt/intel/licenses/8350288_NCOM_L_MKL__NCD9-PWPGBCM6.lic
Thu 01 21:54:55 check_license.c:541     check_license():Valid licenses to copy: /opt/intel/licenses/NCOM_L_MKL__NCD9-PWPGBCM6.lic /opt/intel/licenses/8350288_NCOM_L_MKL__NCD9-PWPGBCM6.lic
Thu 01 21:54:55 silent_install_support.c:116    getQuestionIndex():index for the question 'TEMP_DIR' is 2
Thu 01 21:54:55 install.c:554   ask_path_to_extract_files():The path to extract temporary wasn't specified. Setting it to '/tmp/mkl'
Thu 01 21:54:55 silent_install_support.c:28     askQuestion():asking question, id=TEMP_DIR
Thu 01 21:54:55 silent_install_support.c:23     setDefaultAnswer():last default answer is set to '/tmp/mkl'
Thu 01 21:54:55 silent_install_support.c:47     getUserAnswer():getting user answer on the question with id=TEMP_DIR
Thu 01 21:54:57 shell.c:28      runShellCmd():Command to execute: '[ -e "/tmp/mkl" ] &>/dev/null'
Thu 01 21:54:57 shell.c:112     runShellCmd():waitpid() status for the executed command: 256
Thu 01 21:54:57 shell.c:28      runShellCmd():Command to execute: 'mkdir -p "/tmp/mkl" &>/dev/null'
Thu 01 21:54:57 shell.c:112     runShellCmd():waitpid() status for the executed command: 0
Thu 01 21:54:57 install.c:414   main():extract_to("intel-mkl-8.1p-14.i386.rpm","/tmp/mkl",(char **)0xbfe7acb4,"x32",0,106770786)
Thu 01 21:54:57 extract.c:121   extract_to():Seeking to RPMSIZE[0]=0Thu 01 21:55:08 install.c:414       main():extract_to("install.sh","/tmp/mkl",(char **)0xbfe7acb4,"x32",106628431,106770786)
Thu 01 21:55:08 extract.c:121   extract_to():Seeking to RPMSIZE[1]=106628431Thu 01 21:55:08 install.c:414       main():extract_to("mkl_license","/tmp/mkl",(char **)0xbfe7acb4,"x32",106681441,106770786)
Thu 01 21:55:08 extract.c:121   extract_to():Seeking to RPMSIZE[2]=106681441Thu 01 21:55:08 install.c:414       main():extract_to("rpm_extract.32","/tmp/mkl",(char **)0xbfe7acb4,"x32",106697222,106770786)
Thu 01 21:55:08 extract.c:121   extract_to():Seeking to RPMSIZE[3]=106697222Thu 01 21:55:08 install.c:414       main():extract_to("rpm_extract.32_64","/tmp/mkl",(char **)0xbfe7acb4,"x32",106717738,106770786)
Thu 01 21:55:08 extract.c:121   extract_to():Seeking to RPMSIZE[4]=106717738Thu 01 21:55:08 install.c:414       main():extract_to("rpm_extract.64","/tmp/mkl",(char **)0xbfe7acb4,"x32",106743906,106770786)
Thu 01 21:55:08 extract.c:121   extract_to():Seeking to RPMSIZE[5]=106743906Thu 01 21:55:08 shell.c:28  runShellCmd():Command to execute: 'CURRENT_DIR=`pwd`; cd "/tmp/mkl" && sh install.sh intel-mkl-8.1p-14.i386.rpm --noroot  && cd "$CURRENT_DIR"'
Thu 01 22:00:10 shell.c:112     runShellCmd():waitpid() status for the executed command: 256
Thu 01 22:00:10 install.c:456   main():install script finished unsuccessfully
non-default directory, install destination is set to default '/opt/intel/mkl/8.1'
四 01 22:00:03:  Success - install.sh:937 Install rpm - intel-mkl-8.1p-14.i386.rpm
四 01 22:00:03:  Success - install.sh:938 Options are: '-ivh --force'.
四 01 22:00:04:  Error - Cannot get shared lock on RPM Database
四 01 22:00:04:  Error - Cannot get shared lock on RPM Database
四 01 22:00:04:  Success - Create temp '/tmp/temp.cOo2293' in '/tmp'.
四 01 22:00:04:  Success - install.sh:971 Using rpm install without relocation.
四 01 22:00:04:  Error - install.sh:983 Installation of intel-mkl-8.1p-14.i386.rpm. Logs are:
四 01 22:00:04:  Error - install.sh:984 \n    D: ============== intel-mkl-8.1p-14.i386.rpm
    D: Expected size:    106628431 = lead(96)+sigs(160)+pad(0)+data(106628175)
    D:   Actual size:    106628431
    D: intel-mkl-8.1p-14.i386.rpm: Header SHA1 digest: OK (b7b53d13f55bd34f09975cb8d61f1011e37f9db9)
    D:  added binary package [0]
    D: found 0 source and 1 binary packages
    D: opening  db environment /var/lib/rpm/Packages joinenv
    D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
    D: locked   db index       /var/lib/rpm/Packages
    D: ========== +++ intel-mkl-8.1p-14 noarch/linux 0x0
    D: opening  db index       /var/lib/rpm/Depends create mode=0x0
    D: opening  db index       /var/lib/rpm/Basenames rdonly mode=0x0
    D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
    D:  Requires: /bin/sh                                       NO
    D: package intel-mkl-8.1p-14.noarch has unsatisfied Requires: /bin/sh
    D:  Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1       YES (rpmlib provides)
    D:  Requires: rpmlib(CompressedFileNames) <= 3.0.4-1        YES (rpmlib provides)
    D: opening  db index       /var/lib/rpm/Conflictname rdonly mode=0x0
    D: closed   db index       /var/lib/rpm/Depends
    D: closed   db index       /var/lib/rpm/Conflictname
    D: closed   db index       /var/lib/rpm/Providename
    D: closed   db index       /var/lib/rpm/Basenames
    D: closed   db index       /var/lib/rpm/Packages
    D: closed   db environment /var/lib/rpm/Packages
    error: Failed dependencies:
        /bin/sh is needed by intel-mkl-8.1p-14.noarch
    D: ========== recording tsort relations
    D: ========== tsorting packages (order, #predecessors, #succesors, tree, depth, breadth)
    D:     0    0    0    0    1    0   +intel-mkl-8.1p-14.noarch
    D: May free Score board((nil))
四 01 22:00:04:  Error - install.sh:1244 Failed to install product
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-11 22:21:36 | 显示全部楼层
偶看不懂什么原因
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-11 22:25:25 | 显示全部楼层
/bin/sh is needed by intel-mkl-8.1p-14.noarch
是这个?
但是
beanya:/var/log# ls -l /bin/sh
lrwxrwxrwx 1 root root 4 2006-12-10 11:05 /bin/sh -> bash
回复 支持 反对

使用道具 举报

发表于 2007-1-11 22:36:04 | 显示全部楼层
/bin/sh is needed by intel-mkl-8.1p-14.noarch
说得很清楚的,看看它的安装说明,sh是指啥?是否是某个shell?
顺便问一下,这玩意是干吗用的?调试cpu的么?

我的/bin/sh链接着bash,不知你的链接啥?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-11 22:52:54 | 显示全部楼层
MKL=Math Kernel Library
intel的一个高性能数学内核库
安装这个会根shell有关?bash shell都不行?
这个不大可能吧
回复 支持 反对

使用道具 举报

发表于 2007-1-12 06:46:04 | 显示全部楼层
Error - Cannot get shared lock on RPM Database

你确定你的 Debian 系统里的 rpm 工具配置好了?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-12 13:08:07 | 显示全部楼层
要什么rpm工具?
回复 支持 反对

使用道具 举报

发表于 2007-1-12 16:56:09 | 显示全部楼层
你装了alien么?debian中用它来安装和转换rpm包。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表