On Nov 13, 2018, at 10:27 AM, Si, Min via discuss <discuss@mpich.org> wrote:
Hi Zhifeng,_______________________________________________
You have to always execute the MPI program by using mpirun or mpiexec with -np <number of processes>.
At MPI_Init, the process tries to read information (e.g., MPI rank, number of processes) from the PMI server which is another process launched by the mpiexec command. This information is necessary for MPI library to initialize communication (e.g., connecting two processes).
Best regards,
Min
On 2018/11/04 10:27, Zhifeng Yang via discuss wrote:
Hi
After I installed mpich and used it in a FORTRAN code. There is an error while running this FORTRAN code called real.exe by using the following command
$./real.exeor$mpirun ./real.exereal.exe: error: _get_addr: No such file or directoryreal.exe: error: _get_addr: No such file or directoryreal.exe: error: _get_addr: No such file or directoryFatal error in MPI_Init: Other MPI error, error stack:MPIR_Init_thread(784).....:MPID_Init(1323)...........: channel initialization failedMPIDI_CH3_Init(120).......:MPID_nem_init_ckpt(852)...:MPIDI_CH3I_Seg_commit(364): PMI_Barrier returned -1But while using mpirun with specifying number of processors. as follows$mpirun -np 1 ./real.exeThere is no error any more. I am not sure why? do you have any explanation? Thank you very much
Best regardsZhifeng
_______________________________________________ discuss mailing list discuss@mpich.org To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
discuss mailing list discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss