<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>A good IT admin should know the ins and outs their own particular
computer system such that they should be able to better advise you
on a solution for environmental variable passing for their
specific system.<br>
</p>
<p><br>
</p>
<p>You may want to have that IT admin work for their paycheck. At
least according to [1], an IT admin on average is compensated
$110k per year.</p>
<p><br>
</p>
<p>I don't see a lot of information provided about the computer
system such as its configuration and policy for usage. If you can
provide in-depth knowledge about your computer system that your IT
admin would already now about or could gather from the system, we
might be able to provide more specific advice. For example, it
can be quite typical for cluster computer systems to disallow
running commands directly on the main node and running such
commands there can sometimes even lead to getting banned from
using the computer system. Instead, the commands are committed to
compute nodes with a schedule (queue) system which may be tasked
with propagating the environmental variables to the computation
nodes. Some queue systems can require a special flag in the job
script to get the environmental variables to the compute node(s).
For additional details on such a case, see the post:<br>
</p>
<p><br>
</p>
<p><a class="moz-txt-link-freetext" href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg17562.html">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg17562.html</a></p>
<p><br>
</p>
<p>So it may be possible for a command to fail when executed on the
main node that may run fine when submitted to queue system (such
as PBS, slurm, etc. [3]) with a script such as your command:<br>
</p>
<p><br>
</p>
<p>ssh vsli2 'echo $WIENROOT'<br>
</p>
<p><br>
</p>
<p>[1]
<a class="moz-txt-link-freetext" href="https://www.theladders.com/salary/it-systems-administrator-salary">https://www.theladders.com/salary/it-systems-administrator-salary</a><br>
</p>
<p>[2]
<a class="moz-txt-link-freetext" href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg17562.html">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg17562.html</a></p>
<p>[3] <a class="moz-txt-link-freetext" href="https://slurm.schedmd.com/rosetta.pdf">https://slurm.schedmd.com/rosetta.pdf</a><br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 9/12/2020 2:34 AM, Ilias Miroslav,
doc. RNDr., PhD. wrote:<br>
</div>
<blockquote type="cite"
cite="mid:VI1PR0702MB356633F7CE14D1D2F4B48B1AF7250@VI1PR0702MB3566.eurprd07.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;}</style>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Hello,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
I have similar problem as decribed here <a
href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg19049.html"
moz-do-not-send="true">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg19049.html</a> .</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<pre style="font-family: courier, "courier new", monospace; font-size: 14px; overflow-wrap: break-word; margin: 0px; background-color: rgb(255, 255, 255)">ssh vsli2 'echo $WIENROOT'</pre>
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
The ssh connection does not preserve the WIENROOT
envirovariable. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
IT admin does not want the variable ""PermitUserEnvironment" in
.sshd_config to be set .</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Therefore, I have to change Wien2k scripts to incorporate
enviromental variable passing.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Any hints, howtos ?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Miro</div>
</blockquote>
<blockquote type="cite"
cite="mid:VI1PR0702MB356633F7CE14D1D2F4B48B1AF7250@VI1PR0702MB3566.eurprd07.prod.outlook.com"></blockquote>
</body>
</html>