How can i communicate the shared memory with the parallel computing toolbox?

5 Ansichten (letzte 30 Tage)
I am new to this shared memory concepts. I am not that much familiar with PCT also. kindly Give answers. two functions named Function send and function answer both are sharing the data between them but the problem is both are executed by opening the files in separate command window.Refer to this link i have obtained the shared memory concepts. https://in.mathworks.com/help/matlab/import_export/share-memory-between-applications.html
So that i thought to communicate both files in parpool.How to communicate between the two mfiles using parallel computing toolbox which is already sharing data between them?
  4 Kommentare
Walter Roberson
Walter Roberson am 12 Mär. 2018
You should change
spmd
to
spmd(poolsize)
I am not sure why your first_run flag is there?
DhanaLakshmiR
DhanaLakshmiR am 13 Mär. 2018
No use of first_run flag here. I have changed spmd(poolsize).The pool is started but there is no sharing of data. How to share the data using the parallel pool to the shared memory programs.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Asynchronous Parallel Programming finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by