Skip to Content.
Sympa Menu

charm - Re: [charm] How to set the port in the nodelist

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] How to set the port in the nodelist


Chronological Thread 
  • From: Eric Bohm <ebohm AT illinois.edu>
  • To: Marcin Mielniczuk <marmistrz.dev AT zoho.eu>
  • Cc: charm AT lists.cs.illinois.edu
  • Subject: Re: [charm] How to set the port in the nodelist
  • Date: Wed, 19 Jun 2019 17:11:09 -0500
  • Authentication-results: illinois.edu; spf=neutral smtp.mailfrom=ebohm AT illinois.edu; dkim=pass header.d=illinois-edu.20150623.gappssmtp.com header.s=20150623; dmarc=none header.from=illinois.edu

Hello,

The parameters for the shell can be overridden using the ++shell parameter
and parameters can be passed to ssh via its -o keyword scheme.

e.g., host myhost ++shell “ssh -o Port 2222"

> On Jun 10, 2019, at 10:03 AM, Marcin Mielniczuk
> <marmistrz.dev AT zoho.eu>
> wrote:
>
> Hi,
>
> I'm trying to use Charm++ inside Docker containers with SSH exposed on a
> non-standard port. When using a version of OpenMPI recent enough (>= 3)
> I can specify the port option in the MPI hostfile, e.g.
>
> myhost port=2222 slots=6
>
> Currently, I just pass the hostfile as an argument to charmrun, which is
> passed forth to mpirun, but this approach severely limits my choice of
> backends.
>
> How can I specify the SSH server port in the Charm++ nodelist?
>
> Regards,
> Marcin
>
>
>




Archive powered by MHonArc 2.6.19.

Top of Page