Skip to content
Snippets Groups Projects
Commit 0e98ee6d authored by Roman Sliva's avatar Roman Sliva
Browse files

Update x-window-system.md

parent 2d34015b
No related branches found
No related tags found
1 merge request!440PBS eradication
Pipeline #34259 passed with warnings
......@@ -99,21 +99,21 @@ In this example, we activate the Intel programing environment tools and then sta
## GUI Applications on Compute Nodes
Allocate the compute nodes using the `-X` option on the `qsub` command:
Allocate the compute nodes using the `--x11` option on the `salloc` command:
```console
$ qsub -q qexp -l select=2:ncpus=24 -X -I
$ salloc -A PROJECT-ID -q qcpu_exp --x11
```
In this example, we allocate 2 nodes via qexp queue, interactively. We request X11 forwarding with the `-X` option. It will be possible to run the GUI enabled applications directly on the first compute node.
In this example, we allocate one node via qcpu_exp queue, interactively. We request X11 forwarding with the `--x11` option. It will be possible to run the GUI enabled applications directly on the first compute node.
For **better performance**, log on the allocated compute node via SSH, using the `-X` option.
```console
$ ssh -X r24u35n680
$ ssh -X cn245
```
In this example, we log on the r24u35n680 compute node, with the X11 forwarding enabled.
In this example, we log on the cn245 compute node, with the X11 forwarding enabled.
## Gnome GUI Environment
......@@ -143,7 +143,7 @@ xinit /usr/bin/ssh -XT -i .ssh/path_to_your_key yourname@cluster-namen.it4i.cz g
```
However, this method does not seem to work with recent Linux distributions and you will need to manually source
/etc/profile to properly set environment variables for PBS.
/etc/profile to properly set environment variables for Slurm.
### Gnome on Windows
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment