I get compiler warnings that a line exceeds the maximum length of 132 characters, even though the line is exactly 132 characters long.
I have encountered some weird phenomenon involving Fortran array operations. The following code
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.
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.
I've a mixed mpi/coarray program that I'm trying to port to intel.
I build it with mpiifort:
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:
the following code appears to be valid, but ifort rejects it:
program ifort_sum_param implicit none real, parameter :: a(3) = [ 1., 2., 3. ] real, parameter :: b = sum (a) print *, b end
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)
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 184.108.40.206 Build 20140120
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?
I noticed that the subroutine sprsin in numerical recipes produces catastrophic error if compiled with ifort 15.
The problem seems due to the line
It is possible to reproduce the error by compiling the code test_err1.f90
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.
Intel® Parallel Studio XE 2015 Update 4 Professional Edition for Fortran parallel software development suite combines Intel's Fortran compiler; performance and parallel libraries; error checking, code robustness, and performance profiling tools into a single suite offering. This new product release includes: