How can I monitor the progress of my Matlab task while the task is submitted to cluster via batch file?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Big Data Processing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!