Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
faq:how_do_i_avoid_having_to_allocate_n_copies_of_my_data_if_i_want_to_execute_n_jobs [2011/08/08 17:39]
eelke
faq:how_do_i_avoid_having_to_allocate_n_copies_of_my_data_if_i_want_to_execute_n_jobs [2017/08/17 11:21] (current)
Line 1: Line 1:
-====== How do I avoid having to allocate N copies of my data if I want to execute N jobs? ======+{{tag>​faq peer}} 
 + 
 +===== How do I avoid having to allocate N copies of my data if I want to execute N jobs? =====
  
 When using [[reference:​peercellfun|peercellfun]],​ you need to provide the arguments to your function as cell arrays. Each cell array should have one element per job that you want to execute. This can be problematic if you need to provide the same large array (e.g., electrophysiological data) as input to each of your jobs, since this can require impossible amounts of memory. When using [[reference:​peercellfun|peercellfun]],​ you need to provide the arguments to your function as cell arrays. Each cell array should have one element per job that you want to execute. This can be problematic if you need to provide the same large array (e.g., electrophysiological data) as input to each of your jobs, since this can require impossible amounts of memory.