Skip to content
Snippets Groups Projects
Commit 680b5fde authored by Jan Siwiec's avatar Jan Siwiec
Browse files

Update allinea-ddt.md

parent a193b7c5
Branches
No related tags found
No related merge requests found
Pipeline #39702 failed
!!!warning
This page has not been updated yet. The page does not reflect the transition from PBS to Slurm.
# Allinea Forge (DDT, MAP) # Allinea Forge (DDT, MAP)
## Introduction ## Introduction
...@@ -57,7 +54,7 @@ Before debugging, you need to compile your code with these flags: ...@@ -57,7 +54,7 @@ Before debugging, you need to compile your code with these flags:
## Starting a Job With DDT ## Starting a Job With DDT
Be sure to log in with an X window forwarding enabled. This could mean using the `-X` in the `ssh`: Be sure to log in with an X window forwarding enabled. This could mean using the `--x11` in the `ssh`:
```console ```console
$ ssh -X username@login1.karolina.it4i.cz $ ssh -X username@login1.karolina.it4i.cz
...@@ -65,10 +62,10 @@ $ ssh -X username@login1.karolina.it4i.cz ...@@ -65,10 +62,10 @@ $ ssh -X username@login1.karolina.it4i.cz
Another options is to access the login node using VNC. See the detailed information on how to [use graphic user interface][1]. Another options is to access the login node using VNC. See the detailed information on how to [use graphic user interface][1].
From the login node, an interactive session **with X windows forwarding** (the `-X` option) can be started by the following command: From the login node, an interactive session **with X windows forwarding** (the `-x11` option) can be started by the following command:
```console ```console
$ qsub -I -X -A NONE-0-0 -q qexp -l select=1:ncpus=128:mpiprocs=128,walltime=01:00:00 $ salloc -A PROJECT_ID -p qcpu --nodes=1 --ntasks-per-node=128 --cpus-per-task=1 --time=01:00:00 --x11
``` ```
Then launch the debugger with the `ddt` command followed by the name of the executable to debug: Then launch the debugger with the `ddt` command followed by the name of the executable to debug:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment