<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks! <div>I've implemented automatic flags for pgi and xlc (CMake doesn't appear to be able to detect pathscale); could you (or somebody else) test these, perhaps?</div><div><div><br></div><div>Sander<br><div><br></div><div><br><div><div>On Jun 30, 2010, at 23:39 , Roland Schulz wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><br><div class="gmail_quote">On Wed, Jun 30, 2010 at 7:56 AM, Sander Pronk <span dir="ltr"><<a href="mailto:pronk@cbr.su.se">pronk@cbr.su.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I've implemented auto-detection of the CFLAGS (and CXXFLAGS). Right now, it works for gcc and icc. There are a few compilers I'd like to add, that I don'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'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'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"><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'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>
-- <br>gmx-developers mailing list<br><a href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</a><br>http://lists.gromacs.org/mailman/listinfo/gmx-developers<br>Please don't post (un)subscribe requests to the list. Use the <br>www interface or send it to gmx-developers-request@gromacs.org.</blockquote></div><br></div></div></div></body></html>