Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Kevin_F_1
Beginner
121 Views

Try to Install Intel Cluster Studio 2016 on Centos 7 Skript isnt working

Hi all,

I am trying to install an Intel-Cluster-Studio 2016 on my Centos7 installation. But the problem starts right on, when I am trying to execute the installation script.

install.sh: line 331: [: /tmp/intel.pset hostname.domain.name.bla binary operator expected

Is there a solution for this?

 

Thanks in advance

most sincerely

TheUnnamed

0 Kudos
8 Replies
TimP
Black Belt
121 Views

In case it's relevant:

If you wish to install under/for csh or tcsh, you should choose those versions of the install scripts.  The .sh scripts should support bash and sh shells. 

Some other shells may not be supported, but a CentOS installation should include sh support, so you could try e.g. sudo /bin/sh ./install.sh

Then you might find that the customization of the compilervars scripts raises similar issues.

James_T_Intel
Moderator
121 Views

Following Tim's suggestion, what shell are you using?

James_T_Intel
Moderator
121 Views

What is the original package you downloaded?

Kevin_F_1
Beginner
121 Views

parallel_studio_xe_2016_update1

James_T_Intel
Moderator
121 Views

Kevin,

I apologize for not getting back to you sooner.  Look in your install.sh script at lines 322-337.  It should match this:

get_strings()
{
    strings_file="$user_tmp/intel.pset.strings.$USER.${HOSTNAME}"
    if [ -f "$pset_engine_cli_binary" ]; then
        "$pset_engine_cli_binary" --TEMP_FOLDER="$temp_folder" --log-disable --__get_string__=$strings_file $params
    else
        "$pset_engine_binary" --TEMP_FOLDER="$temp_folder" --log-disable --__get_string__=$strings_file $params 2>/dev/null
    fi
    exit_code=$?
    if [ -f $strings_file ] ; then
        . $strings_file
        rm $strings_file >/dev/null 2>&1
    else
        exit $exit_code;
    fi
}

 

Kevin_F_1
Beginner
121 Views

Hi, James, it seems identical.
get_strings()
{
    strings_file="$user_tmp/intel.pset.strings.$USER.${HOSTNAME}"
    if [ -f "$pset_engine_cli_binary" ]; then
        "$pset_engine_cli_binary" --TEMP_FOLDER="$temp_folder" --log-disable --__get_string__=$strings_file $params
    else
        "$pset_engine_binary" --TEMP_FOLDER="$temp_folder" --log-disable --__get_string__=$strings_file $params 2>/dev/null
    fi
    exit_code=$?
    if [ -f $strings_file ] ; then
        . $strings_file
        rm $strings_file >/dev/null 2>&1
    else
        exit $exit_code;
    fi
}

 

Kevin_F_1
Beginner
121 Views

Bump*

Is there now way to get this working? :(

 

Or should the system be functioning if I am only install the rpm with i.e. yum install?

 

 

 

James_T_Intel
Moderator
121 Views

If you install with RPMs, that should work.  Also, try the latest version.

Reply