User Tools

Site Tools


howto:visit

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howto:visit [2015/06/10 14:17]
ccrosby
howto:visit [2018/12/18 16:05]
ccrosby [Running VisIt]
Line 1: Line 1:
 ====== Running VisIt ====== ====== Running VisIt ======
-VisIt has been installed ​in the directory ''/​opt/​gridware/​non-supported/​VisIt''​. ​ Please refer to the [[https://​wci.llnl.gov/​simulation/​computer-codes/​visit/​|VisIt web site]] for more information ​on VisIt. ​ For interactive graphics, an OpenGL-enabled environment will be required, therefore refer to the page on [[howto:remote_viz|Remote Visualization]] for instructions on setting up a connection to the visualization node, and running VisIt with the VirtualGL wrapper. VisIt is an extremely versatile post-processor,​ and can be used as the primary visualization tool for a very wide range of applications and file formats. ​+There are three versions of VisIt installed on Lengau: 
 +    ​
  
-When running VisIt on the visualization node viz01, please note that there appears to be an incompatibility between VisIt and the default gnome-session window manager used by TurboVNC. ​ The work-around for this involves rather using the far more primitive TWM window manager, which happens to be used by the default VNC server. ​ The process to be followed is therefore to initiate a VNC server session using the default VNC server, which should generate an appropriate ''​.vnc/​xstartup''​ file which can then be copied to ''​.vnc/​xstartup.turbovnc''​. ​ Kill the VNC server session, then start a TurboVNC server, and it should start up with an old-fashioned looking interface, which is compatible with VisIt. ​ To summarise: 
  
-  - start a system VNCserver + 
-  - stop the system VNCserver +  - Visit-2.10.2 is installed in ''/​apps/​chpc/​compmech/​CFD/​VisIt/​visit2.10.2/​src/​bin''  ​ 
-  ​start a TurboVNC server +  - Visit-2.12.3 is installed in ''/​apps/​chpc/​compmech/​visit2_12_3.linux-x86_64''​ 
-  - stop the TurboVNC server +  - Visit-2.13.3 is installed in ''/​apps/​chpc/​compmech/​visit2_13_3/visit2_13_3.linux-x86_64''​ (non-mesa) and ''/​apps/​chpc/​compmech/visit2_13_3.linux-x86_64''​ (with mesa) 
-  - cp .vnc/xstartup ​.vnc/xstartup.turbovnc + 
-  - start a TurboVNC server +All three versions are available as modules. ​ Use the command ''​module avail''​ to find it.   ​Please refer to the [[https://​wci.llnl.gov/​simulation/​computer-codes/​visit/​|VisIt web site]] for more information on VisIt. ​ For interactive graphics, an OpenGL-enabled environment will be required, therefore refer to the page on [[howto:​remote_viz|Remote Visualization]] for instructions on setting up a connection to the visualization node, and running VisIt with the VirtualGL wrapper. VisIt is an extremely versatile post-processor,​ and can be used as the primary visualization tool for very wide range of applications and file formats. ​ 
-  ​- ​connect ​to it with a TurboVNC client + 
-  - Open a terminal, and type the command ''​. /opt/gridware/non-supported/VisIt/setVisIt'' ​to set up a suitable environment for visit+===== Running VisIt on a visualization node ===== 
-  - In the terminaltype the command ​''​vglrun visit'', ​which will launch VisIt within ​the required VirtualGL wrapper.+It is possible to run a VisIt client on your local workstation,​ with the data and render processing happening on a cluster node.  However, is is easier to use one of the visualization nodes (chpclic1 or chpcviz1) to run the interface. ​ In order to do this, load the module ''​chpc/​compmech/​VisIt/​2.12.3-VNC''​, and start VisIt with the command ​''​vglrun visit''​. ​ This will get you a serial version of VisIt, which is adequate for processing smaller data sets.  
 + 
 +==== VisIt on a viz node with the compute engine on a compute node ==== 
 +In order to visualize large data sets effectively,​ add one or more compute nodes. For VisIt to be able to start the remote compute engine on a compute node, three modules need to be loaded by default, which is most easily achieved by inserting these three lines in your ~/,bashrc file: 
 +<​code>​ 
 +module load gcc/6.1.0 
 +module load chpc/compmech/​mpich/​3.2/​gcc-6.2.0 
 +module load chpc/compmech/mesa/​17.0.1 
 +</​code>​ 
 + 
 + 
 +However, the mesa module will clash with the VNC implementation of VisIt, therefore you will need to unload it in your VNC session before starting VisIt
 + 
 +Now start VisIt in your VNC-session,​ as per usual. ​ To get access to a full compute node, start an interactive PBS session:  
 +<​code>​ qsub -I -X -l select=1:​ncpus=24:​mpiprocs=24 -l walltime=4:​00:​00 -q smp -P MECH1234 </​code>​  
 + 
 +Note down the hostname of the compute node assigned to you.  ​In this case, it is cnode0756. 
 + 
 +In VisIt, go to the ''​Options - Host Profiles''​ menu and fill in the necessary details as per this example 
 + 
 +{{:​howto:​visithost.png?​nolink |}} 
 + 
 + 
 +Click Applyand then set up an appropriate parallel host profile: 
 + 
 +{{:​howto:​visithostprofile.png?​nolink |}} 
 + 
 + 
 +Click Apply and dismiss the form. 
 + 
 +Now go to the ''​File - Open'' ​menu: 
 + 
 +{{:​howto:​visitopenfiles.png?​nolink |}} 
 + 
 +Change the host from localhost to your compute nodeand if all goes well, you can select ​the appropriate data file on the compute node. 
 + 
 +{{:​howto:​visitopenfiles2.png?​nolink |}} 
 + 
 +You are then given the option of selecting the number of parallel processes you want to use on the compute node: 
 + 
 +{{:​howto:​visitopenfiles3.png?​nolink |}} 
 + 
 + 
 +From here onwards proceed as usual. ​ Note that you will only get parallel acceleration if your data set is parallel. 
  
  
  
  
/var/www/wiki/data/pages/howto/visit.txt · Last modified: 2018/12/18 16:05 by ccrosby