Skip to Content.
Sympa Menu

charm - Re: [charm] [ppl] Travis CI (i.e. non-interactive): The authenticity of host 'localhost (127.0.0.1)' can't be established.

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] [ppl] Travis CI (i.e. non-interactive): The authenticity of host 'localhost (127.0.0.1)' can't be established.


Chronological Thread 
  • From: Nikhil Jain <nikhil.life AT gmail.com>
  • To: Jeff Hammond <jeff.science AT gmail.com>
  • Cc: Jim Phillips <jim AT ks.uiuc.edu>, "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
  • Subject: Re: [charm] [ppl] Travis CI (i.e. non-interactive): The authenticity of host 'localhost (127.0.0.1)' can't be established.
  • Date: Sun, 27 Dec 2015 14:08:43 -0600

Alternatively, you can use the ++remote-shell option to specify the ssh command you would like to used for creating connections. For example,

./charmrun +p2 ++remote-shell “ssh -o StrictHostKeyChecking=no “ ./pgm 

—Nikhil

Nikhil Jain, nikhil.jain AT acm.orghttp://charm.cs.uiuc.edu/people/nikhil
Doctoral Candidate @ CS, UIUC

On Dec 27, 2015, at 12:01, Jeff Hammond <jeff.science AT gmail.com> wrote:

Thanks for the info.  Using 6.7.0 solved my problem, but I'll remember the local option if I'm ever forced to use an older version.

Best,

Jeff

On Sat, Dec 26, 2015 at 9:49 AM, Jim Phillips <jim AT ks.uiuc.edu> wrote:

charmrun ++local will launch processes using fork rather then ssh.

Jim



On Fri, 25 Dec 2015, Jeff Hammond wrote:

Motivation: I am trying to enable Charm++ and AMPI in Travis CI for the
Parallel Research Kernels.

Problem: See below.  I cannot launch Charm++ programs with charmrun because
ssh fails.  Because this is Travis CI, it is not interactive, and whatever
needs to be done to fix the otherwise trivial issue with localhost
authentication needs to be something that can be completely automated.

Is there a way to tell charmrun to ignore the localhost issue?  If not, can
one be added?  I'd like to avoid making a change downstream because then
I'll have to verify and possibly redo it for future releases of Charm++ if
charmrun changes.  And I don't want to be mucking around with SSH settings
in Travis CI instances.

From https://travis-ci.org/jeffhammond/PRK/jobs/98821065:

+/home/travis/charm/netlrts-linux-x86_64-smp/bin/charmrun
CHARM++/Synch_p2p/p2p +p4 10 1024 1024

The authenticity of host 'localhost (127.0.0.1)' can't be established.

ECDSA key fingerprint is 40:ab:a1:e4:e7:8f:a8:c4:15:74:a3:62:8f:e6:92:7c.

Are you sure you want to continue connecting (yes/no)? The
authenticity of host 'localhost (127.0.0.1)' can't be established.

ECDSA key fingerprint is 40:ab:a1:e4:e7:8f:a8:c4:15:74:a3:62:8f:e6:92:7c.

Are you sure you want to continue connecting (yes/no)? The
authenticity of host 'localhost (127.0.0.1)' can't be established.

ECDSA key fingerprint is 40:ab:a1:e4:e7:8f:a8:c4:15:74:a3:62:8f:e6:92:7c.

Are you sure you want to continue connecting (yes/no)? The
authenticity of host 'localhost (127.0.0.1)' can't be established.

ECDSA key fingerprint is 40:ab:a1:e4:e7:8f:a8:c4:15:74:a3:62:8f:e6:92:7c.

Are you sure you want to continue connecting (yes/no)?


Thanks,

Jeff

--
Jeff Hammond
jeff.science AT gmail.com
http://jeffhammond.github.io/




--




Archive powered by MHonArc 2.6.16.

Top of Page