[mvapich-discuss] Problem with reading parameters from stdin

Liu Jianyu jerry_leo at msn.com
Thu Apr 16 12:41:39 EDT 2015


Hi,


I have a problem with reading namelist from stdin for the MPI run if built
ARPS with mvapich2 2.0b

For example,

    mpirun -np 12 arps_mpi  < namelist.input

It  aborted with "process reading stdin too slowly" immediately.

It is required that only one processor ( the root processor with rank0)
reads the stdin for configuration parameters.  In the IBM Parallel 
Operatin Environment, there is an option "stdinmode 0" instructs 
POE to allow only the processor with rank 0 read the stdin.

Just wondering how to do this way with mvapich2 ?


Here are the output of ' mpiname -a'

./mpiname -a
MVAPICH2 2.0b Fri Nov  8 11:17:40 EST 2013 ch3:nemesis

Compilation
CC: icc    -DNDEBUG -DNVALGRIND -O2
CXX: icpc   -DNDEBUG -DNVALGRIND -O2
F77: ifort   -O2
FC: ifort   -O2

Configuration
--prefix=/nuist/p/public/app/mvapich2/2.0b/intel  \
--with-ib-libpath=/usr/lib64   \
--with-ib-include=/usr/include  \
--with-ibverbs-include=/usr/include \
--with-ibverbs-lib=/usr/lib64  \
--with-ibverbs=/  \
--enable-f77   \
--enable-fc  \
--with-device=ch3:nemesis:ib,tcp


Appreciating any comments

Regards


Jerry





More information about the mvapich-discuss mailing list