Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
"wait" option missing when using COMSOL/Matlab with a scheduler (Python)
Posted 21.01.2010, 01:09 GMT-5 1 Reply
Please login with a confirmed email address before reporting spam
I am using COMSOL/Matlab with a scheduler (Python).
For ordinary Matlab it is possible to use the wait option, e.g. matlab -nodesktop -minimize -r -wait "checkMail, exit", which tells the scheduler to wait till 'checkMail.m' is completed.
Reference: www.mathworks.com/access/helpdesk/help/techdoc/ref/matlabwindows.html
However, the "wait" option does not work for COMSOL/Matlab, e.g. C:/Programme/Comsol35a/bin/comsol.exe matlab -ml /nodesktop -ml /nosplash -ml /wait -mlr "flreport('off'), mainprogram, exit"
This holds, even though COMSOL tells, that the ordinary Matlab options can be used:
www.comsol.com/support/knowledgebase/980/
Is there any way to use the "wait" option?
I ended up writing an ASCII file and telling the scheduler to wait for this file to be written.
Contacting COMSOL support was not very helpful, at least so far.
Regards,
Andreas
Hello Andreas Kapp
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.