Back to library index.

Package mpy1 (in mpy1.i) - mpy version 1 support for backward compatibility

Index of documented functions or symbols:

mp_bcast

DOCUMENT mp_bcast
***obsolete mpy1 function*** (see mp_handout)

mp_from

DOCUMENT mp_from
***obsolete mpy1 function*** (see mp_probe)

mp_partition

DOCUMENT ntasks= mp_partition(njobs, ntrips)
      or ntasks= mp_partition(njobs, ntrips, master_works)
      ***obsolete mpy1 function***

SEE ALSO: mp_pool, mp_prange

mp_pool

DOCUMENT mp_pool, n_tasks, sow, work, reap, work0
      or mp_pool, n_tasks, sow, work, reap

***obsolete mpy1 pool of tasks***

func SOW
  mp_send, to, , , ..., 
  

func WORK
  input1= mp_recv(dimsi1)
  input2= mp_recv(dimsi2)
  ...
  inputQ= mp_recv(dimsiQ)
  
  mp_send, 0, , , ..., 
  

func REAP
  if (m==1) {
    result1= mp_recv(dimsr1)
    
  } else if (m==2) {
    result2= mp_recv(dimsr2)
    
  } else ...
  } else if (m==R) {
    resultR= mp_recv(dimsrR)
    
  }
  return (m==R)

func WORK0
  
  

SEE ALSO: mp_task, mp_partition, mp_prange

mp_prange

DOCUMENT range= mp_prange(i, ntasks, njobs)
  ***obsolete mpy1 function***

SEE ALSO: mp_pool, mp_partition

mp_recv1

DOCUMENT mp_recv1
***implements obsolete mpy1 mp_recv API***

mp_start

DOCUMENT mp_start
***obsolete mpy1 function***

mp_task

DOCUMENT mp_task
***obsolete mpy1 function***