<br><br><div class="gmail_quote">On Wed, Jun 30, 2010 at 7:56 AM, Sander Pronk <span dir="ltr">&lt;<a href="mailto:pronk@cbr.su.se">pronk@cbr.su.se</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I&#39;ve implemented auto-detection of the CFLAGS (and CXXFLAGS). Right now, it works for gcc and icc. There are a few compilers I&#39;d like to add, that I don&#39;t have access to. Specifically:<br>
<br>
xlc on Linux and AIX<br>
the pgi compilers on x86<br></blockquote><div>-fastsse. </div><div>Not sure whether IPA helps. If one wants IEEE correct math one needs to add -Kieee. Does someone know whether this is required for GROMACS? One can also gain with GCC by adding -ffast-math. Is this safe?</div>

<div>Currently PGI doesn&#39;t compile. But Peter told me he has a patch almost ready.</div><div><br></div><div>Pathscale:</div><div>-O3 -OPT:Ofast -fno-math-errno -ffast-math  (if fast-math and no-math-errno is OK, again not sure if ipa helps)</div>

<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">and any compiler on Bluegene.<br></blockquote>-O3 -qarch=auto -qtune=auto<br><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


<br>
Would anybody who has insight on what compiler options to set (and test for) on these platforms, mind looking at cmake/gmxCFlags.cmake or tell me what they think should be added?<br>
<br>
I&#39;m specifically looking for how to enable syntactical elements (like inline functions) and how to set the best optimization and debug settings.</blockquote><div><br></div><div>I hope this helps. Let me know if you need something further or want me to test something.</div>

<div><br></div><div>Roland</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><font class="Apple-style-span" color="#888888"><font class="Apple-style-span" color="#000000"><br>

</font></font><font color="#888888">
<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>
</font></blockquote></div><br><br clear="all"><br>-- <br>ORNL/UT Center for Molecular Biophysics <a href="http://cmb.ornl.gov">cmb.ornl.gov</a><br>865-241-1537, ORNL PO BOX 2008 MS6309<br>