silent install error ...

silent install error ...

richardrl的头像

I've got Intel Fortran Composer XE 2013 for linux and installing on gentoo. I'm only after the compiler and MKL. Apparently pset has changed up quite a bit now.

After creating the INI file which looks like this ...

ACTIVATION=exist_lic
CONTINUE_WITH_INSTALLDIR_OVERWRITE=yes
CONTINUE_WITH_OPTIONAL_ERROR=yes
PSET_INSTALL_DIR=/opt/intel
INSTALL_MODE=RPM
ACCEPT_EULA=accept
SEND_USAGE_DATA=no

... and then running the following ...
$ cd l_fcompxe_2013.2.146
$ sudo ./install.sh --silent /home/rickl/Intel_Software/pset/silent_for_2013.ini

... I then get the following ...
ERROR: This script installs Intel(R) products and should be called from general install script. Exiting...

Anyone have ideas?

5 帖子 / 0 new
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项
Ronald W Green (Intel)的头像

I am not entirely sure, but instead of invoking the installer from sudo, I'd first use sudo to get a true root shell.  Also, make sure the tgz was extracted into a dir that root will have access to, like /tmp.  Don't run the installer from a user owned directory, permissions can be fickle.  xfer the tgz to /tmp and untar and install AS ROOT from there.  Same for the .ini file - put it in /tmp and make sure perms allow root access.

sudo bash

su -

cd /tmp

cat silent_for_2013.ini

tar -zxf l_fcompse_2013.2.146_intel64.tgz ; cd l_fcompxe_2013.2.146

./install.sh --silent /tmp/silent_for_2013.ini

see if that helps.  too many foo things go on with sudo, I don't trust it except to give me root shell.
Also, I can assume your gentoo has rpm installed, correct?

ron

richardrl的头像

Yes, I have rpm installed. This time I ran as root, double checked the perms, and from the tmp directory. Still no change. Received the very same error message.

IS_COMMAND_LINE_OPTION_EXISTS run || DIE "This script installs Intel(R) products and should be called from general install script. Exiting..."

Ronald W Green (Intel)的头像

you're only showing the error.  Can you show the commands you are executing starting from the beginning.  I want to see this:

cd /tmp

cat silent_for_2013.ini

tar -zxf l_fcompse_2013.2.146_intel64.tgz ; cd l_fcompxe_2013.2.146

./install.sh --silent /tmp/silent_for_2013.ini

Also, what happens when you try an interactive installation?

./install.sh

Next, do you have all the prequisites?  Can you compile a helloworld.c from gcc in 32 bit mode?  Like this

cat hello.c

#include <stdint.h>

int main (void)
{
   for (int i = 0; i <= 10; i++)
   {
    printf("%d",i);
   }
        return 0;

}

gcc -m32 -o hello hello.c

./hello

This has to work to prove that the 32bit development env is installed and your prereqs are met.  Otherwise, try using the strictly 64 bit compiler kit l_fcompxe_2013.2.146_intel64.tgz instead.

ron

richardrl的头像

Thanks. Someone handed me a file w/ the license and that was mistake #1. As soon as you mentioned 32 bit mode, I checked and saw that this was a 32bit version. The 64 fixed it.

登陆并发表评论。