Using -openmp and the effect of -auto in preparing a serial code to use OPenMP

Hi all,

I have a large serial code (>15k line of code) with COMMONs blocks. I wanted to start transffering some time consuming loops to work under OpneMP parallelism. After reading some different posts in Intel's forums (i.e.:, I decided to prepare first my code for OpenMP by adding the -auto compiler option to my set of flgas.

Advanced Computer Concepts For The (Not So) Common Chef: Terminology Pt 1

Before we start, I will use the next two blogs to clear up some terminology. If you are familiar with these concepts, I give you permission to jump to the next section.  I suggest any software readers still check out the other blog about threads. There is a lot of confusion, even among us software professionals.

Intel 15.0.2 OMP Runtime Error

I received the following error while running a Fortran code in parallel:

OMP: Error #13: Assertion failure at kmp_runtime.c(1592).

OMP: Hint: Please submit a bug report with this message, compiler and run commands used, and machine configuration info including native compiler and operating system versions. Faster response will be obtained by including all program sources. For information on submitting this issue, please see

ifort 15: Internal compiler error

ifort -c -coarray cgca_m1co.f90

ifort -c -coarray -debug full -free -fPIC -warn all  cgca_m2stat.f90
cgca_m2stat.f90: catastrophic error: **Internal compiler error: segmentation violation signal raised** Please report this error along with the circumstances in which it occurred in a Software Problem Report.  Note: File and line given may not be explicit cause of this error.
compilation aborted for cgca_m2stat.f90 (code 1)
make: *** [cgca_m2stat.o] Error 1

ifort --version
ifort (IFORT) 15.0.0 20140723

the files:

Intel® VTune™ Amplifier Tutorials

The following tutorials are quick paths to start using the Intel® VTune™ Amplifier. Each demonstrates an end-to-end workflow you can ultimately apply to your own applications.


  • These tutorials apply to the VTune Amplifier XE starting from version 2013 and higher and to the VTune Amplifier for Systems from version 2014 and higher.

  • Android*
  • Linux*
  • Microsoft Windows* (XP, Vista, 7)
  • Microsoft Windows* 8
  • Projeto Yocto
  • C/C++
  • Fortran
  • Intel® System Studio
  • Intel® VTune™ Amplifier
  • Intel® Cluster Studio XE
  • Intel® Parallel Studio XE
  • Intel® Parallel Studio XE Cluster Edition
  • Intel® Parallel Studio XE Professional Edition
  • Intel® VTune™ Amplifier XE
  • Assine o Linux*