How to Run a Matlab function using .sbatch file
古いコメントを表示
Hi I am new to slurm and I am trying to run a MATLAB function (I cannot use MDCS because that apparently is not available on one of my available HPC clusters)
I think I am having trouble with understanding the appropriate notation for running a script vs a function using slurm.
These are the two pieces of code that I have seen:
matlab -nodisplay < multi_parfor.m
and...
matlab -nodesktop -r "multi_parfor.m"
I was wondering if anyone could explain how to do this, and maybe make a comment on the use for each of the above lines of code (is one for a script and one for a function? etc).
Thank you in advance
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Third-Party Cluster Configuration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!