Quantcast
Channel: Intel® Fortran Compiler for Linux* and macOS*
Browsing all 2583 articles
Browse latest View live

Problem with generic-type bound procedure of an abstract type

Hi,The following program gives a compile-time error where I think it shouldn't.I'm defining a abstract derived-type with a generic type-bound procedure which overloads two procedures which have...

View Article


Access component of function result

Hi,If I understood correctly, accessing the components of the result of a user-defined type-valued function, like constructor( param ) % componentis not permitted according to the Fortran 2008...

View Article


Calling a parent type-bound procedure from a extended type when the parent is...

Hi,I define a derived-type (denoted "child") which extends from another derived-type (denoted "parent").The parent derived-type has a type-bound procedure that is overloaded by the child derived-type.I...

View Article

getcwd line break 80 characters

Dear All,I'm using the getcwd function on Ubuntu Linux and the return string contains a newline statement if the current directory name is longer than 80 characters: program myWD use IFPORT implicit...

View Article

Image may be NSFW.
Clik here to view.

Bug: pointer function reference in ASSOCIATED instrinsic

With the release a couple days ago of Update 2 to SP1, I'm going back through my outstanding compiler bug reports.  Here is a bug I reported to my institutional HPC support well over a year ago against...

View Article


Premature analysis of open statement

Here's a silly little problem I don't believe I've reported before, but which probably ought to be fixed.  The 14.0.2 and earlier compilers all complain about the following code program main...

View Article

Status of some old issues

I have a few issues that are well over a year old and are still present in 14.0.2.  Can you update me on their status and when you plan to roll out a fix?  The IDs are: DPD200237118, DPD200237122, and...

View Article

'distributed' (-coarray) warning for Cluster Studio install

When I try to compile a Fortran coarrays program using ifort -coarray=distributed, I get the message:ifort: warning #10341: argument 'distributed' is not supported for option '-coarray'.  Use requires...

View Article


Non-floating license move to another machine

Hello,is it possible to move non-floating license of Fortran Compiler from one Linux machine to another? I've searched Registration FAQ and Center, but all the answers were relevant to floating license...

View Article


arch: Undefined variable message

I am running Intel Fortran Composer XE for Linux 2013 SP1 Update 2 on Red Hat Enterprise Linux 6.5.  When I execute the following command: source /opt/intel/bin/compilervars.csh intel64I get the error:...

View Article

Image may be NSFW.
Clik here to view.

Problem with processing multidimensional arrays via nested loops

Hello, we are frustrating with a weird problem caused by the latest Intel's compiler suites (ifort/icc v14.0.2.144, Linux x86_64/EM64T). Depending on the optimization level, the following code...

View Article

Image may be NSFW.
Clik here to view.

Unrolling problem in Intel Fortran v14.0.2.144 (x86_64/EM64T)

P { margin-bottom: 0.08in; } Hi, I will report a problem with unrolling of a very simple loop: DO 200 I = 1, NDIMVEC(I) = A(I*(I+1)/2)200 CONTINUE Something goes wrong when the 'A' and 'VEC'...

View Article

Internal compiler error at -O2,-O3 with 14.0.2.144

Hello,the code below fails to compile with ifort 14.0.2.144 at -O2 and -O3 and with the specified checking options, but not with -O0 or -O1 and not with older versions. module ifort14_ice implicit none...

View Article


Optimisation Past Subroutine Calls

Hi All,This might be a silly question, but I can't seem to decide on the answer myself. Is a compiler allowed to optimise past a call to a subroutine? For example, consider this: subroutine sub ( l, r...

View Article

-xHost leads to "loop was not vectorized: unsupported data type"

Hi, I encountered a weird problem when I was trying to use SIMD directives and AVX instructions to vectorize my loops. I wrote the following small program to illustrate this problem: Program AVX_test...

View Article


Warning # 6009, possible bug?

I don't really understand why the compiler is issuing warning #6009 to me. program inibug   implicit none   integer ,parameter :: WP = kind(1.0D0)   real(WP) ,parameter :: offsets(3) = real([0.0D0...

View Article

Fortran shared library for Python with use of OpenMP

Hello,I have a problem while making a shared library in Fortran to be loaded from Python. I've put together a minimal example to show the problem.The subroutine: subroutine sgesvf() bind(C,...

View Article


How to hide __svml_* from a shared libary?

I would like to hide __svml_exp2 and  __svml_log2 from a shared libary I build with ifort, currently the both are exposed: # nm -A libgtiusr74_dp.so | grep __svml libgtiusr74_dp.so:000af9a0 T...

View Article

problem with deferred assignment overloading

I believe the code below is "legal". However, ifort (14.0.1 20131008), with default options (i.e. "ifort -c") gives this error: ifort_reproducer_140226.f90(90): error #6197: An assignment of different...

View Article

Fortran C interoperability: Accessing constant variables (parameter) from...

Hi everybody,I've been using the Fortran-C interoperability features for some time now but always for accessing variables. I cannot figure out how to access a constant from inside a module. I have the...

View Article
Browsing all 2583 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>