st regards
Sun
-Original Message-
From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of Jeff Squyres
Sent: Montag, 17. November 2008 13:18
To: Open MPI Users
Subject: Re: [OMPI users] avoid usage of ssh on local machine
On Nov 17, 2008, at 7:04 AM, Sun, Yongqi
On Nov 17, 2008, at 7:04 AM, Sun, Yongqi (E F ES EN 72) wrote:
The OMPI is trying to launch 192.168.160.1, which is not in my
ifconfig.
The contents of ifconfig and /etc/hosts are attached.
What should I do now?
OMPI got that IP address from somewhere; probably by a name resolution
of the
usage of ssh on local machine
Hi Sun
i forgot to add that once you've called gethostname(), you can
determine the length of the name by using strlen() on your array
'name'.
Jody
On Mon, Nov 17, 2008 at 10:45 AM, jody wrote:
> Hi Sun
>
> AFAIK, the second parameter (len) in
Hi Sun
i forgot to add that once you've called gethostname(), you can
determine the length of the name by using strlen() on your array
'name'.
Jody
On Mon, Nov 17, 2008 at 10:45 AM, jody wrote:
> Hi Sun
>
> AFAIK, the second parameter (len) in gethostname is an input
> parameter, specifying the
Hi Sun
AFAIK, the second parameter (len) in gethostname is an input
parameter, specifying the length of the array your passing
as the first parameter. The name of the host will be placed in the
array, but it will truncated after len characters.
I don't know how to determine the length of the host
Hello,
I still have no clue how to use the local machine by default.
My /etc/hosts file and the result of ifconfig are attached.
I've tried gethostname() by myself but an abnormal result generated.
My code is:
///
#include
#include
int main() {
char na
Hello
OMPI doesn't use ssh by default to launch a daemon local to mpirun -
instead, we locally fork/exec the orted.
The problem here is that OMPI doesn't realize that you are launching
on the local machine. This is usually caused by confusion when IP
resolving the hostname returned by get
Hello,
I have two questions about ssh and details follow.
Questions:
Is there any way to prevent the usage of ssh on my local desktop and
launch locally by default? (The FAQ page writes "Also note that if using
a launcher that uses a hostfile and no hostfile is specified, all
processes are launc