Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28494 Discussions

shared memory between Fortran programs

esterquest
Beginner
1,227 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
1,227 Views
See reply under DDE in Fortran thread.
0 Kudos
Intel_C_Intel
Employee
1,227 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
1,227 Views
I had a hunt around and found some FORTRAN interface definitions you might find useful....


0 Kudos
Steven_L_Intel1
Employee
1,227 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