Basel, Basel Ali <[email protected]> writes: > thank you so much for that amazing debugger and for all the support. I very > new to python debugging and pudb and my problem is that pudb does not work > normally on the HPC. I use SLURM for job scheduling on the cluster. > when I request an interactive job on the compute nodes I run > ################ > salloc --partition=cpu --nodes=1 --time=01:00:00 > srun python aa.py > ################ > > in the aa.py file, I start by from pudb import set_trace; set_trace(). > the debugger shows like Image(1) > and > It does not move when I hit "n", even If i hit "n" multiple times. it only > moves when I hit "enter" --> image(33) > and > I also can't type in the command line by hitting "CTRL+X" --> image(44) > Why is that happening? and how can i fix it? > PS: the debugger works fine on the login node(not the compute nodes)
Could you verify that other apps using raw terminal mode work on the cluster? (e.g. htop, midnight commander, ...) If not, it might be that your job scheduler simply does not support interactive jobs in that terminal mode. You can always start remote debugging and use telnet to do the actual debugging, though. HTH, Andreas
signature.asc
Description: PGP signature
_______________________________________________ Pudb mailing list [email protected] https://lists.tiker.net/listinfo/pudb
