Child pages
  • Hyak MATLAB programming

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

myCluster.JobStorageLocation = strcat('/gscratch/xyz/abc/', getenv('SLURM_JOB_ID')) ;

numcores numCores = feature('numcores');
parpool(numcoresnumCores);

parfor i=1:1000000
A(i)=i*i;
end
A
quit

...