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

Unusually long -O3 optimized compile time on specific code

Dear Intel community,below is an example program which takes unusually long time to be compiled with "-O3" optimization (up to -O2 is fine), tested with ifort versions 14.0.3 and 15.0.3. This might be...

View Article


What is the effect of violating the contiguity attribute of a dummy argument?

Hello,I am experimenting with the CONTIGUOUS attribute and I found to my surprise that passing a non-contiguous array section via a dummy argument that does have this attribute makes no difference. So...

View Article


Using the 'value' attribute

module mymod implicit none type my_t integer :: a = 3 end type my_t contains subroutine by_value(i,m) bind(c,name='BY_VAL') use iso_c_binding integer(c_int), intent(in), value :: i type(my_t),...

View Article

Printing graphics

If I have a window DC (sDC) and a printer DC (pDC), why can't I just draw into pDC the way I would a sDC? Or if I have a DIB, how di I print it? I would really like to know of any experience yoiu've...

View Article

Fortran Manuals and Interfaces

Dear Steve:A few years ago mecej4 on the MKL Forum helped me to fix - actually he fixed it and I just watched in awe, a bit like Shock and Awe in Fortran a program for the analysis of water supply...

View Article


Image may be NSFW.
Clik here to view.

Unresolved externals in release mode

My C++ / Fortran mixed language app builds fine in Debug mode, but in Release mode I get the following link errors. 1>libirc.lib(irc_msg_support.obj) : error LNK2001: unresolved external symbol...

View Article

DLL built with 2013 and VS 2010 Fails

I have a large C# Project with an embedded Fortran DLL.   I upgraded from VS 2005 and Fortran 10 to VS 2010 and Foretran 2013.  My app works ffine on the development machine, but the DLL is...

View Article

Image may be NSFW.
Clik here to view.

matmul can give wrong results when code is compiled with -O3

The following code produces the correct result when compiled with -O2 but the results can wrong with -O3.$ ifort  -O2 test_bug.F90 && ./a.out size(H,2),n           10          10 T HPH...

View Article


Wrong Path in compilers.sh

Hi all,I have struggled setting the DYLD_LIBRARY_PATH in OS X El Capitan with the las install of ifort in command line only.There seem to be a mistake in the installation directories : "/opt/intel//"...

View Article


OpenMP code with 5 or more threads gives stack overflow

Hi.I recently parallelized a program of mine using OpenMP directives using Intel's fortran compiler.  The program appears to run fine if I use 1-4 threads, but with 5 or more threads it crashes at...

View Article

Image may be NSFW.
Clik here to view.

Binary Search and Other Alternatives

Hey,I am trying to implement a lookup table based on binary search of the incoming element, and if the element doesn't exist, then pick the nearest element. The problem I am facing is that the loop in...

View Article

Compaq Visual Fortran Installation

Hi all,I own a copy of Compaq Visual Fortran (2000) and wanted to know if there was a way to install it on a Windows 10 machine. I have all of the installation disks and the key for install, but...

View Article

rc.exe not found

I have seen a number of folks having difficulty with this error and I am now a new victim.  Here is my situation - perhaps my problem is somehow related to this combination:1- Running Windows on OSx...

View Article


NaN appearing

HiI am running a program with several computations in a loop. I am getting NaN after a lot many computations. To get clean data free of NaN i made the program stop at first appearance of NaN. I got a...

View Article

PARDISO and FEAST

The old 73 Harrison Structural Analysis program written in 66 Fortran has now had the solver taken out and PARDISO put in its place.  It was an interesting task as I tried to ensure it was all in...

View Article


F77 source codes on intel

hii have old source codes in f77, written some 20 yr back. the code in its parent form gets compiled using ifort. however if any change is made or file is edited without disturbing code (say if i...

View Article

Image may be NSFW.
Clik here to view.

DISLIN

Steve:I have used DISLIN with IF, in older versions of Windows - I use the latest 10.It is quite simple to run a DISLIN program from the IFORT cmd prompt, but I really would like to use it in Visual...

View Article


Error PRJ0019: A tool returned an error code

Hi everyone!I was trying to compile my project in Visual Studio 2015 with ifortran, my version is Intel Parallel Studio 2016, but everytime I buit it I got the same error."error PRJ0019: A tool...

View Article

libirng.so: undefined symbol: __intel_avx_rep_memcpy for a mex interface

Dear all,I built the Fortran version of the sparse linear solver library MUMPS without problems. And the examples codes for the Fortran interface seems to work without problems.However I am also...

View Article

IMSL and going from visual studio 2012 to 2010

I have ported a working project from one computer with visual studio 2012 to another with visual studio 2010, and I'm getting a strange error from a routine named LSAME during an IMSL operation that is...

View Article
Browsing all 3270 articles
Browse latest View live


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