How can I monitor the progress of my Matlab task while the task is submitted to cluster via batch file?
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I have a question about running matlab script via batch file. I have some disp() command in for loop so as to show the progress (how much percentage was completed) while the sript is run via GUI. But how is it possible for me to keep this function or other alternatives to monitor the task progress when I submit the script to the cluster via batch file?
Following is my batch file:
#!/bin/sh
#BSUB -q sky-ib
#BSUB -J Matlab_forcing
#BSUB -eo MatJob.err
#BSUB -oo MatJob.out
. etc/profile
module unload
module add matlab/2018a
cd /gpfs/home/ctd16ynu/scratch/
matlab -nodispaly -nojvm -nodesktop -nosplash -r calculate_forcing2
Many thanks!
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Big Data Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!