Notice the PVM task ids. Using the -debug flag, we can show the workers in individual windows. Before running this program, be sure to allow the other CTC machine access to your X11 server. This capability can be useful for debugging. You will need to control-C in the window you started pneuron in to terminate the program.
Solution Create pack and unpack task functions which send two numbers as arguments.
Modify the worker task to compute the sum of those numbers and print. Note that you will need to run with the -nohalt flag so you can check what the workers are producing. Have the master sum the results and print. Then create a subdirectory pneuron . 4 hello.hoc You should see output like this .