Quantcast
Channel: Clusters and HPC Technology
Viewing all articles
Browse latest Browse all 927

mpitune results in "Syntax error: "(" unexpected"

$
0
0

Hi

I have installed Intel Parallel studio XE 2016 in ubuntu 14.04.1 LTS running on Intel® Core™ i5-2400 CPU @ 3.10GHz × 4 .

Running mpitune without any arguments results in the following error.

path/mpitune: Syntax error: "(" unexpected.

After commenting out the first few lines in the mpitune script, its starts 'tuning' . The commented out section of the script is given below.

#function is_enabled()
#{
#    local var=$1
#    if [[ "${var}" == "enable" || "${var}" == "yes" || "${var}" == "1" ||  "${var}" == "on" || ${var} == "true" ]]; then
#        echo true
#    else
#        echo false
#    fi
#}

#function is_enabled_cmd()
#{
#    local var=$1
#    if [[ $(is_enabled $var) == true || $var == "-"* || $var == "" ]]; then
#        echo true
#    else
#        echo false
#    fi
#}

kindly requesting for  suggestions/solutions.

thanks

 

Rubrique de thread: 

Bug Report

Viewing all articles
Browse latest Browse all 927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>