Changes between Version 7 and Version 8 of ParaViewJUWELS
- Timestamp:
- 07/01/20 14:21:48 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ParaViewJUWELS
v7 v8 60 60 Before you can start a parallel !ParaView job on JUWELS, first establish a VNC connection to a vis login node and open the !ParaView-GUI on this VNC desktop, as describes above. Then you can start a parallel !ParaView job and connect the !ParaView GUI to this job. 61 61 62 Please note that you have to start the EGL Version of the !ParaView server (pvserver) on the JUWELS batch partition! To start a parallel job, first create a S lurmjob file with parameters which fits your needs. Here is an example of such a file. In this example we name the file "start_pvserver.slurm".62 Please note that you have to start the EGL Version of the !ParaView server (pvserver) on the JUWELS batch partition! To start a parallel job, first create a SLURM job file with parameters which fits your needs. Here is an example of such a file. In this example we name the file "start_pvserver.slurm". 63 63 {{{ #!sh 64 64 #!/bin/bash … … 85 85 pvserver 86 86 }}} 87 S tart this job scriptby sbatch:87 Submit this job script to the batch system by sbatch: 88 88 {{{ #!sh 89 89 sbatch --account=<your_budget_name> --partition=batch ./start_pvserver.slurm 90 90 }}} 91 Now you have to wait for your job to start. You can check the state of the job (pending, running, ...) w hitthe squeue command:91 Now you have to wait for your job to start. You can check the state of the job (pending, running, ...) with the squeue command: 92 92 {{{ #!sh 93 93 squeue -u <your_username> … … 98 98 }}} 99 99 100 Now you have to connect your !ParaView GUI to this node. Please note that a successful connection is only possible when your !ParaView GUI (paraview) and your !ParaView server (pvserver) have the SAME version (5.8 in this example).100 Now you have to connect your !ParaView GUI to this node. Please note that a successful connection is only possible when your !ParaView GUI (paraview) and your !ParaView server (pvserver) have the SAME version number (5.8 in this example). 101 101 102 102 In the !ParaView GUI, select the File->Connect menue. If the rank 0 node is not already in the list of existing configurations, press the "Add Server" button to add this connection. 103 Give this configuration a name, and in the "Host" line,fill in the name of the rank 0 node, in this example "jwc00n064" for ethernet or "jwc00n064.ib" for infiniband.104 Click on "Configure", select "Manual" as start type and save the con nection.103 Give this new configuration a name, and in the "Host" line fill in the name of the rank 0 node, in this example "jwc00n064" for ethernet or "jwc00n064.ib" for infiniband. 104 Click on "Configure", select "Manual" as start type and save the configuration. 105 105 Now you will find the rank 0 node in the list of configurations. Just select this entry and press "Connect". 106 106 107 107 You can check if the connection was successful by various ways: 108 1. In the Pipeline Browser of the !ParaView GUI, you can see the name of the rank 0 node on top 108 1. In the Pipeline Browser of the !ParaView GUI, you can see the name of the rank 0 node on top. 109 109 2. In the !ParaView GUI you can open the "Memory Inspector" (menue View->Memory Inspector). The memory inspector shows you the actual client/server configuration. 110 3. Look for "Client connected" message in the slurm output file 110 3. Look for "Client connected" message in the slurm output file. 111 111 {{{ 112 112 Waiting for client...