<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
I wrote a script that uses "screen" to create side-by-side windows
that run co-operating processes and shows their outputs together.<br>
This looks fine when I run it remotely over an "ssh" connection.
(Note that I don't need to use "ssh -X").<br>
If I run it over an "srun" connection using forms like this, though<br>
<blockquote><tt>srun -t 08:00:00 --ntasks-per-node=40 --pty -p batch
../splitscreen</tt><br>
<tt>srun -t 08:00:00 --ntasks-per-node=40 --pty -p batch
/bin/bash -i -l -c ../splitscreen</tt><br>
</blockquote>
it doesn't look so good -- text that should be in the righthand
window starts writing in the lefthand window instead, and the
lefthand window contents don't show up.<br>
I believe "screen" uses the "curses" library, or at least something
similar, and I'm guessing that the cursor placement is getting
garbled somehow.<br>
Are there any special "srun" settings that I can use to straighten
this out? Again, if I use an ssh connection instead, it works
perfectly.<br>
I could file a bug with SLURM, but am thinking (hoping) that maybe
I'm just not using it right.<br>
Thanks,<br>
<br>
Carl<br>
<br>
<DIV>
<HR>
</DIV>
<DIV>This email message is for the sole use of the intended recipient(s) and may
contain confidential information. Any unauthorized review, use, disclosure
or distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply email and destroy all copies of the original
message. </DIV>
<DIV>
<HR>
</DIV>
</body>
</html>