Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
2221 Discussions

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

Sunil_K_2
Beginner
877 Views

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

 

0 Kudos
0 Replies
Reply