[Wien] parallel ssh error
Gavin Abo
gsabo at crimson.ua.edu
Sun Sep 29 09:02:55 CEST 2019
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:
ssh vlsi1
echo $WIENROOT/lapw*
exit
....
ssh vlsi4
echo $WIENROOT/lapw*
exit
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]?
Check .bashrc locally:
username at computername:~$ grep "export WIENROOT" ~/.bashrc
export WIENROOT=/home/username/WIEN2k
Check .bashrc remotely for vlsi1, vlsi2, vlsi3, and vlsi4:
username at computername:~$ ssh vlsi1
...
username at computername:~$ grep "export WIENROOT" ~/.bashrc
export WIENROOT=/home/username/WIEN2k
username at computername:~$ exit
logout
Connection to vlsi1 closed.
...
username at computername:~$ ssh vlsi4
...
username at computername:~$ grep "export WIENROOT" ~/.bashrc
export WIENROOT=/home/username/WIEN2k
username at computername:~$ exit
logout
Connection to vlsi4 closed.
[1]
https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg19057.html
[2]
https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg19053.html
[3]
https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg18685.html
On 9/29/2019 11:16 AM, Indranil mal wrote:
> Now echo $WIENROOT is giving the $WIENROOT location.
>
> echo $WIENROOT/lapw*
>
> /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
>
> ssh vlsi1 'echo $WIENROOT/lapw*'
>
> /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
>
>
> However getting the same error
>
>
>
>
> > 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.
>
>
> and lapw2 error file
>
> 'LAPW2' - can't open unit: 30
> 'LAPW2' - filename: Parallel.energy_1
> ** testerror: Error in Parallel LAPW2
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20190929/0602b234/attachment.html>
More information about the Wien
mailing list