Intel® Fortran Studio XE

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.

Thanks

Anton

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/composer_xe_2015.3.187ifortvars.sh 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**

Hi,

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 (http://www2.mmm.ucar.edu/wrf/src/WRFV3.7.TAR.gz) 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 14.0.2.144 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?

Problems with pack intrinsic function: catastrophic error and bad results

I noticed that the subroutine sprsin in numerical recipes produces catastrophic error if compiled with ifort 15.
The problem seems due to the line

sa%jcol=pack(spread(arth(1,1,n),1,n),mask)

It is possible to reproduce the error by compiling the code test_err1.f90

ifort test_err1.f90

./a.out

At the same time I found that this line

sa%irow = pack(spread(arth(1,1,NDIM),2,NDIM),mask(:,:))

in test_err2.f90 produce bad results.
gfortran compiler and old version of ifort produce correct results.

Suscribirse a Intel® Fortran Studio XE