Intel Parallel Studio

Please report any issues with software that depends on an installation of the Intel Parallel Studio. Some modules may reference an out of date version of this module.

We are working on auditing existing module files.

Your software needs to run faster. It performs tasks that need to get done sooner, not later including big data analytics, image analysis, time-critical financial analysis, and simulations. Intel® Parallel Studio XE 2016 is a software development suite that helps boost application performance by taking advantage of the ever-increasing processor core count and vector register width available in Intel® Xeon® processors, Intel® Xeon Phi™ coprocessors and compatible processors.


Usage

In this example we will use the Intel Parallel Studio 2016 Update 2 XE Suite to interactively compile some simple 'hello world' C, C++, f90, and f77 source code using a single node with the default resource allocation via srun. You will need to create the example files in the Contents of Example Files section.

Load the module:

module load intel/intel-2016-update2

Compile the examples:

C:

[userid@cluster ~]$ srun -N 1 icc -o hello_world_c helloworld.c

C++:

[userid@cluster ~]$ srun -N 1 icpc -o hello_world_cpp helloworld.cpp

Fortran f90:

[userid@cluster ~]$ srun -N 1 ifort -o hello_world_f90 helloworld.f90

Fortran f77:

[userid@cluster ~]$ srun -N 1 ifort -o hello_world_f helloworld.f

In this example we will use the Intel Parallel Studio 2016 Update 2 XE Suite to compile some simple 'hello world' C, C++, f90, and f77 source code using a single node with the default resource allocation via sbatch. You will need to create the example files in the Contents of Example Files section.

Submitting the SBATCH job file:

[userid@cluster ~]$ sbatch intel_compile.sh

The SBATCH job file (intel_compile.sh):

#!/bin/bash -
#SBATCH -J intel_compile
#SBATCH -o intel_compile.o%j
#SBATCH -e intel_compile.e%j
#SBATCH -N 1

## Load the Intel Module
module load intel/intel-2016-update2

## Run
icc -o hello_world_c helloworld.c
icpc -o hello_world_cpp helloworld.cpp
ifort -o hello_world_f90 helloworld.f90
ifort -o hello_world_f helloworld.f

Example Output from Compiled Programs:

C:

./hello_world_c
Hello World

C++:

/hello_world_cpp
Hello World

Fortran f90:

./hello_world_f90
 Hello World

Fortran f77:

./hello_world_f
 Hello World

Contents of Example Files

helloworld.c:

#include<stdio.h>

main()
{
    printf("Hello World\n");
}

helloworld.cpp:

#include <iostream>
#include <cstdlib>

int main()
{
  std::cout << "Hello World" << std::endl;
  return EXIT_SUCCESS;
}

helloworld.f90:

program helloworld
print *,'Hello World'
end program helloworld

helloworld.f:

      PROGRAM HELLOW
      WRITE(UNIT=*, FMT=*) 'Hello World'
      END