[Wien] k-Point Parallel

John Rundgren jru at kth.se
Thu Nov 5 10:53:23 CET 2009


Duy Le, thanks.
Your comments are checked, but run_lapw -p behaves as before and ruSCF in w2web asks for password indefinitely.

"ssh jru at penelope" asks for password. With password given in any directory, the cursor is brought back to the home directory.  authorized_keys have in fact -rw-------, and "diff authorized_keys id_rsa.pub" gives nothing. I use LInux Ubuntu, last version, automatically updated.

What can I test now for making "run_lapw -p" work?
Best / John

John Rundgren
Department of Theoretical Physics, Royal Institute of Technology (KTH),
AlbaNova University Center, SE-10691 Stockholm, Sweden
fax +46 8 5537 8216, voice +46 8 5537 8171,
home page http://www.theophys.kth.se/~jru
________________________________________
From: wien-bounces at zeus.theochem.tuwien.ac.at [wien-bounces at zeus.theochem.tuwien.ac.at] On Behalf Of Duy Le [ttduyle at gmail.com]
Sent: Wednesday, November 04, 2009 4:58 PM
To: A Mailing list for WIEN2k users
Subject: Re: [Wien] k-Point Parallel

Try to login: ssh jru at penelope If it still asks you the password, type your password to see if ssh is working. If it is working correctly, I think you made a mistake when copying id_rsa.pub to authorized_keys. If you use cp, the permission of authorized_keys is the same with id_rsa.pub (-rw-r--r--). authorized_keys should have only -rw------. (you should have done instead: cat id_rsa.pub >> authorized_keys)

You just need to: chmod go-rwx ~/.ssh.authorized_keys

Good luck!




--------------------------------------------------
Duy Le
PhD Student
Department of Physics
University of Central Florida.

"Men don't need hand to do things"


On Wed, Nov 4, 2009 at 11:17 AM, John Rundgren <jru at kth.se<mailto:jru at kth.se>> wrote:
Answer to Robert Laskowski: Yes, .ssh is rwx------ as it should.

In the meantime colleagues assembled around my desk; we checked /etc/hosts and the PC's IP number, to be sure that PC, user, and localhost are properly identified.

The "ssh-keygen -t -rsa" procedure is carried out again with empty passphrase. The result is the following:

penelope:~/W/FeS2> run_lapw -p -I -i 30 -cc 0.0001
hup: Command not found.
Invalid null command.
 LAPW0 END
Invalid null command.
jru at penelope's password:
jru at penelope's password:

Filling in a password is impossible, and the PC hangs up with the pslapw comment,

;time lapw1 lapw1_2.def ;fixerror_lapw lapw1_2

Does this give any clue to those who are successful with run_lapw -p?
Regards,
John

John Rundgren
Department of Theoretical Physics, Royal Institute of Technology (KTH),
AlbaNova University Center, SE-10691 Stockholm, Sweden
fax +46 8 5537 8216, voice +46 8 5537 8171,
home page http://www.theophys.kth.se/~jru<http://www.theophys.kth.se/%7Ejru>
________________________________________
From: wien-bounces at zeus.theochem.tuwien.ac.at<mailto:wien-bounces at zeus.theochem.tuwien.ac.at> [wien-bounces at zeus.theochem.tuwien.ac.at<mailto:wien-bounces at zeus.theochem.tuwien.ac.at>] On Behalf Of Robert Laskowski [rolask at theochem.tuwien.ac.at<mailto:rolask at theochem.tuwien.ac.at>]
Sent: Wednesday, November 04, 2009 10:53 AM
To: A Mailing list for WIEN2k users
Subject: Re: [Wien] k-Point Parallel

hi,
do you have right permissions for .ssh (only owner can read, write and enter)

regards

Robert

On Wednesday 04 November 2009 10:23:06 John Rundgren wrote:
> Dear All,
> Sorry that I cannot k-point parallelize, although I follow User's Guide.
> See the terminal output below. How can I parallelize correctly?
>
> USER'S GUIDE 5.5.1:
> penelope:~> ssh-keygen -t rsa
> Generating public/private rsa key pair.
> Enter file in which to save the key (/home/jru/.ssh/id_rsa): #default#
> Enter passphrase (empty for no passphrase): #same passwd as in w2web#
> Enter same passphrase again:                #same passwd as in w2web#
> Your identification has been saved in /home/jru/.ssh/id_rsa.
> Your public key has been saved in /home/jru/.ssh/id_rsa.pub.
> The key fingerprint is:
> 88:26:20:6e:1a:19:1e:f0:4e:c3:c5:44:c2:a3:ec:1f jru at penelope
> The key's randomart image is:
> +--[ RSA 2048]----+
> |...++            |
> |.ooo.            |
> |=o=.             |
> |=B.. . .         |
> |++o o . S        |
> |oo E             |
> |. . .            |
> |   .             |
> |                 |
> +-----------------+
>
> penelope:~/.ssh> cp id_rsa.pub authorized_keys
>
> USER'S GUIDE 5.1.3:
> penelope:~/W/FeS2> run_lapw -p -I -i 30 -cc 0.0001
> hup: Command not found.
> Invalid null command.
>  LAPW0 END
> Invalid null command.
> ssh_exchange_identification: Connection closed by remote host
> ssh_exchange_identification: Connection closed by remote host
> ssh_exchange_identification: Connection closed by remote host
> cat: No match.
>
> >   stop error
> penelope:~/W/FeS2>
>
> Trying "run SCF" in w2web gives the same diagnosis.
> Grateful for help,
> John
>
> John Rundgren
> Department of Theoretical Physics, Royal Institute of Technology (KTH),
> AlbaNova University Center, SE-10691 Stockholm, Sweden
> fax +46 8 5537 8216, voice +46 8 5537 8171,
> home page http://www.theophys.kth.se/~jru<http://www.theophys.kth.se/%7Ejru>
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at<mailto:Wien at zeus.theochem.tuwien.ac.at>
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>
>



--
Dr Robert Laskowski

Vienna University of Technology,
Institute of Materials Chemistry,
Getreidemarkt 9/165-TC, A-1060 Vienna

tel. +43 1 58801 15686
Fax  +43 1 58801 15698
_______________________________________________
Wien mailing list
Wien at zeus.theochem.tuwien.ac.at<mailto:Wien at zeus.theochem.tuwien.ac.at>
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
_______________________________________________
Wien mailing list
Wien at zeus.theochem.tuwien.ac.at<mailto:Wien at zeus.theochem.tuwien.ac.at>
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien



More information about the Wien mailing list