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?
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')?
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.
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