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.
29280 Discussions

shared memory between Fortran programs

esterquest
Beginner
2,465 Views
We are trying to find a simple example of two Fortran programs, one creates a named shared memory area and the other accesses that same named shared memory area.
The opearting system would be Windows 2000, NT, or XP.

We are trying to get multiple Fortran programs to share the same area of main memory.

0 Kudos
4 Replies
gfthomas8
Novice
2,465 Views
See reply under DDE in Fortran thread.
0 Kudos
Intel_C_Intel
Employee
2,465 Views
We've done this, but I don't have a simple example in FORTRAN. I've attached a VB example you can work from though.

Hope it helps.

Dan
0 Kudos
Intel_C_Intel
Employee
2,465 Views
I had a hunt around and found some FORTRAN interface definitions you might find useful....


0 Kudos
Steven_L_Intel1
Employee
2,465 Views
An easy way to do this is with COMMON in a shared, writeable DLL. CVF provides the DLLEXP1 sample that demonstrates this.

Steve
0 Kudos
Reply