You should look at something like MPI. To my knowledge, modern operating systems are not going to offer you much support in the way of two programs accessing one another's memory. You can find some good resources about MPI here:
http://www.mcs.anl.gov/research/projects/mpi/
Also:
http://www.open-mpi.org/
Additionally, the Intel Compiler (for both C++ / Fortran) support OpenMPI.
This is not really a threading problem but I assume the most appropriate place to ask this question. Can anyone offer advice on how to pass data between two independent programs where one feeds data for the other to use as input. I have seen $shared_common statement in HP which puts the common block in shared memory and wondered this existed within intel.
For example I need to do the the following
Program A sets values
Program B takes values (from A using some form of shared memory between the two programs) performs calculations sets new values for input into program A for x time steps.
These two programs are independent of each other and run independently. My research requires they pass data to each other by some linkage.
Thank you in advance for your help.
Desi
Intel Software Network Forums Statistics
8491 users have contributed to 31629 threads and 100769 posts to date.
In the past 24 hours, we have 28 new thread(s) 129 new posts(s), and 184 new user(s).