How can I use disp() command when submitting jobs to cluster running on 'R'?
조회 수: 1 (최근 30일)
이전 댓글 표시
I am running a MATLAB code on a cluster which uses something called 'R'. I submit the job using the command qsub using a .sh file. The code works fine, but I want to check the progress in real time, while the code is running. Usually when working on my PC, I use the disp() command, but that does not work when I submit jobs to a cluster.
The code inside the sh file is:
echo "Current working directory is now: " `pwd`
echo "Starting MATLAB at `date`"
matlab -nojvm -nodisplay -nosplash < my_MATLAB_script.m > output.out
echo "MATLAB run completed at `date`"
Could someone please guide me to implement this? Thank you for the help.
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 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!