How can I monitor the progress of my Matlab task while the task is submitted to cluster via batch file?

1 Ansicht (letzte 30 Tage)
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!

Antworten (0)

Kategorien

Mehr zu Big Data Processing finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by