Intel® Fortran Studio XE

MODULEFILE creation is easy


If you use Environment Modules  (from Sourceforge, SGI, Cray, etc) to setup and control your shell environment variables, we've created a new article on how to quickly and correctly create a modulefile.  The technique is fast and produces a correct modulefile for any Intel Developer Products tool.

The article is here:

is it worth using array section assignment ?

Hi, all

I'd like very much the capability of working with array sections in assignment such as

a(k:k+l) = b(j:j+l)

After some tests, however, I am surprised that this notation leads to much less efficient code than the good old equivalent loops:

do i = 0,l
   a(k+i) = b(j+i)
end do

I guess that the former generates some temporary before the assignment, and this operation consumes time.

Is there some option,  directive or trick that can be used not to lose in performance ?

error stop: warning #6477: Fortran 2008 does not allow this statement or directive

Something that irritated me for a long time.

When compiled with -warn all -stand f08 I get

: warning #6477: Fortran 2008 does not allow this statement or directive.
error stop

This seems completely wrong. Indeed Fortran 2008 introduced this statement.

Or am I using the compiler flags wrong?

This in with ifort (IFORT) 15.0.2 20150121.



mixed mpi/coarray programs - is -coarray-config-file required?

I've a mixed mpi/coarray program that I'm trying to port to intel.
I build it with mpiifort:

mpiifort --version
ifort (IFORT) 15.0.2 20150121

but I'm very confused about  -coarray-config-file option.
I can build the executable with or without this option,
but so far I haven't managed to run it, with or without this option.
My latest attempt is to specify -coarray-config-file at link time,
and submit the job to PBS queue with:

Problems accessing ifort compiler

I just successfully installed the latest version of Intel Parallel Studio XE 2015 on a Linux machine (specifically fedora 21). Despite a seemingly successful install, I am unable to add the fortran compiler to my PATH.

When I execute the command echo $PATH in my terminal, I see a PATH that includes /opt/intel/composer_xe_2015.3.187 and /opt/intel/ intel64 which is where I believe the appropriate files are located. However, when I run the command which ifort, the terminal returns no ifort in (Path folders here)

WRF 3.7 / catastrophic error: **Internal compiler error: segmentation violation signal raised**


The following error has been reported by the compiler while compiling the file module_bl_temf.F (WRFV3/phys/module_bl_temf.F) from WRF V3.7 ( model for Intel MIC (configure option 17).

"catastrophic error: **Internal compiler error: segmentation violation signal raised**"

[root@node mic]# ifort -V
Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version Build 20140120

Data passing w/ mixed programming f2008+python.

I would like to have your suggestions for the following task.

I'm developing a F2008 code that has to call a python script (specifically a special function in the mpmath lib) which will generate an array of data values that I want to transfer back to the fortran exec.

I can easily come up with a couple of  possible alternatives, all of which require the use of the intrinsic execute_command_line.  I can easily execute the python code with it, but how to transfer the results?

Subscribe to Intel® Fortran Studio XE