On Monday, August 22, 2016, Jingchao Zhang <zh...@unl.edu> wrote: > Hi all, > > > We compiled openmpi/2.0.0 with gcc/6.1.0 and intel/13.1.3. Both of them > have odd behaviors when trying to read from standard input. > > > For example, if we start the application lammps across 4 nodes, each node > 16 cores, connected by Intel QDR Infiniband, mpirun works fine for the > 1st time, but always stuck in a few seconds thereafter. > > Command: > > mpirun ./lmp_ompi_g++ < in.snr > > in.snr is the Lammps input file. compiler is gcc/6.1. > > > Using stdin with MPI codes is at best brittle. It is generally discouraged. Furthermore, it is straight up impossible on some supercomputer architectures.
> Instead, if we use > > mpirun ./lmp_ompi_g++ -in in.snr > > it works 100%. > > Just do this all the time. AFAIK Quantum Espresso has the same option. I never need stdin to run MiniDFT (i.e. QE-lite). Since both codes you name already have the correct workaround for stdin, I would not waste any time debugging this. Just do the right thing from now on and enjoy having your applications work. Jeff -- Jeff Hammond jeff.scie...@gmail.com http://jeffhammond.github.io/
_______________________________________________ users mailing list users@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/users