Re: [mpich-discuss] [discuss-mpich]Error while using mpirun
I used *mpiexec -host <hostname> -n 2 /path/to/executable -in in.script * *But the following error shows up:* I *nvalid error code (-2) (error ring index 127 invalid)INTERNAL ERROR: invalid error code fffffffe (Ring Index out of range) in MPID_nem_tcp_init:373Fatal error in PMPI_Init: Other MPI error, error stack:MPIR_Init_thread(586)..............: MPID_Init(224).....................: channel initialization failedMPIDI_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)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:373Fatal 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)* I tried changing the <hostname> to localhost also but still it shows me the same error. On Tue, 5 Jan 2021 at 21:10, Zhou, Hui <[email protected]> wrote:
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 <[email protected]> *Date: *Monday, January 4, 2021 at 10:38 PM *To: *[email protected] <[email protected]> *Cc: *Hirakjyoti Sarma <[email protected]> *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 <[email protected]> wrote:
Its 3.3.2-build1
On Tue, 5 Jan 2021 at 02:40, Zhou, Hui <[email protected]> wrote:
Hi Hirakjyoti Sarma,
Could you identify the MPICH version?
-- Hui Zhou
*From: *Hirakjyoti Sarma via discuss <[email protected]> *Date: *Monday, January 4, 2021 at 10:59 AM *To: *[email protected] <[email protected]> *Cc: *Hirakjyoti Sarma <[email protected]> *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
participants (1)
-
Hirakjyoti Sarma