<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:&quot;Arial&quot;,&quot;sans-serif&quot;" 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:&quot;Calibri&quot;,&quot;sans-serif&quot;">Thanks.</span><br><br><br>---------- Forwarded message ----------<br>From: Laurence Marks &lt;<a href="mailto:L-marks@northwestern.edu" target="_blank">L-marks@northwestern.edu</a>&gt;<br>


To: A Mailing list for WIEN2k users &lt;<a href="mailto:wien@zeus.theochem.tuwien.ac.at" target="_blank">wien@zeus.theochem.tuwien.ac.at</a>&gt;<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 &lt;<a href="mailto:hassan.jamnejad@gmail.com" target="_blank">hassan.jamnejad@gmail.com</a>&gt; wrote:<br>
&gt; dear all<br>
&gt; recently I switch to MPI parallel execution.I compile the<br>
&gt; scalapack.2.0.1 and GotoBLAS2 and recompiled wien2k sources.bellow you<br>
&gt; will see the compiler option which I set for compiling the wien2k.<br>
&gt;<br>
&gt; Current settings:<br>
&gt;  O   Compiler options:        -ffree-form -O2 -ffree-line-length-none<br>
&gt;  L   Linker Flags:            $(FOPT) -L/home/GotoBLAS2 -lpthread<br>
&gt;  P   Preprocessor flags       &#39;-DParallel&#39;<br>
&gt;  R   R_LIB (LAPACK+BLAS):     -lgoto2 -lpthread<br>
&gt;<br>
&gt;<br>
&gt; Current parallel compilation option settings:<br>
&gt;     RP  RP_LIB(SCALAPACK+PBLAS): -lgoto2 -L/home/scalapack -lscalapack -lmpi -ldfftw_mpi -ldfftw<br>
&gt;     FP  FPOPT(par.comp.options): -ffree-form -O2<br>
&gt;     MP  MPIRUN commando        : mpirun -np _NP_ -machinefile _HOSTS_ _EXEC_<br>
&gt;<br>
&gt; unfortunately upon execution on the same test case file the cycles execution fall in long time execution on lapw1para.<br>
&gt; the .machines file is as bellow too:<br>
&gt; 1:localhost:3<br>
&gt; granularity:1<br>
&gt; extrafine:1<br>
&gt;<br>
&gt; also I have set OMP_NUM_THREADS to 4 in .bashrc and the OS istalled on the machine is openSUSE-11.4.<br>
&gt;<br>
&gt; I would appreciate if anyone can help me on the issue.<br>
&gt; kind regard<br>
&gt; hassan<br>
&gt;<br>
&gt; ______________________________<div>_________________<br>
&gt; Wien mailing list<br>
&gt; <a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank">Wien@zeus.theochem.tuwien.ac.at</a><br>
&gt; <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>
&quot;Research is to see what everybody else has seen, and to think what<br>
nobody else has thought&quot;<br>
Albert Szent-Gyorgi<br>
</div><br>