Assignment overloading of the form scalar = vector(:)
Hi,I'm having trouble to define a overloaded assigment using:a scalar variable on the left-hande side anda 1d array on the right-hand side.In other words, I want to do scalar = vector(:).Is this even...
View ArticleDifficulty of compiling fortran code while linking with mkl
Hi,I have been trying to compile my fortran code, where I am using a couple of mkl functions such as dss solver, MKL_DCSRMULTCSR, MKL_DCSRGEMV, etc. Previously I had a similar code, from which I was...
View ArticleHow to Link Against STATIC libc on Ubuntu 13.10
I have been able to get digit for digit identical results on Ubuntu 13.10 x64 vs. Windows, if I compile my code like so: ifort -zero -traceback -static-intel -i8 -O2 -axAVX -ftz -fpe0 -fp-model source...
View Articleexternal file modified date
There seems to be no simple way of obtaining the modified date of an external file in Fortran. Can anyone help with a few lines of Fortran code to get the information? Preferably, the code is portable...
View ArticleHow to declare `interface` block for MKL functions?
Hi, The following code was successfully compiled but returned wrong result:program main use, intrinsic:: iso_fortran_env, only: INPUT_UNIT, OUTPUT_UNIT, ERROR_UNIT implicit none interface ! returns...
View ArticleCreating file name strings
Hi All,I'm trying to create numerous files in a directory with a do loop using the command open. I don't exactly know how I'm supposed to take care of the names of the files. Since I can only type a...
View ArticleDebugging in v15 beta
Is this the right place to ask about debugging in the v15 beta product? I've tried premier support but it says the product is no longer supported.Thanks.
View ArticleError installing on Ubuntu
Hello,I am unable to install Intel Fortran Compiler XE for Intel(R) 64 component on Ubuntu 14.04. It says 'Unsupportted OS' at first. However, if I ignore and continue, select Intel 64 architecture, at...
View ArticleMemory can not be "Read" Erro
Hi Guys,I am using FORTRAN as my coding language for ASPEN PLUS. Frequently I come across an error which says : " Instruction at "0x749860b0" refernced at "0x000000000". The memory...
View ArticleOpenMP refusing to thread
Steve, Colleagues,Can anyone suggest why OpenMP would not thread the following (simple) double loop?CALL OMP_SET_NUM_THREADS(4) MemForEachStack = 16000000 call kmp_set_stacksize_s(MemForEachStack)...
View ArticleCode Generation for future Intel® MIC Architecture-based Processors
In versions 14.0.1 and later, the Intel® C++ Compiler and the Intel® Fortran Compiler processor-specific options support code generation for Intel® Advanced Vector Extensions 512 (Intel® AVX-512)...
View Articleruntime crashes
I am currently moving a large code base over to the Intel fortran compiler. This task is almost complete, and the code is now executing as expected, however visual studio 2010 keeps crashing while I am...
View Articlecompiling with -ipo takes too much time
Dear all,I am using the following compile line for my makefile however -ipo options takes far longer than without -ipo, what is the reason of this behavior?ifort -ipo -prec-sqrt -prec-div -fp-model...
View ArticleInvoking Internet Explorer from Fortran - IVF Composer
In an application I use Internet Explorer to open and display a HTML files.The program line below used to work well, both with QVF and with Intel VF version 10.026iret = WinExec('C:\Program...
View ArticleAVX instruction using xmm ?
Hi,I have a question about AVX instruction. I compiled my code using ifort 13 with -O2 and -xHost. I want to enable 256-bit wide AVX to perform four 64-bit floating point operations per cycle.Here is...
View Articlebest ifort equivalent flag to gfortran -O3 -ffast-math?
Hi to everyone,I am parallelizing a MC code written in Fortran using OpenMP. During the development process I used the Parallel Studio Suite with great success (really, I would not be able to do it...
View ArticleIntel® Composer Release Notes by Version
Please click on the appropriate version below to go to the page containing Release Notes for your version of the Intel® C++ or Fortran Compiler Professional Edition or Intel® Composer...
View ArticleMatlab calls IVF dll generated by IDE environment
Hi I have not found detailed steps to build fortran dll from IDE environement and link to Matlab. I found that IDE approach to create fortran dll is simpler tha "mex -setup " approach since we need to...
View ArticleFile I/O Unformatted Stream Vs Binary
I am not familiar with opening a file with form set to Unformated with Acess set to Stream. Is this identical to opening a file with form set to Binary. If not, since they are record free files would...
View ArticleVolatile coarrays
The compiler does not seem to be honouring C560 "The VOLATILE attribute shall not be specified for a coarray that is accessed by use (11.2.2) or host (16.5.1.4) association." This is the clearest...
View Article