diff --git a/bashscripts/runOnEciton.bash b/bashscripts/runOnEciton.bash index 0b2e80c..84882a1 100755 --- a/bashscripts/runOnEciton.bash +++ b/bashscripts/runOnEciton.bash @@ -7,4 +7,4 @@ #sed 's,\./,,g' -i dirs.txt #sed '/^[[:blank:]]*$/d' -i dirs.txt -matlab < /home/hohlochj/masterarbeit/callAll.m > /nfs/wsi/ti/messor/hohlochj/log/$(date +%y-%m-%d--%T)-all.log +matlab < /home/hohlochj/masterarbeit/usedMcode/callAll.m > /nfs/wsi/ti/messor/hohlochj/log/$(date +%y-%m-%d--%T)-all.log diff --git a/usedMcode/callAll.m b/usedMcode/callAll.m index d159cba..f37ce5f 100644 --- a/usedMcode/callAll.m +++ b/usedMcode/callAll.m @@ -15,7 +15,7 @@ poolObj=parpool(32); [subjects,numbers]=structForAllDays(pathToFile); -for i=1:size(subjects,2) +parfor i=1:size(subjects,2) subject=subjects{i}; for number=numbers{i} % fprintf('%s%i\n',subject,number);