Intel® Fortran Compiler

Integration of psxe 2016 in VS2010

I am trying to use the 2016 compiler in VS 2010. Everything looks fine, it knows about the Fortran, and I can open the sample 'Hello world' project. However, when I try to compile the source file with right-click/compile I get a 'The operation could not be completed' error message. Further, if I right-click on any item e.g. the source file in the Solution Explorer tree end select 'Properties',  I get 'Class not registered. Looking for object with CLSID: {F0F74B93-6F3C-4212-897A-DF6A62B91A8AJ}.

Fortran compiler doesn't create an exe file

Hello,

I installed the Intel Fortran Compiler and Microsoft Visual Studio, both in their latest version. I am having an issue with building my test program. The builder runs and says it has been successful but no .exe file was created and I am unable to run the program (I get a message saying that no .exe file can be found) 

I feel like there is something simple I am not doing. 

Any advice?

 

Thanks,

Erez

Declaring size of array using non-parameters

Hello,

I am working on Intel Visual Fortran 11.1 and have a question on declaring an array in a subroutine by defining the size of the array using an argument. The argument can vary each time the subroutine is called, and the compiler does not provide an error, nor a warning.

program main
call suppre(5)
call suppre(6)
stop
end

subroutine suppre(ivar)
integer ivar
real, dimension(ivar) :: array

end subroutine

My question: What are the drawbacks of this practice?

Memory leak in pointer

Dear All:

I am trying to understand using pointer locally in fortran subroutine. That's why i wrote a simple code, where subroutine is called several times, to find out list of odd numbers from a given rang. Basically i used a linked list to save odd numbers and then copied linked list to output of subroutine(I know there are a lot of   ways to do this job but that is not concern right now, rather i would like to understand memory leak issue). My code contains some memory leak issues. Would somebody help to figure out the problem?.

INTERFACE Needed to Communicate from Fortran to C Subroutine w/ 'typedef struct'

All,

Been working for a while having 'fun' trying to port the General Polygon Clipper (GPC) Library from C to Fortran but decided it may be easier to just to call the 2-3 GPC 'C' routines I need from my Fortran code. All the polygon info is contained in 'typedef struct's in the C code which are as follows:

*********************************************************************************

internal compiler error, ifort 16.0

The source file below produces upon compilation with ifort 16.0.0 20150815 on two slightly different parallel sandy bridge systems with

ifort -r8  -O2  -c compilererror.f90

catastrophic error: **Internal compiler error: segmentation violation signal raised** Please report this error along with the circumstances in which it occurred in a Software Problem Report.  Note: File and line given may not be explicit cause of this error.
compilation aborted for compilererror.f90 (code 1)

Compilation error #6355: This binary operation is invalid for this data type.

Hello,

Again, my environment:

$ ifort --version
ifort (IFORT) 16.0.1 20151021
Copyright (C) 1985-2015 Intel Corporation.  All rights reserved.

$ uname -a
Linux tfe03 2.6.32-431.29.2.el6.x86_64 #1 SMP Sun Jul 27 15:55:46 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux

I believe the linux is a flavour of Red Hat (RHEL6 I think).

Intel® Fortran Compiler abonnieren