<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 18, 2013 at 6:47 PM, Roland Schulz <span dir="ltr">&lt;<a href="mailto:roland@utk.edu" target="_blank">roland@utk.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Jun 18, 2013 at 11:05 AM, Mark Abraham &lt;<a href="mailto:mark.j.abraham@gmail.com">mark.j.abraham@gmail.com</a>&gt; wrote:<br>

<div><div class="h5">&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Jun 17, 2013 at 7:59 PM, Roland Schulz &lt;<a href="mailto:roland@utk.edu">roland@utk.edu</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Jun 17, 2013 at 1:10 PM, Mark Abraham &lt;<a href="mailto:mark.j.abraham@gmail.com">mark.j.abraham@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Mon, Jun 17, 2013 at 6:16 PM, Manuel Nuno Melo &lt;<a href="mailto:m.n.melo@rug.nl">m.n.melo@rug.nl</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Hi,<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I have also had linking problems when making in parallel. In my case<br>
&gt;&gt; &gt;&gt; they<br>
&gt;&gt; &gt;&gt; could be traced back to the option to let GMX download/build its own<br>
&gt;&gt; &gt;&gt; fftw<br>
&gt;&gt; &gt;&gt; (-DGMX_BUILD_OWN_FFTW=ON).<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; It seems that only one of make&#39;s threads starts building fftw, while<br>
&gt;&gt; &gt;&gt; the<br>
&gt;&gt; &gt;&gt; others go ahead building/linking GMX. Since fftw compilation is not<br>
&gt;&gt; &gt;&gt; ready by<br>
&gt;&gt; &gt;&gt; the time it is needed, GMX linking is botched.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Yes, Rossen first showed this to me. I don&#39;t know if the underlying<br>
&gt;&gt; &gt; issue is<br>
&gt;&gt; &gt; that the dependency cannot be described properly, or that we&#39;re not<br>
&gt;&gt; &gt; doing it<br>
&gt;&gt; &gt; properly. If it&#39;s a problem, people are welcome to contribute a fix! :-)<br>
&gt;&gt; It was working in <a href="https://gerrit.gromacs.org/#/c/1675/12" target="_blank">https://gerrit.gromacs.org/#/c/1675/12</a>. You then<br>
&gt;&gt; changed how the dependency works in patch set 13. You never replied to<br>
&gt;&gt; Christophs comment why this was changed (at least I can&#39;t find a<br>
&gt;&gt; reply). Do you remember?<br>
&gt;<br>
&gt;<br>
</div></div><div class="im">&gt; I couldn&#39;t remember, but gerrit can - I never published a series of<br>
&gt; responses I made back then, sorry. Now published at<br>
&gt; <a href="https://gerrit.gromacs.org/1675" target="_blank">https://gerrit.gromacs.org/1675</a><br>
&gt;<br>
</div><div class="im">&gt;&gt; Otherwise I can change it back as 12 did it<br>
&gt;&gt; and it should work again.<br>
&gt;<br>
&gt;<br>
</div><div class="im">&gt; It might do, but as I said in those secret drafts the form of patch 12<br>
&gt; doesn&#39;t work on cmake 2.8.7 because of a bug there in add_library(...GLOBAL)<br>
&gt; (and I suspect is probably too global, anyway, but this probably does no<br>
&gt; harm?).<br>
&gt;<br>
&gt; So I&#39;m still not sure there&#39;s a convenient solution that works in all cases.<br>
&gt; Compromising the smooth running of a parallel make for someone downloading<br>
&gt; FFTW seems like the most low-impact problem of the set we could choose to<br>
&gt; have.<br>
<br>
</div>Probably true. Just doesn&#39;t give a good first impression of us to new users.<br>
I think we should also consider for the future whether we really want<br>
to support ~11 unmaintained version of cmake (including for all our<br>
optional features). Downloading cmake is no big deal. They have<br>
binaries to download. And cmake doesn&#39;t fix any version but for the<br>
most recent version. So it seems odd that we try to maintain<br>
workarounds for the last ~11 versions which are all unmaintained by<br>
the cmake developers. That seems like it is going to stay a really<br>
annoying maintenance task.<br></blockquote><div><br></div><div style>True. Now that we&#39;ve shown it is a PITA for the developers to work around a handful of known issues with various 2.8.x point releases of CMake, it sounds reasonable to me that we pick a late-model CMake 2.8.x as the requirement for GROMACS 5. That could open the door to an alternative implementation for self-built FFTW.</div>
<div style><br></div><div style>Mark</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Roland<br>
<br>
<br>
&gt;<br>
&gt; Mark<br>
<div class="HOEnZb"><div class="h5">&gt;<br>
&gt;&gt;<br>
&gt;&gt; Roland<br>
&gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Mark<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Cheers,<br>
&gt;&gt; &gt;&gt; Manel<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt; Hi,<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; I too suspect filesystem issues or clock skews. I think I tested make<br>
&gt;&gt; &gt;&gt; &gt; -j<br>
&gt;&gt; &gt;&gt; &gt; and make -j 12. The cluster is currently down for maintenance, so I<br>
&gt;&gt; &gt;&gt; &gt; can&#39;t<br>
&gt;&gt; &gt;&gt; &gt; inspect the details at the moment.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; On 5 Apr 2013, at 13:14, Alexey Shvetsov &lt;alexxy at <a href="http://omrb.pnpi.spb.ru" target="_blank">omrb.pnpi.spb.ru</a>&gt;<br>
&gt;&gt; &gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; &gt; Hi Erik<br>
&gt;&gt; &gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; &gt; What are underlaying filesystem on this cluster? If it slow or<br>
&gt;&gt; &gt;&gt; &gt; &gt; overloaded<br>
&gt;&gt; &gt;&gt; &gt; &gt; somehow it may lead to parallel make issues. Also it may be related<br>
&gt;&gt; &gt;&gt; &gt; &gt; to<br>
&gt;&gt; &gt;&gt; &gt; &gt; make<br>
&gt;&gt; &gt;&gt; &gt; &gt; version (some old versions may expose such behavior). How many make<br>
&gt;&gt; &gt;&gt; &gt; &gt; threads do<br>
&gt;&gt; &gt;&gt; &gt; &gt; you issued? I tryed with make -j64 and it builds fine with recent<br>
&gt;&gt; &gt;&gt; &gt; &gt; cmake<br>
&gt;&gt; &gt;&gt; &gt; &gt; (2.8.10) and make (3.82) utility.<br>
&gt;&gt; &gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; &gt; ÷ ÐÉÓØÍÅ ÏÔ 5 ÁÐÒÅÌÑ 2013 11:55:27 ÐÏÌØÚÏ×ÁÔÅÌØ Erik Marklund<br>
&gt;&gt; &gt;&gt; &gt; &gt; ÎÁÐÉÓÁÌ:<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt; Hi,<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt; Building gromacs 4.6.1 failed whenever I issued parallel make,<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt; i.e.<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt; make -j.<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt; I reported this to the cluster admins since I had never seen such<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt; behaviour<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt; before from gromacs&#39; side, and here&#39;s their reply. I can&#39;t tell<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt; whether<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt; gromacs is at fault or the cluster.<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt; Erik<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt; Begin forwarded message:<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt; Hi,<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt;&gt; I was compiling gromacs on tintin&#39;s login node the other day and<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt;&gt; it<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt;&gt; šseems that parallel make, i.e. make -j, doesn&#39;t work on tintin.<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt;&gt; I<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt;&gt; šgot linker errors that never showed up when make was run<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt;&gt; serially.<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt;&gt; šI&#39;ve never encountered such behaviour before.<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt; Without any more information (or being able to look for actual<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt; files<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt; right<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt; now), I&#39;d guess this is a problem with the makefiles rather than<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt; the<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt; actual make. It seems somewhat unexpected that CMake would create<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt; makefiles that aren&#39;t safe for parallel building, but it does<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt; seem<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt; the<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt; most likely culprit (assuming it doesn&#39;t let developers add rules<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt; directly to the makefile to work around problems, I don&#39;t<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt; remember<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt; if<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt; that&#39;s possible).<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt; That you only see the problem on tintin can likely be explained<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt; by<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt; timing<br>
&gt;&gt; &gt;&gt; &gt; &gt;&gt;&gt; or other non deterministic factors.<br>
&gt;&gt; &gt;&gt; &gt; &gt; --<br>
&gt;&gt; &gt;&gt; &gt; &gt; Best Regards,<br>
&gt;&gt; &gt;&gt; &gt; &gt; Alexey &#39;Alexxy&#39; Shvetsov<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; --<br>
&gt;&gt; &gt;&gt; gmx-developers mailing list<br>
&gt;&gt; &gt;&gt; <a href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</a><br>
&gt;&gt; &gt;&gt; <a href="http://lists.gromacs.org/mailman/listinfo/gmx-developers" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-developers</a><br>
&gt;&gt; &gt;&gt; Please don&#39;t post (un)subscribe requests to the list. Use the<br>
&gt;&gt; &gt;&gt; www interface or send it to <a href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a>.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; ORNL/UT Center for Molecular Biophysics <a href="http://cmb.ornl.gov" target="_blank">cmb.ornl.gov</a><br>
&gt;&gt; 865-241-1537, ORNL PO BOX 2008 MS6309<br>
&gt;&gt; --<br>
&gt;&gt; gmx-developers mailing list<br>
&gt;&gt; <a href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</a><br>
&gt;&gt; <a href="http://lists.gromacs.org/mailman/listinfo/gmx-developers" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-developers</a><br>
&gt;&gt; Please don&#39;t post (un)subscribe requests to the list. Use the<br>
&gt;&gt; www interface or send it to <a href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a>.<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
ORNL/UT Center for Molecular Biophysics <a href="http://cmb.ornl.gov" target="_blank">cmb.ornl.gov</a><br>
865-241-1537, ORNL PO BOX 2008 MS6309<br>
--<br>
gmx-developers mailing list<br>
<a href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</a><br>
<a href="http://lists.gromacs.org/mailman/listinfo/gmx-developers" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-developers</a><br>
Please don&#39;t post (un)subscribe requests to the list. Use the<br>
www interface or send it to <a href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a>.<br>
</div></div></blockquote></div><br></div></div>