...
Now you can submit the above script to the SLURM scheduler. Once it becomes running, the Totalview user interface will pop-up and you will be able to debug your code:
> sbatch job.sh
...
GALILEO100
As in the example above, once connected to GALILEO GALILEO100 with RCM, open a terminal (start -> terminal). Then follow this set of instructions described below.
...
#!/bin/bash
#SBATCH -t 30:00
#SBATCH -N 1
#SBATCH -o totaljob.out
#SBATCH -e totaljob.err
#SBATCH -A <your_account>
#SBATCH -p gllg100_usr_prod
module load autoload
module load totalview
export DISPLAY="hostname:nr"
totalview srun ./your_executable
...