hudon / spike

Brain Simulator Parallelization
http://nengo.ca/
1 stars 1 forks source link

Setup basic admin/client job architecture #34

Closed hudon closed 11 years ago

hudon commented 11 years ago

Admin -- C1 -- C2

Admin:

  1. setup
  2. spawn C1, C2
  3. Block on 2 receives
  4. Block until C1,C2 done

C1:

  1. setup
  2. send to admin "I'm ready"
  3. receive configuration from Admin
  4. for some time: receive() (from C2), sleep(10)
  5. send "done" to admin

C2:

  1. setup
  2. send I'm ready" to admin
  3. receive config from admin
  4. for some time: send to C1
  5. send DONE to admin