VisIt: Difference between revisions

Jump to navigation Jump to search
18 bytes removed ,  5 years ago
no edit summary
No edit summary
No edit summary
Line 4: Line 4:


<!--T:2-->
<!--T:2-->
VisIt requires the same major version on the local client and the remote host; this prevents incompatibilities that typically show as a failed handshake when establishing the client-server connection.
VisIt requires the same major version on the local client and the remote host; this prevents incompatibility that typically shows as a failed handshake when establishing the client-server connection.


<!--T:3-->
<!--T:3-->
Line 19: Line 19:
Two versions of VisIt are installed: visit/2.12.3 and visit/2.13.0. To use remote VisIt in client-server mode, on your laptop you need the matching major version, either 2.12.x or 2.13.x. Before starting VisIt, download the host profile XML file [https://owncloud.westgrid.ca/index.php/s/HGxHPO2fPspdb0O/download host_cedar.xml].
Two versions of VisIt are installed: visit/2.12.3 and visit/2.13.0. To use remote VisIt in client-server mode, on your laptop you need the matching major version, either 2.12.x or 2.13.x. Before starting VisIt, download the host profile XML file [https://owncloud.westgrid.ca/index.php/s/HGxHPO2fPspdb0O/download host_cedar.xml].
<br>
<br>
* On Linux/Mac, copy the file to ''~/.visit/hosts/''.
* On Linux/Mac, copy the file to ''~/.visit/hosts/.''
* On Windows, copy the file to ''My Documents\VisIt 2.13.0\hosts\''. Start VisIt on your laptop; in the main menu, under ''Options -> Host Profiles'', you should see the ''cedar'' host profile. If you want to do remote rendering on Graham instead, set
* On Windows, copy the file to ''My Documents\VisIt 2.13.0\hosts\.'' Start VisIt on your laptop; in the main menu, under ''Options -> Host Profiles'', you should see the ''cedar'' host profile. If you want to do remote rendering on Graham instead, set


  <!--T:9-->
  <!--T:9-->
Line 52: Line 52:


<!--T:18-->
<!--T:18-->
Save the settings with ''Options -> Save Settings'' and then restart VisIt on your laptop for settings to take effect. Start the file-open dialogue and change the localhost to ''cedar'' (or ''graham''). Hopefully, the connection is established, the remote VisIt Component Launcher gets started on the cluster's login node, and you should be able to see the cluster's filesystem, navigate to your file and select it. You will be prompted to select either the ''login'' (rendering on the login node) or ''slurm'' (rendering inside an interactive Slurm job on a compute node) profile. If you select the ''slurm'' profile, you will need to specify the number of nodes and processors and the maximum time limit:
Save the settings with ''Options -> Save Settings'' and then restart VisIt on your laptop for settings to take effect. Start the file-open dialogue and change the local host to ''cedar'' (or ''graham''). Hopefully, the connection is established, the remote VisIt Component Launcher gets started on the cluster's login node, and you should be able to see the cluster's filesystem, navigate to your file and select it. You will be prompted to select either the ''login'' (rendering on the login node) or ''slurm'' (rendering inside an interactive Slurm job on a compute node) profile. If you select the ''slurm'' profile, you will need to specify the number of nodes and processors and the maximum time limit:


<!--T:19-->
<!--T:19-->
Line 72: Line 72:


<!--T:26-->
<!--T:26-->
Download the Niagara host file, right-click on [https://support.scinet.utoronto.ca/~mponce/viz/host_niagara.xml host_niagara.xml] and select ''Save as''.
Download the Niagara host file, right-click on [https://support.scinet.utoronto.ca/~mponce/viz/host_niagara.xml host_niagara.xml] and select ''Save as.''  
Depending on the OS you are using on your local machine,
Depending on the OS you are using on your local machine,
<br>
<br>
* on Linux/Mac, place the file in ''>~/.visit/hosts/'';
* on Linux/Mac, place the file in ''>~/.visit/hosts/'';
* on Windows, place the file in ''My Documents\VisIt 2.13.0\hosts\''.
* on Windows, place the file in ''My Documents\VisIt 2.13.0\hosts\.''


<!--T:27-->
<!--T:27-->
Restart VisIt and check that the Niagara profile is available under ''Options -> Host Profiles''.
Restart VisIt and check that the Niagara profile is available under ''Options -> Host Profiles.''


=== Manual host configuration === <!--T:28-->
=== Manual host configuration === <!--T:28-->


<!--T:29-->
<!--T:29-->
Open VisIt in your computer, go to the ''Options'' menu, and click on ''Host Profiles''.
Open VisIt in your computer, go to the ''Options'' menu, and click on ''Host Profiles.''
Then click on ''New Host'' and select:
Then click on ''New Host'' and select:


Line 94: Line 94:


<!--T:31-->
<!--T:31-->
Check ''Tunnel data connections through SSH'' and click on ''Apply''.
Check ''Tunnel data connections through SSH'' and click on ''Apply.''


<!--T:32-->
<!--T:32-->
Line 102: Line 102:


<!--T:33-->
<!--T:33-->
At the top of the window, click on the ''Launch Profiles'' tab and click on ''New Profile''. Select the appropriate profile:  
At the top of the window, click on the ''Launch Profiles'' tab and click on ''New Profile.'' Select the appropriate profile:  
<br>
<br>
* <code>login</code> to connect through a login node and access data;
* ''login'' to connect through a login node and access data;
* <code>slurm</code> to using compute nodes as rendering engines.
* ''slurm'' to using compute nodes as rendering engines.




Line 166: Line 166:


<!--T:51-->
<!--T:51-->
Start VisIt on your laptop. In ''Options -> Host profiles'', edit the connection nickname, the VM host name, the path to the VisIt installation (/home/centos/visit) and your username on the VM; also enable tunneling through SSH. Don't forget to save your settings with ''Options -> Save Settings''. When you open a file (''File -> Open file -> Host = Arbutus'') you should see the VM's filesystem. Load a file and try to visualize it. Data processing and rendering should be done on the VM, while the result and the GUI controls will be displayed on your laptop.
Start VisIt on your laptop. In ''Options -> Host profiles'', edit the connection nickname, the VM host name, the path to the VisIt installation (/home/centos/visit) and your username on the VM; also enable tunneling through SSH. Don't forget to save your settings with ''Options -> Save Settings.'' When you open a file (''File -> Open file -> Host = Arbutus'') you should see the VM's filesystem. Load a file and try to visualize it. Data processing and rendering should be done on the VM, while the result and the GUI controls will be displayed on your laptop.


<!--T:52-->
<!--T:52-->
rsnt_translations
56,420

edits

Navigation menu