Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

DLLs with coarrays

Piotr_G_1
Beginner
423 Views

Hi,

 

I want to refresh the issue that was posted in 2012 about using DLLs with coarrays:

 

No - sorry. The whole concept of coarrays is that it is whole-program oriented. If the executable is not written as a coarray application, you can't use coarrays. The standards committee recognizes that this is a limitation and is working on a proposal that would allow for libraries to use coarrays, but that's a long way off. The main issue as far as our implementation goes is that there is some "launch" code that needs to be executed when the program starts and an mpiexec call made on the program's behalf to run the whole program under the control of MPI.

 

Is there any improvement in new Intel Visual Fortran versions about using DLLs with co-arrays, if the executable is not written as a coarray application?

 

Thanks,

Piotr

0 Kudos
1 Reply
Steven_L_Intel1
Employee
423 Views

Not so far. While Fortran 2015 will include the concept of "teams" of images, so that library code can partition work, there's nothing that would allow the main program to remain unaware of coarrays.

0 Kudos
Reply