Pbs display for interactive Ipython project

Unable to export the local display to post processing huge data from the computation jobs. below are the steps. any suggestion to fix it?

Logging into hpc : **ssh -X [user@hpc]

Get into any available node for an interactive session : qsub -I -l select=1:ncpus=2:mem=64gb -l walltime=01:00:00 -q large -v DISPLAY

Change into required environment : conda activate mps

Get into ipython : ipython

I get some kind of display error here, so i exit, and do qsub -I -l select=1:ncpus=2:mem=64gb -l walltime=01:00:00 -q large (remove the -v DISPLAY flag)

and then repeat the steps.

Then import a few files. Then do plotting.

Forced to save plots and not able to view them on the go.

I can think of two things.

  • Have you tried adding the -X flag to your qsub -I? If your version of PBS is new enough, PBS takes care of forwarding your X connection.

  • Failing that, have you set up your ~/.ssh/rc file as per man sshd to take care of xauth?

If neither of those helps, could you supply the version of PBS you are running and the exact error messages from starting ipython? Also, does running xclock produce the same error messages?