<div dir="ltr">Go for it! I want to see how it turns out.<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jan 19, 2014 at 6:41 PM, Sean Farley <span dir="ltr">&lt;<a href="mailto:sean@macports.org" target="_blank">sean@macports.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
<a href="mailto:sean@macports.org">sean@macports.org</a> writes:<br>
<br>
&gt; <a href="mailto:sean@macports.org">sean@macports.org</a> writes:<br>
&gt;<br>
&gt;&gt; <a href="mailto:sean@macports.org">sean@macports.org</a> writes:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Hello all and Happy Boxing Day!<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I have done a complete rewrite of the compilers and mpi port groups<br>
&gt;&gt;&gt; based on suggestions from previous emails. I will try to keep this email<br>
&gt;&gt;&gt; short and provide links for those that want to know more.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Highlights:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; - specify which compilers to set via compilers.choose,<br>
&gt;&gt;&gt;   e.g. &#39;compilers.choose f77 f90 fc&#39;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; - functions for testing if fortran has been selected for optional<br>
&gt;&gt;&gt;   interfaces<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; - portfile author can specify if fortran (or mpi) is required<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; - unified and have made non-conflicting openmpi and mpich ports; also<br>
&gt;&gt;&gt;   added an openmpi-devel port [1]<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; - can now select either mpi port as the default mpi installation<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Example of a portfile using the new compilers portgroup:<br>
&gt;&gt;&gt; <a href="https://smf.io/macports/changeset/compilers" target="_blank">https://smf.io/macports/changeset/compilers</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Example of a portfile that uses the mpi portgroup:<br>
&gt;&gt;&gt; <a href="https://smf.io/macports/files/mpi/dports/science/hdf5-18/Portfile" target="_blank">https://smf.io/macports/files/mpi/dports/science/hdf5-18/Portfile</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; The changes I made to the sparskit and hdf5-18 portfiles are just<br>
&gt;&gt;&gt; examples I did for illustrative purposes. I won&#39;t push them unless the<br>
&gt;&gt;&gt; portfile author wants it. The mpich and openmpi portfiles need these<br>
&gt;&gt;&gt; changes so that the mpi portgroup will work.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Anyway, I&#39;d like to push this soon so that I can continue other work<br>
&gt;&gt;&gt; (and close a lot of tickets), so it&#39;d be great if others could take a<br>
&gt;&gt;&gt; look at the proposed changes.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; [1] <a href="https://smf.io/macports/changeset/81bb51" target="_blank">https://smf.io/macports/changeset/81bb51</a> or look at the changelog<br>
&gt;&gt;&gt; <a href="https://smf.io/macports/changelog" target="_blank">https://smf.io/macports/changelog</a> to see all the diffs<br>
&gt;&gt;<br>
&gt;&gt; Just an update to say that I&#39;ve gone ahead and finished updating all the<br>
&gt;&gt; ports that use mpi to use this new port group. The only work that needs<br>
&gt;&gt; to be done is to get some review of this patch series and after that,<br>
&gt;&gt; permission to push.<br>
&gt;&gt;<br>
&gt;&gt; I&#39;ve cc&#39;d the people who are the maintainers of the ports I changed,<br>
&gt;&gt; listed below. It&#39;d be great to have you guys look at the changes.<br>
&gt;&gt;<br>
&gt;&gt; dstrubbe: sparskit, hpl, octopus<br>
&gt;&gt;<br>
&gt;&gt; eborisch: mpich<br>
&gt;&gt;<br>
&gt;&gt; mww: openmpi<br>
&gt;&gt;<br>
&gt;&gt; raimue: valgrind, valgrind-devel<br>
&gt;&gt;<br>
&gt;&gt; takeshi: berkeley_upc, omnixmp, gnudatalanguage, netcdf, netcdf-cxx,<br>
&gt;&gt; netcdf-cxx4, netcdf-fortran<br>
&gt;&gt;<br>
&gt;&gt; mmoll: optpp, hdf5-18, arpack<br>
&gt;&gt;<br>
&gt;&gt; hum: plda<br>
&gt;&gt;<br>
&gt;&gt; howarth: apbs-mpi<br>
&gt;&gt;<br>
&gt;&gt; mattoates: raxml<br>
&gt;&gt;<br>
&gt;&gt; mk: scotch<br>
&gt;&gt;<br>
&gt;&gt; michaelld: SuiteSparse<br>
&gt;&gt;<br>
&gt;&gt; Check out <a href="http://smf.io/macports" target="_blank">http://smf.io/macports</a> for the updated changes.<br>
&gt;&gt;<br>
&gt;&gt; Having other people look at this would be great and hopefully would<br>
&gt;&gt; catch some of the errors I missed. The common ones I noticed were<br>
&gt;&gt; missing revbumps (though, I think I got all of those now).<br>
&gt;&gt;<br>
&gt;&gt; Documentation is very much &quot;read the comments and the code itself or<br>
&gt;&gt; look at an example&quot; so, apologies about that. Also, sometimes I couldn&#39;t<br>
&gt;&gt; think of a good name for a proc, so if anyone has a better name, please<br>
&gt;&gt; speak up.<br>
&gt;&gt;<br>
&gt;&gt; Some changes since last email are:<br>
&gt;&gt;<br>
&gt;&gt; - ensure the same mpi is used via mpi.enforce_variant<br>
&gt;&gt;<br>
&gt;&gt; - ensure the same c compiler is used (even when using mpi) via<br>
&gt;&gt;   compilers.enforce_c<br>
&gt;&gt;<br>
&gt;&gt; - similar for fortran, compilers.enforce_fortran<br>
&gt;&gt;<br>
&gt;&gt; - test for avx compatible compiler via avx_variant_isset<br>
&gt;&gt;<br>
&gt;&gt; Still yet to be done is to replace all custom recipes done for the<br>
&gt;&gt; compiler variants. By my count, there are no more than 72 of those<br>
&gt;&gt; ports. This is lower priority since they&#39;ll still work as is.<br>
&gt;<br>
&gt; If nobody has any objections to this, I was hoping to push this in a few days.<br>
<br>
</div></div>Any objections before I push? I guess at this point the errors that are<br>
left are of the type that one finds after trying to get the buildbot to<br>
compile a port.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
macports-dev mailing list<br>
<a href="mailto:macports-dev@lists.macosforge.org">macports-dev@lists.macosforge.org</a><br>
<a href="https://lists.macosforge.org/mailman/listinfo/macports-dev" target="_blank">https://lists.macosforge.org/mailman/listinfo/macports-dev</a><br>
</div></div></blockquote></div><br></div>