| 61 | 2. Next, we allocate some resources for our ParaView server, and run the ParaView server (in this example session on 1 node, using 24 tasks) |
| 62 | {{{ |
| 63 | bash-4.2$ salloc --partition=devel --nodes=1 --time=00:20:00 |
| 64 | salloc: Pending job allocation 1711109 |
| 65 | salloc: job 1711109 queued and waiting for resources |
| 66 | salloc: job 1711109 has been allocated resources |
| 67 | salloc: Granted job allocation 1711109 |
| 68 | bash-4.2$ srun --nodes=1 --ntasks=24 pvserver |
| 69 | }}} |
| 70 | |
| 71 | which will produce the following output from the ParaView server: |
| 72 | {{{ |
| 73 | Waiting for client... |
| 74 | Connection URL: cs://jrc0036:11111 |
| 75 | Accepting connection(s): jrc0036:11111 |
| 76 | }}} |
| 77 | where |
| 78 | {{{ |
| 79 | jrc0036:11111 |
| 80 | }}} |
| 81 | is the hostname and portnumber on JURECA the server will listen to. |
| 82 | 3. As a next step, click the Connect button in the ParaView GUI and configure a server with the corresponding hostname and portnumber as described [wiki:SampleParaViewSessionJURECA#connectToServer here] |
| 83 | |
| 84 | == [=#SampleParaViewSessionJURECAVisualizationNodes] Starting a pvserver on JURECA's visualization nodes |
| 85 | |
| 86 | In this section we show how to use ParaView's server side rendering capabilities on JURECA's '''visualization nodes''' in a sample session step by step. |
| 87 | 1. open a terminal and load the modules providing the ParaView software |
| 88 | {{{ |
| 89 | bash-4.2$ module load Stages/Current intel-para ParaView |
| 90 | }}} |
| 91 | and set the DISPLAY environment variable as follows |
| 92 | {{{ |
| 93 | bash-4.2$ export DISPLAY=:0.0 |
| 94 | }}} |
| 95 | 2. Next, we allocate some resources for our ParaView server (this step has to be omitted in case you started a VNC session on the visualization batch nodes via strudel, since strudel allready allocated some resources for you) |
| 96 | {{{ |
| 97 | bash-4.2$ salloc -N 2 -p vis --gres gpu:2 --start-xserver |
| 98 | }}} |
| 99 | and run the ParaView server (in this example session on 2 nodes, using 48 tasks): |
| 100 | {{{ |
| 101 | bash-4.2$ srun --cpu_bind=none --ntasks=48 --gres=gpu:0 vglrun pvserver --use-offscreen-rendering |
| 102 | }}} |
| 103 | |
| 104 | which will produce the following output from the ParaView server: |
| 105 | {{{ |
| 106 | Waiting for client... |
| 107 | Connection URL: cs://jrc1391:11111 |
| 108 | Accepting connection(s): jrc1391:11111 |
| 109 | }}} |
| 110 | where |
| 111 | {{{ |
| 112 | jrc1391:11111 |
| 113 | }}} |
| 114 | is the hostname and portnumber on JURECA the server will listen to. |
| 115 | 3. As a next step, click the Connect button in the ParaView GUI and configure a server with the corresponding hostname and portnumber as described [wiki:SampleParaViewSessionJURECA#connectToServer here] |
| 116 | |