<div>Dear all,</div>
<div> </div>
<div>I have recently downloaded and installed PWscf 3.2.2. After installation, I am trying to </div>
<div>run the examples. My cluster is a Linux PC cluster with MPI (mpich), use LSF system</div>
<div>to manage the jobs. As the manual said (P. 20) "... if your machine does not support </div>
<div>interactive use, you must run the commands specified below through the batch queueing<br>system installed on that machine...." </div>
<div> </div>
<div><font color="#000080">I have used a script to submit the job:</font></div>
<div><font color="#000080">гнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгн<br>#!/bin/bash<br>#BSUB -q demo<br>#BSUB -J ex01<br>#BSUB -R span[ptile=2]<br>#BSUB -o %J.log<br>#BSUB -a mpich_gm<br>#BSUB -c 4800:00<br>#BSUB -n 16<br><br>pw.x <
<a href="http://si.scf.cg.in">si.scf.cg.in</a> > si.scf.cg.out<br>гнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгн<br>errorsг║<br>...<br><MPICH-GM> Error: Need to obtain the job magic number in GMPI_MAGIC !<br>/nfs/s07r2p1/beauchemist/.lsbatch/1181009945.198656.shell: line 10: 27824
<br>Broken pipe <font color="#000080">pw.x < <a href="http://si.scf.cg.in">si.scf.cg.in</a> > si.scf.cg.out</font><br><br></font><font color="#000080">Then I change the script to:</font><font color="#000080"><br>
гнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгн<br>#!/bin/bash<br>...</font></div>
<div><font color="#000080">#BSUB -n 16<br><br>mpirun -np 16 <font color="#000080">pw.x </font>-npool 8 <font color="#000080">< <a href="http://si.scf.cg.in">si.scf.cg.in</a> > si.scf.cg.out</font><br><br>гнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгн
<br>there is no error but the .out file is empty.<br><br>When change it toг║<br>гнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгн<br>#!/bin/bash<br>...</font></div>
<div><font color="#000080">#BSUB -n 16<br><br>mpirun.lsf <font color="#000080">pw.x < <a href="http://si.scf.cg.in">si.scf.cg.in</a> > si.scf.cg.out</font><br>гнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгнгн<br>errorг║<br>1 - MPI_COMM_RANK : Null communicator
<br>[1] Aborting program !<br>[1] Aborting program!<br>0 - MPI_COMM_RANK : Null communicator<br>[0] Aborting program !<br>[0] Aborting program!<br><br>I do not know what is the caseгмAny help is appreciated!</font></div>
<div> </div>
<div><font color="#000080">PS: the followed is the summary of make.sys file (other variables are empty):</font></div>
<div><font color="#000080">
<p>.f90.o:<br> $(MPIF90) $(F90FLAGS) -c $<</p>
<p>.f.o:<br> $(F77) $(FFLAGS) -c $<</p>
<p>.c.o:<br> $(CC) $(CFLAGS) -c $<</p>
<p><br>DFLAGS = -D__INTEL -D__FFTW -D__USE_INTERNAL_FFTW -D__MPI -D__PARA<br>FDFLAGS = $(DFLAGS)</p>
<p>IFLAGS = -I../include<br></p></font></div>
<div>
<p>MODFLAGS = -I./ -I../Modules -I../iotk/src \<br> -I../PW -I../PH -I../CPV</p>
<p>MPIF90 = mpif90<br>CC = icc<br>F77 = ifort</p>
<p>CPP = cpp<br>CPPFLAGS = -P -traditional $(DFLAGS) $(IFLAGS)</p>
<p>CFLAGS = -O3 $(DFLAGS) $(IFLAGS)<br>F90FLAGS = $(FFLAGS) -nomodule -fpp $(FDFLAGS) $(IFLAGS) $(MODFLAGS)<br>FFLAGS = -O2 -tpp6 -assume byterecl</p>
<p>FFLAGS_NOOPT = -O0 -assume byterecl</p>
<p>BLAS_LIBS = -L/opt/intel/mkl70/lib/32 -lmkl_ia32 -lguide -lpthread</p>
<p>LAPACK_LIBS = -lmkl_lapack</p>
<p>MPI_LIBS = /usr/local/mpich/smp/intel32/ssh/lib/libmpichf90.a</p>
<p>AR = ar<br>ARFLAGS = ruv<br>ARFLAGS_DYNAMIC= ruv</p>
<p>RANLIB = ranlib</p>
<p>LIBOBJS = ../flib/ptools.a ../flib/flib.a ../clib/clib.a ../iotk/src/libiotk.a<br></p>
<p>LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FFT_LIBS) $(MPI_LIBS) $(MASS_LIBS) $(PGPLOT_LIBS)<br></p><br> </div>
<div> </div>