Borrar filtros
Borrar filtros

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

4 visualizaciones (últimos 30 días)
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!

Respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by