[mpich-discuss] Using g95 to compile mpich2 problem

Jayesh Krishna jayesh at mcs.anl.gov
Wed Aug 1 09:23:56 CDT 2012


Hi,
 Does the default process manager (hydra) work for you? Hydra is the recommended process manager for MPICH2 (on Unix environments).
 Also see if you can compile and run <MPICH2-INSTALL-DIR>/examples/cpi.c .

(PS: SMPD is not regularly tested on Cygwin environment)
Regards,
Jayesh

----- Original Message -----
From: "謝奇哲" <991546107 at stu.nkmu.edu.tw>
To: "Jayesh Krishna" <jayesh at mcs.anl.gov>, mpich-discuss at mcs.anl.gov
Cc: "謝奇哲" <991546107 at stu.nkmu.edu.tw>
Sent: Wednesday, August 1, 2012 4:04:45 AM
Subject: Using g95 to compile mpich2 problem

Hi, 

I'm sorry if I'm asking too many times. 

My case will need using mpi_init, so I install the MPICH2-1.4. 
I'm using WindosXP, Cygwin, g95 and single-node systems. 
What kind of options smpd or gforker is suitable for me? 

If I suitable use smpd. 
I tried using smpd before, and I could use smpd to run example cpi. 
But I'm in mpich2-1.4/test file make testing, I get different problems on two computers. 
1) 
Looking in ./spawn/testlist 
Unexpected output in taskmaster: Fatal error in MPI_Init: Invalid port, error stack: 
Unexpected output in taskmaster: MPIR_Init_thread(388).............: 

Unexpected output in taskmaster: MPID_Init(264)....................: spawned process group was unable to connect back to the parent on port <tag=0 description=user001 port=2634 ifname=10.1.10.108 > 
Unexpected output in taskmaster: MPID_Comm_connect(191)............: 
Unexpected output in taskmaster: MPIDI_Comm_connect(546)...........: Named port tag=0 description=user001 port=2634 ifname=10.1.10.108 does not exist 
Unexpected output in taskmaster: MPIDI_Comm_connect(401)...........: 
Unexpected output in taskmaster: MPIC_Sendrecv(192)................: 
Unexpected output in taskmaster: MPIC_Wait(540)....................: 
Unexpected output in taskmaster: MPIDI_CH3I_Progress(402)..........: 
Unexpected output in taskmaster: MPID_nem_mpich2_blocking_recv(905): 
Unexpected output in taskmaster: MPID_nem_tcp_connpoll(1838).......: 
Unexpected output in taskmaster: state_c_tmpvcsent_handler(1264)...: Failure during connection protocol 
Unexpected output in taskmaster: recv_cmd_pkt(739).................: read from socket failed - Connection reset by peer 
Unexpected output in taskmaster: 
Unexpected output in taskmaster: job aborted: 
Unexpected output in taskmaster: rank: node: exit code[: error message] 
Unexpected output in taskmaster: 0: user001: 1: process 0 exited without calling finalize 
Unexpected output in taskmaster: 
Unexpected output in taskmaster: mpiexec terminated job due to 600 second timeout. 
Program taskmaster exited without No Errors 
Unexpected output in disconnect_reconnect: Fatal error in MPI_Comm_connect: Invalid port, error stack: 
Unexpected output in disconnect_reconnect: MPI_Comm_connect(127)..: MPI_Comm_connect(port="", MPI_INFO_NULL, root=0, MPI_COMM_WORLD, newcomm=0x22ac48) failed 
Unexpected output in disconnect_reconnect: MPID_Comm_connect(191).: 
Unexpected output in disconnect_reconnect: MPIDI_Comm_connect(412): Named port does not exist 
Unexpected output in disconnect_reconnect: Fatal error in MPI_Comm_connect: Invalid port, error stack: 
Unexpected output in disconnect_reconnect: MPI_Comm_connect(127).............: MPI_Comm_connect(port="tag=0 description=user001 port=3378 ifname=10.1.10.108 ", MPI_INFO_NULL, root=0, MPI_COMM_WORLD, newcomm=0x22ac48) failed 
Unexpected output in disconnect_reconnect: MPID_Comm_connect(191)............: 
Unexpected output in disconnect_reconnect: MPIDI_Comm_connect(546)...........: Named port tag=0 description=user001 port=3378 ifname=10.1.10.108 does not exist 
Unexpected output in disconnect_reconnect: MPIDI_Comm_connect(401)...........: 
Unexpected output in disconnect_reconnect: MPIC_Sendrecv(192)................: 
Unexpected output in disconnect_reconnect: MPIC_Wait(540)....................: 
Unexpected output in disconnect_reconnect: MPIDI_CH3I_Progress(402)..........: 
Unexpected output in disconnect_reconnect: MPID_nem_mpich2_blocking_recv(905): 
Unexpected output in disconnect_reconnect: MPID_nem_tcp_connpoll(1838).......: 
Unexpected output in disconnect_reconnect: state_c_tmpvcsent_handler(1264)...: Failure during connection protocol 
Unexpected output in disconnect_reconnect: recv_cmd_pkt(739).................: read from socket failed - Connection reset by peer 
Unexpected output in disconnect_reconnect: Fatal error in MPI_Comm_connect: Invalid port, error stack: 
Unexpected output in disconnect_reconnect: MPI_Comm_connect(127)..: MPI_Comm_connect(port="", MPI_INFO_NULL, root=0, MPI_COMM_WORLD, newcomm=0x22ac48) failed 
Unexpected output in disconnect_reconnect: MPID_Comm_connect(191).: 
Unexpected output in disconnect_reconnect: MPIDI_Comm_connect(412): Named port does not exist 
Unexpected output in disconnect_reconnect: 
Unexpected output in disconnect_reconnect: job aborted: 
Unexpected output in disconnect_reconnect: rank: node: exit code[: error message] 
Unexpected output in disconnect_reconnect: 0: user001: 1: process 0 exited without calling finalize 
Unexpected output in disconnect_reconnect: 1: user001: 1: process 1 exited without calling finalize 
Unexpected output in disconnect_reconnect: 2: user001: 1: process 2 exited without calling finalize 
Unexpected output in disconnect_reconnect: 
Unexpected output in disconnect_reconnect: mpiexec terminated job due to 180 second timeout. 
Program disconnect_reconnect exited without No Errors 
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
2) 
Looking in ./attr/testlist 
Unexpected output in attric: Fatal error in MPI_Init_thread: Other MPI error, error stack: 
Unexpected output in attric: MPIR_Init_thread(388).................: 
Unexpected output in attric: MPID_Init(139)........................: channel initialization failed 
Unexpected output in attric: MPIDI_CH3_Init(38)....................: 
Unexpected output in attric: MPID_nem_init(196)....................: 
Unexpected output in attric: MPIDI_CH3I_Seg_commit(366)............: 
Unexpected output in attric: MPIU_SHMW_Hnd_deserialize(324)........: 
Unexpected output in attric: MPIU_SHMW_Seg_open(863)...............: 
Unexpected output in attric: MPIU_SHMW_Seg_create_attach_templ(637): open failed - Device or resource busy 
Unexpected output in attric: Fatal error in MPI_Init_thread: Other MPI error, error stack: 
Unexpected output in attric: MPIR_Init_thread(388).................: 
Unexpected output in attric: MPID_Init(139)........................: channel initialization failed 
Unexpected output in attric: MPIDI_CH3_Init(38)....................: 
Unexpected output in attric: MPID_nem_init(196)....................: 
Unexpected output in attric: MPIDI_CH3I_Seg_commit(369)............: 
Unexpected output in attric: MPIU_SHMW_Seg_attach(925).............: 
Unexpected output in attric: MPIU_SHMW_Seg_create_attach_templ(637): open failed - No such file or directory 
Unexpected output in attric: op_read error on left context: Error = -1 
Unexpected output in attric: 
Unexpected output in attric: unable to read the cmd header on the left context, Error = -1 
Unexpected output in attric: . 
Unexpected output in attric: 
Unexpected output in attric: mpiexec terminated job due to 180 second timeout. 
Program attric exited without No Errors 
The two computer are the same computer hardware. And I use the same method installing. 
Can you give me some advices to solve the problem? 

Best regards, 
Chi-Che Hsieh 


More information about the mpich-discuss mailing list