Difference between revisions of "Comsol/Interactive"

From ScientificComputing
Jump to: navigation, search
(Created page with "You can start the graphical user interface (GUI) of COMSOL on one of the login nodes of Euler. This can be useful to change your COMSOL preferences or to prepare a model or ch...")
 
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
You can start the graphical user interface (GUI) of COMSOL on one of the login nodes of Euler. This can be useful to change your COMSOL preferences or to prepare a model or check the result of a COMSOL job.
+
You can start the graphical user interface (GUI) of COMSOL in a [[X11_forwarding_batch_interactive_jobs|batch interactive job with X11 forwarding]]. This can be useful to change your COMSOL preferences or to prepare a model or check the result of a COMSOL job. Please follow the description from the wiki page about [[X11_forwarding_batch_interactive_jobs|batch interactive jobs with X11 forwarding]] to start an interactive job.
  
===Starting the GUI===
+
Afterwards, you can load one of the COMSOL modules
In order to start the GUI of COMSOL on a login node, you first need to establish an SSH connection with X11 forwarding enabled.
 
  
ssh -Y username@''hostname''
+
  module load comsol/5.2
 
 
With '''username''' being your [[NETHZ]] username. Afterwards, you can load one of the COMSOL modules
 
 
 
  module load comsol/5.1
 
  
 
and finally start the GUI with the <tt>comsol</tt> command.
 
and finally start the GUI with the <tt>comsol</tt> command.
  
comsol
+
  comsol -np 1
 
 
===Problems with the COMSOL 5.2 GUI===
 
 
 
We noticed, that in some cases, the COMSOL 5.2 GUI updates very slowly when staring it on Euler or sometimes it even crashes. If you experience this kind of problem, then you can try to start the COMSOL GUI with the following option:
 
 
 
  comsol -3drend sw
 
  
If the problem still persists, the reason could be that you are on a login node, which is overloaded. We recommend in this case to log out and log in to the cluster again.
+
If the COMSOL GUI runs slow through X11, then please have a look at the troubleshooting section of this wiki page. '''Don't start the COMSOL GUI on a login node''', as login nodes only have few resources and are shared by many users.

Latest revision as of 06:05, 23 April 2021

You can start the graphical user interface (GUI) of COMSOL in a batch interactive job with X11 forwarding. This can be useful to change your COMSOL preferences or to prepare a model or check the result of a COMSOL job. Please follow the description from the wiki page about batch interactive jobs with X11 forwarding to start an interactive job.

Afterwards, you can load one of the COMSOL modules

module load comsol/5.2

and finally start the GUI with the comsol command.

comsol -np 1

If the COMSOL GUI runs slow through X11, then please have a look at the troubleshooting section of this wiki page. Don't start the COMSOL GUI on a login node, as login nodes only have few resources and are shared by many users.