Intel® Fortran Compiler

Nested thread parallelism in Python and Fortran

The purpose of this example is to find out how a program behaves when both the upper layer (Python) and the lower layer (Fortran) use their threading capabilities.

The Python3 caller script launches 2 concurrent instances of the same Fortran routine using the Thread class.

The Fortran callee is OpenMP parallel with OMP_NUM_THREADS set to 4.

using CVF obj files with IVF: dfor.lib problem

The use of object files compiled with Compaq Visual Fortran often yields a dfor.lib error.  While the IVF software has a "help" capability - it recommends that one recompile the CVF object 'without explicit reference to dfor.lib' (not helpful, since I cannot do that).

The IVF composer Help utility was not helpful, and a www search led to this site- which also had only cryptic replies, none of which could be implemented.  (we don't own the CVF source code, merely the object file)

Segment Fault Error when Linking to Dynamic Library in Linux

Hello!

I am attempting to interface an old Fortan77 code to a newer code base written in Fortran90 by linking as a dynamic library.  I have been able to succefully compile and link using Fortran 10.6.3 in OSX (Yosemite 10.10.5), and the code runs without error.  Also, one of my associates has been able to compile, link, and run without errors in Windows7 using a DLL. However, in Linux (Elementary OS-64bit, Ubuntu variant) using Fortan 17.0.1, I encouter a segmentation fault error when the linked code is executed.

Windows10 + Fortran + OpenGL + GDI

I've an 25 years old Fortran app running nicely under Windows 7 and Classic mode and complied and linked under Visual Studio 2010. 

Now I make a new project under Visual Studio 2015 and it compiles and links nicely under Win32 but during running the follwing happens:

  • All GDI graphics appears as it should
  • All OpenGL call run without any crash and they seem to consume computer time but nothing is rendered on the screen

My PixelFormatDescriptor is the one I've always used under Windows 7

could a trailing comma be an alternate continuation character?

I nominate this.

In my long lines where the "&" continuation is needed, I try to choose a logical break point and notice that it usually falls immediately after a comma. e.g. in a long list of variables in a read/write or declaration statement, and others.  "Belt and suspenders!" I think. Why can't the comma alone suffice?

Subscribe to Intel® Fortran Compiler