FANDOM


Pliedies Edit

To run ParaView interactively on Pliedies, on your workstation you will need to start 2 shells (bash or cygwin) and the ParaView client. I will assume that you have configured the pass-through as described here. The first shell will be used to launch the interactive batch job, while the second shell will be used to establish the secure tunnel that will be used for ParaView's client server communications. The port numbers used to create the tunnel are arbitrary and any unused port may be specified. To get started open the two shells, and start the ParaView client on your workstation. In the first shell enter the following commands:

1$ ssh-agent bash
1$ ssh-add ~/.ssh/id_rsa
1$ ssh pfe
1$ qsub -I -V -l select=8:ncpus=1 -l walltime=02:00:00

At this point the interactive job should have been scheduled, and you will be at a prompt on one of the compute nodes. Make a note of which node you are on. Before we launch the ParaView data server we need to establish the secure tunnel. The tunnel will be created using the second shell. Switch to the second shell and enter the following sequence of commands:

2$ ssh-agent bash
2$ ssh-add ~/.ssh/id_rsa
2$ ssh pfe

To establish the tunnel we will use an ssh escape sequence. The escape sequences are special characters that put ssh in a command mode that will allow us to configure the tunnel. The ssh escape sequence is <enter>~C. This should put you at the ssh prompt. Still in the second shell

2$ <enter>
2$ ~C
ssh> -L 11111:computeNode:11111
2$ 

As you type the escape sequence you will not see the ~, if you do then start over by hitting enter twice. The first port number, 11111 is the port used on your workstation by the ParaView client , the hostname, computeNode should be replaced with the assigned node in the previous step, and the final port number, 11111 is the port used by the ParaView data server. Any port numbers may be used, and the client and server ports need not be the same. Now that the tunnel has been created, switch back to the first shell and start the data server using the following sequence of commands:

1$ module use -a /u/burlen/modulefiles
1$ module load PV3-3.7
1$ mpiexec pvserver --use-offscreen-rendering --server-port=11111

At this point you should see a message from the ParaView data server that it is listening on the specified port for the client. Now start the ParaView client on your workstation and select from the menu File->Connect and create a connection (or use an existing one) with the same port number used when you created the tunnel. At this point you should be connected to the server.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.