Simulink on the Cluster?
| Autor | Nachricht |
|---|---|
|
Verfasst am: 23. 12. 2011 [12:27]
|
|
|
hhoffmann
Holger Hoffmann
Themenersteller
Dabei seit: 21.12.2011
Beiträge: 26
|
Is there a workaround in order to execute simulink models (.mdl) on the Cluster? The license is there, but straight "sim" command obviously fails (no graphics)... Thx & whishing a merry x-mas, Holger |
|
Verfasst am: 09. 01. 2012 [10:17]
|
|
|
cochrane
Paul Cochrane
Dabei seit: 14.09.2010
Beiträge: 139
|
Hi Holger, apologies again for the late answer! The maintenance and the Xmas/New Year period has caused a couple of delays... It sounds as if your Simulink model needs graphics in order to run. Unfortunately there is no graphics output on the cluster (the nodes don't have a montior and in most cases not even a graphics card!). Were you trying to run the model from a batch job or interactively from one of the login nodes? If you were trying to run the model from a login node, were you running your session over an X-Windows connection? If you use Linux then you should have been running X-Windows by default, but if you use Windows you would have to use NX (http://www.rrzn.uni-hannover.de/cluster-zugang.html#c15446) or X-Win32 (http://www.rrzn.uni-hannover.de/cluster-zugang.html#c12246) so that you are able to see graphical windows from the cluster system. If you want to run your Simulink models non-interactively on the cluster you will have to remove/comment out all graphics-related code in your Simulink model. There is possibly a switch to Simulink/Matlab which says "ignore graphics output" but I'm not aware of this for Simulink. Has anyone else had this kind or problem before or have any recommendations as to a solution? Hope this helped at least a bit! Cheers, Paul |
|
Verfasst am: 10. 01. 2012 [12:07]
|
|
|
hhoffmann
Holger Hoffmann
Themenersteller
Dabei seit: 21.12.2011
Beiträge: 26
|
Hi Paul, thx for the info. Previously I tried to run Matlab/Simulink from a batch file: "If you were trying to run the model from a login node, were you running your session over an X-Windows connection?" ==>I´m not quite sure wether I got this right - I was using only Windows 7/PuTTY/connection from the institute bzw. university. "if you use Windows you would have to use NX" ==> I´m trying NX now, but it is as fast as: If I had a dollar for every operation in a day I would have a dollar... Seriously - Is there a way to speed this up? (Each click takes about 3 minutes... ' ')Would X-Win32 be faster? Does this has sth. to do with using a W7-64bit version? "There is possibly a switch to Simulink/Matlab which says "ignore graphics output" but I'm not aware of this for Simulink" ==> Sure this would be the best way - still cant find it... Cheers, Holger [Dieser Beitrag wurde 4mal bearbeitet, zuletzt am 10.01.2012 um 12:09.] |
|
Verfasst am: 10. 01. 2012 [12:28]
|
|
|
cochrane
Paul Cochrane
Dabei seit: 14.09.2010
Beiträge: 139
|
Hi Holger, "hhoffmann" schrieb: "if you use Windows you would have to use NX" ==> I´m trying NX now, but it is as fast as: If I had a dollar for every operation in a day I would have a dollar... Seriously - Is there a way to speed this up? (Each click takes about 3 minutes... ' ')actually NX should be *much* faster than XWin32. It's odd that it's so slow for you; one should be able to use NX without problems in an internet cafe in New Zealand.... Try using ISDN or lower in the "General" configuration tab, this should speed things up. Inside the uni you really shouldn't have any speed issues. XWin32 should also run nicely inside the uni network. "hhoffmann" schrieb: "There is possibly a switch to Simulink/Matlab which says "ignore graphics output" but I'm not aware of this for Simulink" ==> Sure this would be the best way - still cant find it... Ok, thanks for the info. We'll keep looking too. Cheers, Paul |
|
Verfasst am: 10. 01. 2012 [13:07]
|
|
|
hhoffmann
Holger Hoffmann
Themenersteller
Dabei seit: 21.12.2011
Beiträge: 26
|
Hi, I found it, it is actually a KDE-with-W7 64bit special issue: http://www.nomachine.com/tr/view.php?id=TR01H02312 Just disable "direct drawing" in advanced settings. Ok, NX works and I´ll check for Simulink later. Thx, Holger |
|
Verfasst am: 10. 01. 2012 [14:02]
|
|
|
cochrane
Paul Cochrane
Dabei seit: 14.09.2010
Beiträge: 139
|
Hi Holger, I think the 'sim' command is what you need: http://www.mathworks.de/help/toolbox/simulink/slref/sim.html? Cheers, Paul |
|
Verfasst am: 10. 01. 2012 [14:11]
|
|
|
hhoffmann
Holger Hoffmann
Themenersteller
Dabei seit: 21.12.2011
Beiträge: 26
|
Hi Paul, it works perfectly now. I had the sim command anyway, but on my machine it actually opens simulink in a GUI and then runs it as batch. Therefore when running the sim-command on the cluster the following message appears: ----------------------------------------------------------- Warning: No display specified. You will not be able to display graphics on the screen. < M A T L A B (R) > Copyright 1984-2011 The MathWorks, Inc. R2011b (7.13.0.564) 64-bit (glnxa64) August 13, 2011 To get started, type one of these: helpwin, helpdesk, or demo.For product information, visit www.mathworks.com. ----------------------------------------------------------- With NX now it still shows the message, but the results are there Thx again! Great! |


')