<br><font size=2 face="sans-serif">Can someone from the support give me
an answer which solves or not my problems, please ? Thanks !</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Ephi MAGLARAS-CSSI/EXT/SPS</b></font>
<p><font size=1 face="sans-serif">13/11/2009 11:25</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td><font size=1 face="sans-serif">Anthony Chan &lt;chan@mcs.anl.gov&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">Alain DEGUEIL/FP/SPS@SPS, mpich-discuss@mcs.anl.gov,
Yves CHAMPAGNAC/FP/SPS@SPS</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">Re: [mpich2-maint] Problems with time
and stdin</font><a href=Notes://BORDEAUX/C12575220035EC5B/B357CB43C5B87851C12576700031CD6A/1F0357FB7D929D8BC125766C00733441>Lien</a></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br><font size=2 face="sans-serif">Do you mean that &quot;time&quot; returns
the time of communications between processors ? So we probably don't have
the same &quot;time&quot; command.</font>
<br><font size=2 face="sans-serif">I gave the comparison with intel MPI
in order to show what are the results of &quot;time&quot; on our system
(&quot;man time&quot;), it's not a problem with intel MPI : </font>
<br><font size=2 face="sans-serif">&nbsp;- &quot;real time&quot; is the
wall time, i.e. the elapsed real time between invocation and termination.
It's about 10 seconds for the job, with MPI or MPICH2.</font>
<br><font size=2 face="sans-serif">&nbsp;- &quot;user time&quot; is the
CPU time, i.e. the sum of CPU time of all processors. We are interested
in this time for our statistics. So with 4 processors, it's nearly 4*(real
time). You can verify the result of &quot;time&quot; with the simple program
&quot;loop.f90&quot; : compile and run it with the command &quot;time&quot;.
Here it gives 64.959s for the real time and 63.537s for the user CPU time.
On our system, &quot;time&quot; returns the good value with an MPI job
but not with an MPICH2 one. That is the problem which does not enable us
to make statistics.</font>
<br><font size=2 face="sans-serif">Please can you tell me if you have the
same &quot;time&quot; command or not, for example by sending the result
of &quot;man time&quot; ? Thank you.</font>
<br>
<br><font size=2 face="sans-serif">As for the stdin problem, the test case
I sent you (tutu.f90) does not have a too large stdin file, only 1000 lines,
so why the stdin is not supported (error messages) ? It runs well with
native MPI, with mpich (1), with lammpi but not with mpich2.</font>
<br><font size=2 face="sans-serif">We don't have hydra and I can't modify
the sources of my &quot;real&quot; program since it runs well with other
mpis.</font>
<br><font size=2 face="sans-serif">[rattachement &quot;loop.f90&quot; supprimé
par Ephi MAGLARAS-CSSI/EXT/SPS] </font>
<br><font size=2 face="sans-serif">Thank you.</font>
<br><font size=2 face="sans-serif">Best regards.</font>
<br><font size=2 face="sans-serif">Ephi.</font>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>chan@mcs.anl.gov</b> </font>
<p><font size=1 face="sans-serif">12/11/2009 21:58</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Veuillez répondre à<br>
Anthony Chan &lt;chan@mcs.anl.gov&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td><font size=1 face="sans-serif">Ephi MAGLARAS-CSSI/EXT/SPS@SPS</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">Alain DEGUEIL/FP/SPS@SPS, Yves CHAMPAGNAC/FP/SPS@SPS,
mpich-discuss@mcs.anl.gov</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">Re: [mpich2-maint] Problems with time
and stdin</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2><br>
Since this is a general MPICH usage question, I am forwarding<br>
to mpich-discuss.<br>
<br>
It seems you are comparing Intel MPI with MPICH2-1.0.8p1.<br>
I don't have access to Intel MPI so don't know why the intel<br>
MPI's uses so much user time on your simple program that<br>
does not do any communication. Maybe you could contact Intel<br>
MPI support for the answer.<br>
<br>
What do you mean by &quot;stdin files not well supported&quot; ?<br>
If the default process manager, mpd, does not fit your<br>
need, you could try other process managers like hydra<br>
(i.e. mpiexec.hydra) which is available though the latest<br>
MPICH2 release, 1.2.1rc1. &nbsp;If you want to read large amount<br>
of data to rank 0 (or all ranks), you may want to open/read<br>
the file on rank 0 (then broadcast the data to every ranks).<br>
<br>
A.Chan<br>
<br>
----- &quot;ephi maglaras-cssi&quot; &lt;ephi.maglaras-cssi@snecma.fr&gt;
wrote:<br>
<br>
&gt; Dear,<br>
&gt; I meet 2 kind of problems when running an mpich2 job : <br>
&gt; &nbsp; - the &quot;time&quot; command does not give the user time<br>
&gt; &nbsp; - stdin files are not well supported<br>
&gt; I compared mpich2 with native mpi. You can find test cases below (zip<br>
&gt; <br>
&gt; files), see README files for the problem descriptions.<br>
&gt; How can I solve these problems ?<br>
&gt; Thanks.<br>
&gt; Best regards.<br>
&gt; Ephi MAGLARAS.<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; mpich2-maint mailing list<br>
&gt; mpich2-maint@lists.mcs.anl.gov<br>
&gt; https://lists.mcs.anl.gov/mailman/listinfo/mpich2-maint<br>
[rattachement &quot;time.zip&quot; supprimé par Ephi MAGLARAS-CSSI/EXT/SPS]
[rattachement &quot;stdin.zip&quot; supprimé par Ephi MAGLARAS-CSSI/EXT/SPS]
</font></tt>
<br>
<br>#
" This e-mail and any attached documents may contain confidential or proprietary information. If you are not the intended recipient, please advise the sender immediately and delete this e-mail and all attached documents from your computer system. Any unauthorised disclosure, distribution or copying hereof is prohibited."

" Ce courriel et les documents qui y sont attaches peuvent contenir des informations confidentielles. Si vous n'etes  pas le destinataire escompte, merci d'en informer l'expediteur immediatement et de detruire ce courriel  ainsi que tous les documents attaches de votre systeme informatique. Toute divulgation, distribution ou copie du present courriel et des documents attaches sans autorisation prealable de son emetteur est interdite."
#