[mpich-discuss] [discuss-mpich]Error while using mpirun

Zhou, Hui zhouh at anl.gov
Tue Jan 5 09:40:58 CST 2021


Hi Hirakjyoti Sarma,

Note that your local hostname was “hirakjyoti-HP-dx2480-MT-KL969AV” according to your log. If you edit hosts file, you should simply add new entries rather than overwriting “localhost” because “localhost” is useful and maybe important for some applications. There are a few options other than adding entries to hosts file. You could directly set hosts on command line, e.g. `mpiexec -hosts=localhost …`. There is also an environment variable for ch3 nemesis – you may try set `MPIR_CVAR_CH3_INTERFACE_HOSTNAME` to e.g. “localhost”.

--
Hui Zhou


From: Hirakjyoti Sarma via discuss <discuss at mpich.org>
Date: Monday, January 4, 2021 at 10:38 PM
To: discuss at mpich.org <discuss at mpich.org>
Cc: Hirakjyoti Sarma <herockx1995 at gmail.com>
Subject: Re: [mpich-discuss] [discuss-mpich]Error while using mpirun
I opened the hosts file by using Vi and changed "localhost"  to " hirakjyoti---- " and then saved it and closed and then rebooted the PC. But even after that the problem persists.

On Tue, 5 Jan 2021 at 10:04, Hirakjyoti Sarma <herockx1995 at gmail.com<mailto:herockx1995 at gmail.com>> wrote:
Its 3.3.2-build1

On Tue, 5 Jan 2021 at 02:40, Zhou, Hui <zhouh at anl.gov<mailto:zhouh at anl.gov>> wrote:
Hi Hirakjyoti Sarma,

Could you identify the MPICH version?

--
Hui Zhou


From: Hirakjyoti Sarma via discuss <discuss at mpich.org<mailto:discuss at mpich.org>>
Date: Monday, January 4, 2021 at 10:59 AM
To: discuss at mpich.org<mailto:discuss at mpich.org> <discuss at mpich.org<mailto:discuss at mpich.org>>
Cc: Hirakjyoti Sarma <herockx1995 at gmail.com<mailto:herockx1995 at gmail.com>>
Subject: [mpich-discuss] [discuss-mpich]Error while using mpirun

Dear all,
I get the following error while running LAMMPS on ubuntu without an internet connection.

Invalid error code (-2) (error ring index 127 invalid)
Invalid error code (-2) (error ring index 127 invalid)
INTERNAL ERROR: invalid error code fffffffe (Ring Index out of range) in MPID_nem_tcp_init:373
Fatal error in PMPI_Init: Other MPI error, error stack:
MPIR_Init_thread(586)..............:
MPID_Init(224).....................: channel initialization failed
MPIDI_CH3_Init(105)................:
MPID_nem_init(324).................:
MPID_nem_tcp_init(175).............:
MPID_nem_tcp_get_business_card(401):
MPID_nem_tcp_init(373).............: gethostbyname failed, hirakjyoti-HP-dx2480-MT-KL969AV (errno 0)

But if the PC is  connected to internet LAMMPS successfully run.
How can i solve the problem?

Regards,
Hirak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20210105/cd154f54/attachment.html>


More information about the discuss mailing list