Quantcast
Channel: Intel® Fortran Compiler
Browsing all 3270 articles
Browse latest View live

DIV by 0.0, vectorization and optimization

It is not unusual for physics simulation programs to use unit vectors. Physics simulation programs tend to have large sets of data and can benefit significantly through vectorization.In these types of...

View Article


finding the dll to EXECUTE_COMMAND_LINE

I just am trying to use EXECUTE_COMMAND_LINE to replace non-standard system calls.   When I run my executable, I get an error that the function _execute_command_line is not found in the dll...

View Article


WRITE(*,'(X,A)') my_text

Intel Fortran has a (very) nifty language extension that allows an edit descriptor to be an integer expression, using the < > brackets has shown in the subject line above. But is there a standard...

View Article

Errors in getting results

Does anyone of you can help me please? I am very new to the FORTRAN and never used it before. I am using Visual Studio 2012 and I think it already has FORTRAN compiler inside the Visual Studio. Every...

View Article

Anything not standard conforming in following code?

I am puzzled by a difference in behavior between the Intel compiler and the Cray compiler on the example below.PROGRAM TEST_STRING_FUNCTION IMPLICIT NONE CHARACTER(LEN=:),ALLOCATABLE :: S CALL SUB(...

View Article


Error in writing strings

Hi all,I get a "forrtl: severe (66): output statement overflows record, unit -5" in this code, which tries to write a matrix to a CSV file with ";" separator: CHARACTER(255) kterm,scrK REAL*8...

View Article

Image may be NSFW.
Clik here to view.

Compilation aborted code 1 in a fortran program

Hi, I am a student, new in fortran, and my tutor left me a fortran program to study.There is always a message:"Compilation aborted (code 1)" when I try to run it, and it is the only error. I don't know...

View Article

Is fstack-protector-all supported on MIC?

I'm debugging a crash in my Fortran code, and would like to try stack protection.Is fstack-protector-all supported on the MIC platform?  When I build with -mic -fstack-protector-all the executable...

View Article


Derived Type Variables

The % sign separates the components of a derived type variable. For example: ! The following the syntax given in the language reference. george%age = 56 george%height = 6.0 But I see some examples...

View Article


Non-scalar pass-object dummy arguments

Hi,I am trying to use type-bound procedures (TBP) with non-scalar pass-object dummy arguments. Although not valid from the standard (C461: "The passed-object dummy argument shall be a scalar,...

View Article

Problem with IMSL serial number

Hi,I bough the Intel IMSL Fortran Numerical Library, but when I install it a error message appears after I enter the serial number, as if it were an invalid serial number. How could this be fixed? The...

View Article

Headache free C-Fortran interface under 11+

I'm in charge of a rather large C-Fortran interface for our codes that has recently run afoul of the extra strictness included in 11+."error #8532: A character dummy argument with length other than 1...

View Article

value being NaN and (+-)infinity in fortran

Hi there,I'm running my abaqus .inp file with UMAT( modified by fortran). Due to some errors, the job can not complete successfully. After using write(*,*) to output some variables I've defined. I've...

View Article


Image may be NSFW.
Clik here to view.

Undefined pointer/array *not crashing*

Hello everyone,I'm having issues with this sample of codesubroutine tri_2D(vect) real(kind=DP), dimension(:,:),pointer :: vect integer :: n, n1, n2 real(kind=DP), dimension(:), allocatable :: STOCK1,...

View Article

optimization help/vectorization/SIMD questions

Hi,Consider the following code snippet:  do i = 1, size(rhs,dim=2) if (n == biggest_int) exit !Overflow! n1 = n n = n + 1 n1on = real(n1,WP)/real(n,WP) ! Add SIMD dir? !!!!DIR$ SIMD PRIVATE(p,k) do...

View Article


Line of sight for compiler allowing mixed coarray/OpenMP use?

I am wondering if we could have an estimate of when Intel will release a compiler that allows mixed coarray/OpenMP usage. It is still not possible in version 15. Thanks! 

View Article

"Stack trace terminated abnormally": what does this mean?

Hi,running a code compiled with -check all I see various warnings concerning the creation of some temporaries (I know about them and I am fine with them) and somehow interspersed in the ouput various...

View Article


compiler unable to find module and symbols

Hello,I can compile my sources on Linux with the ifort compiler without any problems. However, when I use the same Makefile or when I use the Visual Studio IDE with  Visual Fortran Compiler XE...

View Article

How to enforce inlining ?

Hi,My code involves a derived-type variable (denoted 'Object' hereafter) holding another derived-type variable as a component (denoted 'SubObject').The SubObject has a type-bound procedure for...

View Article

Image may be NSFW.
Clik here to view.

size of undefined allocatable array different than zero !

Hello !I've been working on migrating old Compaq projects to Intel Visual Fortran. I'm hitting some problems and I can't find any solution on this forum. Please help me.First, I have to mention that...

View Article
Browsing all 3270 articles
Browse latest View live


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