<html><body>
<p><font size="2" face="sans-serif">Hi Jim,</font><br>
<br>
<font size="2" face="sans-serif">Yes you are right - it should be included. I forgot to add it.</font><br>
<br>
<br>
<font size="2" face="sans-serif">Thanks</font><br>
<br>
<font size="2" face="sans-serif">-- Carlo</font><br>
<br>
<br>
<img width="16" height="16" src="cid:1__=0ABBF7BDDFD83D9F8f9e8a93df938@us.ibm.com" border="0" alt="Inactive hide details for "Cownie, James H" ---08/08/2014 08:03:19 AM---Carlo, I'm integrating the BGQ stuff into the code we'r"><font size="2" color="#424282" face="sans-serif">"Cownie, James H" ---08/08/2014 08:03:19 AM---Carlo, I'm integrating the BGQ stuff into the code we're getting ready to push, and I have a questio</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From:      </font><font size="1" face="sans-serif">"Cownie, James H" <james.h.cownie@intel.com></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To:        </font><font size="1" face="sans-serif">"openmp-dev@dcs-maillist2.engr.illinois.edu" <openmp-dev@dcs-maillist2.engr.illinois.edu></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Cc:        </font><font size="1" face="sans-serif">Carlo Bertolli/Watson/IBM@IBMUS</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date:      </font><font size="1" face="sans-serif">08/08/2014 08:03 AM</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject:   </font><font size="1" face="sans-serif">OS definitions</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<font size="2" face="Verdana">Carlo, </font><br>
<font size="2" face="Verdana"> </font><br>
<font size="2" face="Verdana">I’m integrating the BGQ stuff into the code we’re getting ready to push, and I have a question…</font><br>
<font size="2" face="Verdana">In kmp_os.h there’s this code</font><br>
<font size="2" face="Verdana"> </font><br>
<font size="2" face="Verdana"> </font><br>
<font size="2" face="Lucida Console">/* ---------------------- Operating system recognition ------------------- */</font><br>
<font size="2" face="Lucida Console"> </font><br>
<font size="2" face="Lucida Console">#define KMP_OS_LINUX    0</font><br>
<font size="2" face="Lucida Console">#define KMP_OS_FREEBSD  0</font><br>
<font size="2" face="Lucida Console">#define KMP_OS_DARWIN   0</font><br>
<font size="2" face="Lucida Console">#define KMP_OS_FREEBSD  0</font><br>
<font size="2" face="Lucida Console">#define KMP_OS_WINDOWS  0</font><br>
<font size="2" face="Lucida Console">#define KMP_OS_CNK      0</font><br>
<font size="2" face="Lucida Console">#define KMP_OS_UNIX     0  /* disjunction of KMP_OS_LINUX, KMP_OS_DARWIN etc. */</font><br>
<font size="2" face="Lucida Console"> </font><br>
<font size="2" face="Lucida Console">#define KMP_ARCH_X86        0</font><br>
<font size="2" face="Lucida Console">#define KMP_ARCH_X86_64     0</font><br>
<font size="2" face="Lucida Console">#define KMP_ARCH_PPC64      0</font><br>
<font size="2" face="Lucida Console"> </font><br>
<font size="2" face="Lucida Console">#ifdef _WIN32</font><br>
<font size="2" face="Lucida Console"># undef KMP_OS_WINDOWS</font><br>
<font size="2" face="Lucida Console"># define KMP_OS_WINDOWS 1</font><br>
<font size="2" face="Lucida Console">#endif</font><br>
<font size="2" face="Lucida Console"> </font><br>
<font size="2" face="Lucida Console">#if ( defined __APPLE__ && defined __MACH__ )</font><br>
<font size="2" face="Lucida Console"># undef KMP_OS_DARWIN</font><br>
<font size="2" face="Lucida Console"># define KMP_OS_DARWIN 1</font><br>
<font size="2" face="Lucida Console">#endif</font><br>
<font size="2" face="Lucida Console"> </font><br>
<font size="2" face="Lucida Console">// in some ppc64 linux installations, only the second condition is met</font><br>
<font size="2" face="Lucida Console">#if ( defined __linux )</font><br>
<font size="2" face="Lucida Console"># undef KMP_OS_LINUX</font><br>
<font size="2" face="Lucida Console"># define KMP_OS_LINUX 1</font><br>
<font size="2" face="Lucida Console">#elif ( defined __linux__)</font><br>
<font size="2" face="Lucida Console"># undef KMP_OS_LINUX</font><br>
<font size="2" face="Lucida Console"># define KMP_OS_LINUX 1</font><br>
<font size="2" face="Lucida Console">#else</font><br>
<font size="2" face="Lucida Console">#endif</font><br>
<font size="2" face="Lucida Console"> </font><br>
<font size="2" face="Lucida Console">#if ( defined __FreeBSD__ )</font><br>
<font size="2" face="Lucida Console"># undef KMP_OS_FREEBSD</font><br>
<font size="2" face="Lucida Console"># define KMP_OS_FREEBSD 1</font><br>
<font size="2" face="Lucida Console">#endif</font><br>
<font size="2" face="Lucida Console"> </font><br>
<font size="2" face="Lucida Console">#if ( defined __bgq__ )</font><br>
<font size="2" face="Lucida Console"># undef KMP_OS_CNK</font><br>
<font size="2" face="Lucida Console"># define KMP_OS_CNK 1</font><br>
<font size="2" face="Lucida Console">#endif</font><br>
<font size="2" face="Lucida Console"> </font><br>
<font size="2" face="Lucida Console">#if (1 != KMP_OS_LINUX + KMP_OS_FREEBSD + KMP_OS_DARWIN + KMP_OS_WINDOWS)</font><br>
<font size="2" face="Lucida Console"># error Unknown OS</font><br>
<font size="2" face="Lucida Console">#endif</font><br>
<font size="2" face="Verdana"> </font><br>
<font size="2" face="Verdana">Shouldn’t that last test also include KMP_OS_CNK? Or does CNK pretend to be one of the other OSes as well?</font><br>
<font size="2" face="Verdana"> </font><br>
<font size="2" face="Verdana">-- Jim<br>
<br>
James Cownie <james.h.cownie@intel.com><br>
SSG/DPD/TCAR (Technical Computing, Analyzers and Runtimes)</font><br>
<font size="2" face="Verdana">Tel: +44 117 9071438</font><br>
<font size="2" face="Calibri"> </font>
<p><font size="3" face="serif">---------------------------------------------------------------------<br>
Intel Corporation (UK) Limited<br>
Registered No. 1134945 (England)<br>
Registered Office: Pipers Way, Swindon SN3 1RJ<br>
VAT No: 860 2173 47</font>
<p><font size="3" face="serif">This e-mail and any attachments may contain confidential material for<br>
the sole use of the intended recipient(s). Any review or distribution<br>
by others is strictly prohibited. If you are not the intended<br>
recipient, please contact the sender and delete all copies.</font>
<p></body></html>