cc_staff
292
edits
No edit summary |
|||
Line 140: | Line 140: | ||
== CPU-based VisIt client-server visualization on Cedar and Graham == | == CPU-based VisIt client-server visualization on Cedar and Graham == | ||
On Cedar and Graham we have two versions of VisIt 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, respectively. | |||
Before starting VisIt, download the Host Profile XML file [https://owncloud.westgrid.ca/index.php/s/HGxHPO2fPspdb0O/download host_cedar.xml]. On Linux/Mac copy it to ~/.visit/hosts/, and on Windows to "My Documents\VisIt 2.13.0\hosts\". Start VisIt on your laptop, and in its main menu in Options - Host Profiles you should see a host profile called cedar. If you want to do remote rendering on Graham instead of Cedar, set | |||
Host nickname = graham | |||
Remote host name = graham.computecanada.ca | |||
For both Cedar and Graham, set your CCDB username | |||
Username = yourOwwUserName | |||
With the exception of your username, your settings should be similar to the ones shown below: | |||
[[File:HostSetting.png]] | |||
In the same setup window select the Launch Profiles tab. You should see two profiles (login and slurm): | |||
[[File:LaunchProfiles.png]] | |||
Login profile is for running VisIt's engine on a cluster's login node, which we do not recommend for heavy visualizations. Slurm profile is for running VisIt's engine inside an interactive job on a compute node. If you are planning to do the latter, select the slurm profile and then click on Parallel tab and below it on the Advanced tab and change Launcher arguments from --account=def-someuser to your default allocation, as shown below: | |||
[[File:LauncherArguments.png]] | |||
Save settings with Options - Save Settings and then restart VisIt on your laptop for settings to take effect. Start the file-open dialogue and switch the Host from localhost to cedar (or graham). Hopefully, the connection is established, the remote VisIt Component Launcher gets started on 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 between login (rendering on the login node) and slurm (rendering inside an interactive Slurm job on a compute node) profiles, and additionally for slurm profile you will need to specify the number of nodes and processors and the maximum time limit: | |||
[[File:SelectProfile.png]] | |||
Click Ok and wait for VisIt's engine to start. If you selected rendering on a compute node, it may take some time for your job to get started. Once your dataset appears in the Active source in the main VisIt window, the VisIt's engine is running, and you can proceed with creating and drawing your plot. | |||
== Client-server visualization in a cloud VM == <!--T:20--> | == Client-server visualization in a cloud VM == <!--T:20--> |