<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>I had noticed that ssh vlsi1 'echo $WIENROOT/lapw*' seems to pick
up the local environment. Since you are interested in the remote
environment, make sure you issue them as separate commands [1] for
vlsi1, vlsi2, vlsi3, and vlsi4:</p>
ssh vlsi1<br>
echo $WIENROOT/lapw* <br>
exit<br>
<p>....</p>
ssh vlsi4<br>
echo $WIENROOT/lapw* <br>
exit
<p>If the ssh_config and in sshd_config approach is not working.
Did you also try the alternative .bashrc approach [2] and also
check that it is not a non-interactive shell login issue [3]?<br>
</p>
<p>Check .bashrc locally:<br>
</p>
<p>username@computername:~$ grep "export WIENROOT" ~/.bashrc<br>
export WIENROOT=/home/username/WIEN2k</p>
<p>Check .bashrc remotely for vlsi1, vlsi2, vlsi3, and vlsi4:<br>
</p>
<p>username@computername:~$ ssh vlsi1<br>
...<br>
username@computername:~$ grep "export WIENROOT" ~/.bashrc<br>
export WIENROOT=/home/username/WIEN2k<br>
username@computername:~$ exit<br>
logout<br>
Connection to vlsi1 closed.</p>
<p>...</p>
<p>username@computername:~$ ssh vlsi4<br>
...<br>
username@computername:~$ grep "export WIENROOT" ~/.bashrc<br>
export WIENROOT=/home/username/WIEN2k<br>
username@computername:~$ exit<br>
logout<br>
Connection to vlsi4 closed.</p>
[1]
<a class="moz-txt-link-freetext" href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg19057.html">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg19057.html</a><br>
[2]
<a class="moz-txt-link-freetext" href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg19053.html">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg19053.html</a><br>
[3]
<a class="moz-txt-link-freetext" href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg18685.html">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg18685.html</a><br>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 9/29/2019 11:16 AM, Indranil mal
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAMXVQEEtCRBM9NK+HufrQW1KsU3wVMsVacisd3CGkrDYegqjCQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Now echo $WIENROOT is giving the $WIENROOT location. <br>
</div>
<div><br>
</div>
<div> <span></span>
<p style="margin-bottom:0cm;line-height:100%"> echo
$WIENROOT/lapw*</p>
<p style="margin-bottom:0cm;line-height:100%">/home/username/WIEN2K/lapw0
/home/username/WIEN2K/lapw0_mpi
/home/username/WIEN2K/lapw0para
/home/username/WIEN2K/lapw0para_lapw
/home/username/WIEN2K/lapw1
/home/username/WIEN2K/lapw1c
/home/username/WIEN2K/lapw1c_mpi
/home/username/WIEN2K/lapw1cpara
/home/username/WIEN2K/lapw1_mpi
/home/username/WIEN2K/lapw1para
/home/username/WIEN2K/lapw1para_lapw
/home/username/WIEN2K/lapw2 /home/username/WIEN2K/lapw2c
/home/username/WIEN2K/lapw2c_mpi
/home/username/WIEN2K/lapw2cpara
/home/username/WIEN2K/lapw2_mpi
/home/username/WIEN2K/lapw2para
/home/username/WIEN2K/lapw2para_lapw
/home/username/WIEN2K/lapw3
/home/username/WIEN2K/lapw3c /home/username/WIEN2K/lapw5
/home/username/WIEN2K/lapw5c /home/username/WIEN2K/lapw7
/home/username/WIEN2K/lapw7c /home/username/WIEN2K/lapwdm
/home/username/WIEN2K/lapwdmc
/home/username/WIEN2K/lapwdmcpara
/home/username/WIEN2K/lapwdmpara
/home/username/WIEN2K/lapwdmpara_lapw
/home/username/WIEN2K/lapwso
/home/username/WIEN2K/lapwsocpara
/home/username/WIEN2K/lapwso_mpi
/home/username/WIEN2K/lapwsopara
/home/username/WIEN2K/lapwsopara_lapw</p>
<p style="margin-bottom:0cm;line-height:100%">ssh vlsi1 'echo
$WIENROOT/lapw*'</p>
<p style="margin-bottom:0cm;line-height:100%">/home/username/WIEN2K/lapw0
/home/username/WIEN2K/lapw0_mpi
/home/username/WIEN2K/lapw0para
/home/username/WIEN2K/lapw0para_lapw
/home/username/WIEN2K/lapw1
/home/username/WIEN2K/lapw1c
/home/username/WIEN2K/lapw1c_mpi
/home/username/WIEN2K/lapw1cpara
/home/username/WIEN2K/lapw1_mpi
/home/username/WIEN2K/lapw1para
/home/username/WIEN2K/lapw1para_lapw
/home/username/WIEN2K/lapw2 /home/username/WIEN2K/lapw2c
/home/username/WIEN2K/lapw2c_mpi
/home/username/WIEN2K/lapw2cpara
/home/username/WIEN2K/lapw2_mpi
/home/username/WIEN2K/lapw2para
/home/username/WIEN2K/lapw2para_lapw
/home/username/WIEN2K/lapw3
/home/username/WIEN2K/lapw3c /home/username/WIEN2K/lapw5
/home/username/WIEN2K/lapw5c /home/username/WIEN2K/lapw7
/home/username/WIEN2K/lapw7c /home/username/WIEN2K/lapwdm
/home/username/WIEN2K/lapwdmc
/home/username/WIEN2K/lapwdmcpara
/home/username/WIEN2K/lapwdmpara
/home/username/WIEN2K/lapwdmpara_lapw
/home/username/WIEN2K/lapwso
/home/username/WIEN2K/lapwsocpara
/home/username/WIEN2K/lapwso_mpi
/home/username/WIEN2K/lapwsopara
/home/username/WIEN2K/lapwsopara_lapw</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">However getting
the same error <br>
</p>
<table bgcolor="#c3ffd2">
<tbody>
<tr>
<td bgcolor="#E0E0E0">
<form action="/util/stdout.pl" method="POST">
</form>
<br>
</td>
<td bgcolor="#E0E0E0">
<br>
</td>
</tr>
</tbody>
</table>
<pre>> stop error
grep: *scf1*: No such file or directory
cp: cannot stat '.in.tmp': No such file or directory
FERMI - Error
grep: *scf1*: No such file or directory
Parallel.scf1_1: No such file or directory.
bash: fixerror_lapw: command not found
bash: lapw1c: command not found
bash: fixerror_lapw: command not found
bash: lapw1c: command not found
bash: fixerror_lapw: command not found
bash: lapw1c: command not found
bash: fixerror_lapw: command not found
bash: lapw1c: command not found
bash: fixerror_lapw: command not found
bash: lapw1c: command not found
bash: fixerror_lapw: command not found
bash: lapw1c: command not found
LAPW0 END
hup: Command not found.</pre>
<p style="margin-bottom:0cm;line-height:100%">
</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%">and lapw2 error
file <br>
</p>
<p style="margin-bottom:0cm;line-height:100%"> 'LAPW2' - can't
open unit: 30
<br>
'LAPW2' - filename: Parallel.energy_1
<br>
** testerror: Error in Parallel LAPW2<br>
</p>
</div>
</div>
</blockquote>
<blockquote type="cite"
cite="mid:CAMXVQEEtCRBM9NK+HufrQW1KsU3wVMsVacisd3CGkrDYegqjCQ@mail.gmail.com"></blockquote>
</body>
</html>