Intel® Fortran Compiler

Оптимизировали, оптимизировали, да не выоптимизировали!

Оптимизация? Конечно, каждый сталкивался с данной задачей при разработке своих, сколь-нибудь значительных, требующих определённых вычислений, приложений. При этом способов оптимизировать код существует огромное множество, и, как следствие, различных путей сделать это в автоматическом режиме с помощью опций компилятора. Вот здесь и возникает проблема – как выбрать то, что нужно нам и не запутаться?

Speeding up execution of REAL*16 programs

Hi Intel, Anyone,

I've been running an application in extended precision (REAL*16) for more years than I like to count and, finally, the time has come when I need it to execute faster. My impression is that all I can do is reduce, as far as possible, the number of extended precision multiply and divide operations. (This is what VTune tells me is what is taking the most time.) I can certainly do this, but is there more I should know?

Quickwin SETWINDOWCONFIG: unable to use QWIN$EXTENDFONT_OEM_CHARSET

I'm trying to get linedraw characters. The documentation states

"Using QWIN$EXTENDFONT_OEM_CHARSET with the font name 'MS LineDraw'C will get the old DOS-style character set with symbols that can be used to draw lines and boxes."

But it gives no instruction or example on how to use it. What I am trying is

Details on VF2013 Update 5 Fix (DPD200256609)

I was wondering if someone could post more details on the item fixed in Visual Fortran 2013 Update 5? 

The issue is: DPD200256609 and the title is: "Different answers with optimization and debug"

We use Fortran as a core part of our system and I was wondering what would cause these differences so that we can recommend our team updating to Update 5. 

Thank you!

When will new F2008 arrive

Hi

I'm just wondering about if the following F08 features are planned for the next (non-update) release:

 - SUBMODULEs

 - Derived types with ALLOCATABLE components of RECURSIVE type

with SUBMODULEs taking the pole position on my wish list (since PDTs happened) :)

I read in some other post that new features don't appear in updates, does that imply that we'll have to wait for version 16 (which I guess is due late in 2015) or could they come in 15.1, say?

Using Fortran dll in VBA of Excel 2010

Hello every one,

I am trying to use Fortran dll in VBA of Excel 2010, but I have a problem now.
I want to get virtual array as returned value, but failed. Here is my code,

* fortran 11

subroutine virtualArrayTest(iv_array,ii)
!DEC$ ATTRIBUTES STDCALL,REFERENCE,DLLEXPORT,ALIAS:"virtualArrayTest"::virtualArrayTest
implicit none
  integer,intent(out):: ii
  integer,allocatable,intent(out) :: iv_array(:)
  
  ii = 3
  allocate(iv_array(3))
  iv_array = 9

  return
end subroutine

 

Parameterized derived type and array-valued function returning component data: strange compiler behavior

Another strange one with parameterized derived types: the following simple code results in a compiler error,  incorrectly in my opinion.  But simply uncommenting the unrelated lines 17-26 makes the code compile ok:

Parameterized derived type and array-valued function returning component data: strange run-time behavior

Another strange one with parameterized derived types: the following code compiles with no errors or warnings, but I can't understand the run-time behavior.  With Release configuration, the array-valued function only returns the elements per the default length.  However with Debug configuration, it appears the run-time hangs up (is the function is trying to return an array of infinite (or very large) size?).  I think the code is ok.

Multi core processors

I am running Windows 7 x64 on a server with a Haswell E5-1630v3 4 core processor. I am writing in Fortran 95 and using a recently purchased Intel x64 compiler. I have some questions:

1.  Should hyperthreading be on or off for best execution performance with a processing applications.

2.  Is there a compiler option to use all 4 cores when executing the application.

3.  I assume that the /QxHost compiler option will generate AVX-2 code.

 

Suscribirse a Intel® Fortran Compiler