You need to use @everywhere to have the function defined on the workers. Can we see some code?
On Saturday, May 21, 2016 at 6:33:17 PM UTC-7, SHORE SHEN wrote: > > Hi > > Im running a loop, and system shows that only 20% of CPU were used. I then > think that due to the fact that my CPU is 4 core 8 thread, parallel > computing might help on getting the full potential. > > I used addprocs() to add processes to my computer, and follow the > instructions to use remotecall. > > however, that doesnt work, only the main processors are working, others > just taking memory. > > For more, I if I use my own function, it will show errors that function > not defined on processor n. > > Please help me on allocating tasks to different processor, using the full > potential of CPU and define functions in different processors. Im new to > julia, if you can make it easy to understand, thank you. >
