[mpich-discuss] [discuss-mpich]Error while using mpirun
Zhou, Hui
zhouh at anl.gov
Wed Jan 6 11:30:29 CST 2021
Sorry, I just membered now that there is a bug in 3.3.2 which we fixed in https://github.com/pmodels/mpich/pull/4320/. If you can upgrade your mpich to recent releases, such as 3.4, https://www.mpich.org/downloads/, it should fix the issue.
--
Hui Zhou
From: Hirakjyoti Sarma via discuss <discuss at mpich.org>
Date: Tuesday, January 5, 2021 at 11:21 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
actually the hostname hirakjyoti-HP-dx2480-MT-KL969AV was already there in the /etc/hosts file :
127.0.1.1 hirakjyoti-HP-dx2480-MT-KL969AV
On Tue, 5 Jan 2021 at 05:37, Tony Curtis via discuss <discuss at mpich.org<mailto:discuss at mpich.org>> wrote:
On Jan 4, 2021, at 11:59 AM, Hirakjyoti Sarma via discuss <discuss at mpich.org<mailto:discuss at mpich.org>> wrote:
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?
This looks like a local hostname resolution issue. Maybe you could just add your hostname (presumably “hirakjyoti-……”) to the localhost entry in /etc/hosts and then when offline you’d resolve over loopback? Assuming it’s a single machine.
tony
_______________________________________________
discuss mailing list discuss at mpich.org<mailto:discuss at mpich.org>
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20210106/2479023f/attachment.html>
More information about the discuss
mailing list