Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
close all
% Explore the data in a .nc file
ExploreData
% Display memory usage
MainMemory
% Set a couple of variables to be used later
samples =[5000,7500 ,10000] ;
numofworkers = [1,2,3,4,5,6,7,8] ;
numofhours = 3 ;
lenoflist2 = length(numofworkers);
lenoflist = length(samples);
% A nested for loop to process the data parallelly and sequentially
% Test for Nan and text error inside the processing step
for kidx = 1 : lenoflist
samplesize = samples(kidx) ;
for jidx = 1 : lenoflist2
fprintf("Parallel Processing Total data of : %i , Number of Workers : %i , Num of Hours : %i \n" ,samplesize , numofworkers(jidx),numofhours )
numofworkerss = numofworkers(jidx) ;
SequentialProcessing(samplesize)
ParallelProcessing(numofworkerss,samplesize , numofhours)
end
end