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

Defined assignment and allocatable components

My reading of both Fortran 2003 and Fortran 2008 (7.4.1.3, page 141) is that it should call my defined assignment for the explicit one between checkpoints Bravo and Charlie as well as for the one...

View Article


How to read multiple data without changing line?

Dear all,I have a file without fixed number of data in every line. The example data are as follows:0 0 0 30 45 0.2 0.001 5 0.005 0 0 1 0 0 1 0 0 0.2 0.001 1For every line, if the eighth number is...

View Article


Calling a File (a matrix with unknown size) inside of the UEL and COMMON...

Hi everybody,I'm almost new in FORTRAN and UEL. I have two questions:1- Inside of the UEL I have to open and read a file which contain a matrix with unknown size. Without defining the size I can't open...

View Article

VALUE attribute has no value?

PROGRAM DubiousValues IMPLICIT NONE LOGICAL :: array(3) !**** array = .TRUE. PRINT "('Before:',*(L1,:,1X))", array CALL proc(array) PRINT "('After :',*(L1,:,1X))", array CONTAINS SUBROUTINE proc(arg)...

View Article

WRITE Statement

Hi all,The output of my program is a text file. The write statement is as follow:open(unit=3 , file='GI.txt') do i=1,n write(3,*) GI(i,20),GI(i,21),GI(i,22),GI(i,23),GI(i,24),GI(i,25),GI(i,3) end do...

View Article


Internal compiler error (C0000005) with Floating-Point Exception Handling

Hello, I've been reading about this error in the forums and it appears to be a bug.I am certain that it is not the code because it had been compiling just fine and I never change it. I don't even...

View Article

Module Variable Scope

If I have a DLL with module variables, is it safe to call functions that use those variables in a parallel process? I want to avoid passing the debug level and output file to all of my functions in a...

View Article

Extremely simple offload example: "Unexpected number of variable descriptors"

Hi In the extremely simple example below I never enter the offload region, but receive the runtime error message:  "Unexpected number of variable descriptors"What could possibly be the problem here? I...

View Article


FINAL binding to an ELEMENTAL procedure does not work: causes "Program...

Consider the simple program shown below:MODULE m !.. IMPLICIT NONE !.. Private by default PRIVATE TYPE, PUBLIC :: t !.. private by default PRIVATE !.. Private fields CHARACTER(LEN=:), ALLOCATABLE ::...

View Article


What is up with "Debug Error!" from Microsoft Visual C++ Runtime Library?

Does anyone know the root causes of "Debug Error!" from Microsoft Visual C++ Runtime Library that is often accompanied by a message that says "Damage before 0x0... which was allocated by aligned...

View Article

Catastrophic error when compiling

When compiling a program using the 2013 version of Intel Fortran on RedHat 5.9 I received the following error message/tmp/ifort31HZxZ.i90: catastrophic error: **Internal compiler error: segmentation...

View Article

!DIR$ OFFLOAD TARGET: Disable implicit copying of variables?

Hi I have a code that uses derived types that includes allocatables inside a region that I want to offload. In order to get the derives type onto the device I try to manually transfer the content of...

View Article

Access a C library interface from F90 using iso_c_binding

So, I am trying to access a C function from F90, with the following code:SUBROUTINE sub1() USE,INTRINSIC :: iso_c_binding ! interface to c library INTERFACE ! library function prototype ! DBfile...

View Article


error #6897

Just upgraded to Composer XE 2011 and code that compiled in IVF 9 through 11 but not fails with the error message:error #6897: An interface-block in a subprogram must not contain an interface-body for...

View Article

Trougle manipulating the Quickwin menu bar

Quickwin programs open with a default project frame having a status bar and a set of default menus. My Quickwin program opens with a splash screen, composed of a minimalist project frame in which I...

View Article


C++/Fortran: Cannot open 'ifconsol.lib' VS2013/XE 2013sp1

I recently upgraded to a new HD and re-installed all my development tools. In the past, I followed many topics answered by Steve Lionel to resolve fortran/c++ issues. I'm not sure what's wrong, but I...

View Article

Image may be NSFW.
Clik here to view.

Unexpected access violation

I am using the latest: Fortran Compiler XE 14.0.3.202The program I am working on has started unexpectedly crashing when compiled in optimized release mode.  However, when compiled in debug mode, there...

View Article


Intel Fortran fails to recognize the PRIVATE attribute of a type-bound...

Consider the following simple example:MODULE b IMPLICIT NONE !.. Private by default PRIVATE TYPE, ABSTRACT, PUBLIC :: A_t !.. PRIVATE !.. Private fields INTEGER :: m_A CONTAINS !.. Private by default...

View Article

Deallocated pointers still have old shape specifications

I found it odd that deallocated pointers still have their shape information, even though "associated" returns .false. I suppose I expected to get an error, or at least zeroes. Is there a good reason...

View Article

Image may be NSFW.
Clik here to view.

error #6633: The type of the actual argument differs from the type of the...

I am new to programming with Intel Fortran so I think there is something missing or wrongly organized that I am not aware of in this case. I would be grateful if someone can help me in this regard.The...

View Article
Browsing all 3270 articles
Browse latest View live


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