<p class="MsoNormal" dir="RTL" style="text-align:left"><span dir="LTR">Dear
WIEN users,</span></p><p class="MsoNormal" dir="RTL" style="text-align:left"><br><span dir="LTR"></span><span style="font-family:"Arial","sans-serif"" lang="FA"></span></p>
<p class="MsoNormal" dir="RTL" style="text-align:left" align="right"><span dir="LTR">My
system has 4cores and I use open </span><span dir="LTR">MPI</span><span dir="LTR"><span> 1.2.8-17.4</span>. In addition, I try to use all processors
of a single machine. And I think there must be differences between non-MPI usage
of a single processor in a quad system and MPI usage of all processor in the
same machine. </span></p>
<p class="MsoNormal" dir="RTL" style="text-align:left" align="right"><span dir="LTR">Also
is there any way to use all processors of a machine in a non-MPI run? And is
it sufficient to use three quad core to see the difference between two run (MPI
and non-MPI on the same case)?</span></p>
<span style="font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-serif"">Thanks.</span><br><br><br>---------- Forwarded message ----------<br>From: Laurence Marks <<a href="mailto:L-marks@northwestern.edu" target="_blank">L-marks@northwestern.edu</a>><br>
To: A Mailing list for WIEN2k users <<a href="mailto:wien@zeus.theochem.tuwien.ac.at" target="_blank">wien@zeus.theochem.tuwien.ac.at</a>><br>Cc: <br>Date: Thu, 26 Apr 2012 11:22:27 -0500<br>Subject: Re: [Wien] MPI parallel execution take much time than nonparallel on the same case on the multiprosesor single machine<br>
How many cores do you have, and what version of mpi are you using?<br>
Running mpi with only 3 processes on one machine is almost certainly<br>
not going to be efficient and for that just stay with non-mpi. With a<br>
dual quadcore (8 cores) or more it can be, provided that the mpi<br>
version you use optimizes well.<br>
<br>
N.B., for mpi you want OMP_NUM_THREADS=1, threads and mpi conflict.<br>
<br>
On Thu, Apr 26, 2012 at 11:11 AM, jam <<a href="mailto:hassan.jamnejad@gmail.com" target="_blank">hassan.jamnejad@gmail.com</a>> wrote:<br>
> dear all<br>
> recently I switch to MPI parallel execution.I compile the<br>
> scalapack.2.0.1 and GotoBLAS2 and recompiled wien2k sources.bellow you<br>
> will see the compiler option which I set for compiling the wien2k.<br>
><br>
> Current settings:<br>
> O Compiler options: -ffree-form -O2 -ffree-line-length-none<br>
> L Linker Flags: $(FOPT) -L/home/GotoBLAS2 -lpthread<br>
> P Preprocessor flags '-DParallel'<br>
> R R_LIB (LAPACK+BLAS): -lgoto2 -lpthread<br>
><br>
><br>
> Current parallel compilation option settings:<br>
> RP RP_LIB(SCALAPACK+PBLAS): -lgoto2 -L/home/scalapack -lscalapack -lmpi -ldfftw_mpi -ldfftw<br>
> FP FPOPT(par.comp.options): -ffree-form -O2<br>
> MP MPIRUN commando : mpirun -np _NP_ -machinefile _HOSTS_ _EXEC_<br>
><br>
> unfortunately upon execution on the same test case file the cycles execution fall in long time execution on lapw1para.<br>
> the .machines file is as bellow too:<br>
> 1:localhost:3<br>
> granularity:1<br>
> extrafine:1<br>
><br>
> also I have set OMP_NUM_THREADS to 4 in .bashrc and the OS istalled on the machine is openSUSE-11.4.<br>
><br>
> I would appreciate if anyone can help me on the issue.<br>
> kind regard<br>
> hassan<br>
><br>
> ______________________________<div>_________________<br>
> Wien mailing list<br>
> <a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank">Wien@zeus.theochem.tuwien.ac.at</a><br>
> <a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
<br>
<br>
<br>
--<br>
Professor Laurence Marks<br>
Department of Materials Science and Engineering<br>
Northwestern University<br>
<a href="http://www.numis.northwestern.edu/" target="_blank">www.numis.northwestern.edu</a> 1-847-491-3996<br>
"Research is to see what everybody else has seen, and to think what<br>
nobody else has thought"<br>
Albert Szent-Gyorgi<br>
</div><br>