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

mpitune error

Jimmy_J_1
Beginner
748 Views

I've read up on the tutorials to mpitune, but it fails everytime I run it.  When simply running mpitune (or with any arguments) I get:

path_to_mpitune_executable: Syntax error: "(" unexpected

I'm on a linux machine and it is a single machine (currently not clustered).  I have Parallel Studio 2016 Professional Edition (full license and latest update), and a trial version of the Intel MPI libraries.  Compiling and linking with the MPI libraries works fine and mpirun on the compiled executable runs fine, too.

Anyone know what's going on?

0 Kudos
4 Replies
TimP
Honored Contributor III
748 Views

Did you try the file command to see if that appears to be an executable matching your platform?

0 Kudos
Artem_R_Intel1
Employee
748 Views

Hi Jimmy,

Could you please provide more information about your environment (OS, shell version) and the command line you use to run mpitune?

BTW which version of Intel MPI Library do you use (you can see it with 'mpirun -V')?

0 Kudos
Artem_R_Intel1
Employee
748 Views

Hi Jimmy,

It looks like bash isn't the default shell in your environment (for example, like in Ubuntu* OS /bin/sh may point to /bin/dash). Currently such shells aren't supported by the mpitune utility. As a workaround you can try to correct shell settings (e.g. redirect /bin/sh to /bin/bash).

I'll submit an internal ticket to add dash support for mpitune.

0 Kudos
Sunil_K_2
Beginner
748 Views

Same error appears in my case also.

intel/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpitune: Syntax error: "(" unexpected

more details below.

mpitune --application \"mpirun -n 2 ./pw.x < Si.sample.in > Si.sample.out\" -of ./pwx.conf

OS : Ubuntu 14.04.1 LTS

shell : GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu)

Intel Parallel studio XE 2016

 

0 Kudos
Reply