User Tools

Site Tools


howto:tipsandtricks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
howto:tipsandtricks [2019/04/16 08:49]
ccrosby [Please slow down and work methodically]
howto:tipsandtricks [2019/05/22 10:26] (current)
ccrosby [Running software with GUI's]
Line 73: Line 73:
 ===== Running software with GUI's ===== ===== Running software with GUI's =====
 The usual ssh-session and interactive PBS sessions do not by default support any graphics. ​ If you need to run a software package with a GUI (many pre-processors,​ for example), you need a session with graphics capability. ​ There are two ways of getting this: The usual ssh-session and interactive PBS sessions do not by default support any graphics. ​ If you need to run a software package with a GUI (many pre-processors,​ for example), you need a session with graphics capability. ​ There are two ways of getting this:
-  - Use a VNC session to connect to one of the two visualization nodes, as per the instructions on [[howto:​remote_viz|Remote visualization]].+  - Use a VNC session to connect to one of the two visualization nodes, as per the instructions on [[howto:​remote_viz|Remote visualization]].  Keep in mind that it is possible and practical to get a VNC session directly on a compute node, without using one of the dedicated visualization nodes.
   - Use X-forwarding. ​ This is only a realistic option if you are on a fast connection to the CHPC.  ssh -X into lengau, then ssh -X from there to your compute node that you already have interactive PBS session on (see above). ​ Thanks to the wonders of Mesa and software rendering, quite sophisticated graphics processing may be done this way.  Look for the Mesa modules if you need OpenGL-capable software to run in this manner.   - Use X-forwarding. ​ This is only a realistic option if you are on a fast connection to the CHPC.  ssh -X into lengau, then ssh -X from there to your compute node that you already have interactive PBS session on (see above). ​ Thanks to the wonders of Mesa and software rendering, quite sophisticated graphics processing may be done this way.  Look for the Mesa modules if you need OpenGL-capable software to run in this manner.
   - You can also get an X-capable interactive PBS session by appending ''​ -X ''​ to your ''​qsub -I ''​ instruction. ​ This will only work if your ssh-session into the login node has X-forwarding turned on, that is, ''​ssh -X user@lengau.chpc.ac.za''​ or ''​ssh -Y user@lengau.chpc.ac.za''​   - You can also get an X-capable interactive PBS session by appending ''​ -X ''​ to your ''​qsub -I ''​ instruction. ​ This will only work if your ssh-session into the login node has X-forwarding turned on, that is, ''​ssh -X user@lengau.chpc.ac.za''​ or ''​ssh -Y user@lengau.chpc.ac.za''​
/var/www/wiki/data/pages/howto/tipsandtricks.txt · Last modified: 2019/05/22 10:26 by ccrosby