Skip to content

Commit

Permalink
Merge pull request #460 from mariux64/mxqi-fix-459
Browse files Browse the repository at this point in the history
mxqi: Forward $LC_CTYPE to remote session
  • Loading branch information
donald authored Apr 30, 2025
2 parents 49ff977 + e5bd941 commit e70918b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mxqi/mxqi
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ sub server {
TMPDIR MXQ_JOBTMPDIR CUDA_VISIBLE_DEVICES
));
print $out "SetEnv $s\n" if $s;
print $out "AcceptEnv MXQI_SUBMIT_WD\n";
print $out "AcceptEnv MXQI_SUBMIT_WD LC_CTYPE\n";
print $out "X11Forwarding yes\n";
print $out "AddressFamily inet\n";
print $out "HostKey $tmpdir/ssh_host_ed25519_key\n";
Expand Down Expand Up @@ -362,6 +362,7 @@ _EOF_
'-p', $data->{'port'},
'-o', "StrictHostKeyChecking yes",
'-o', "KnownHostsCommand /usr/bin/echo $hostkeyline",
'-o', 'SendEnv LC_CTYPE',
exists $ENV{'PWD'} ? ( '-o', "SetEnv MXQI_SUBMIT_WD=\"$ENV{'PWD'}\"" ) : (),
$data->{'hostname'};
die ("exec ssh: $!\n");
Expand Down

0 comments on commit e70918b

Please sign in to comment.