<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1893422345;
mso-list-template-ids:297434986;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:"Courier New";
mso-bidi-font-family:"Times New Roman";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Not a problem, committed the update.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">-- Johnny<o:p></o:p></span></p>
<p class="MsoNormal"><a name="_MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></a></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> sunisg123@gmail.com [mailto:sunisg123@gmail.com]
<b>On Behalf Of </b>Sunita Chandrasekaran<br>
<b>Sent:</b> Tuesday, May 19, 2015 3:43 PM<br>
<b>To:</b> Carlo Bertolli<br>
<b>Cc:</b> Millad Ghane; Peyton, Jonathan L; openmp-dev@dcs-maillist2.engr.illinois.edu; Sunita Chandrasekaran<br>
<b>Subject:</b> Re: [Openmp-dev] testsuite script error<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi Carlo <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Millad and I were discussing....<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Very sorry about the $(CLASH) Typo!! <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Yes, It should have been $(SLASH). <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Jonathan: Sorry, attaching an updated Makefile with the typo corrected and C_INCLUDE_PATH... <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I think this typo was not picked up at our end, since our machine recognized omp.h correctly. But thanks Carlo, for identifying this. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Regarding 'permission denied', it is perfectly fine, we get it too. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Please continue with the run and it should work OK, please let us know what you find. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Most likely you will see something like this:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">.......<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:"Verdana",sans-serif">PASS: OpenMPValidationSuite :: lin_32e/test_omp_test_lock.ll (120 of 122)<br>
PASS: OpenMPValidationSuite :: lin_32e/test_omp_test_nest_lock.ll (121 of 122)<br>
PASS: OpenMPValidationSuite :: lin_32e/test_omp_threadprivate.ll (122 of 122)<br>
<span style="background:white">Testing</span> Time: 132.75s<br>
********************<br>
Failing <span style="background:white">Tests</span> (4):<br>
OpenMPValidationSuite :: lin_32e/orph_test_omp_for_schedule_guided.ll<br>
OpenMPValidationSuite :: lin_32e/orph_test_omp_task_untied.ll<br>
OpenMPValidationSuite :: lin_32e/orph_test_omp_taskyield.ll<br>
OpenMPValidationSuite :: lin_32e/test_omp_for_schedule_guided.ll<br>
<br>
Expected Passes : <span style="background:white">116</span><br>
Expected Failures : 2<br>
Unexpected Failures: 4<br>
make: *** [<span style="background:white">test</span>] Error 1</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks and Apologies once again (Jonathan! :-)) <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Sunita<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal">On Tue, May 19, 2015 at 2:15 PM, Carlo Bertolli <<a href="mailto:cbertol@us.ibm.com" target="_blank">cbertol@us.ibm.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p><span style="font-size:10.0pt;font-family:"Arial",sans-serif">Hi Millad, Sunita</span><br>
<br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Thanks for your efforts and no worries for answering late.</span><br>
<br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">I am afraid that this thing does not work yet, and I am surprised that it works at all on your system. Looking here:</span><br>
<br>
<a href="http://llvm.org/svn/llvm-project/openmp/trunk/runtime/Makefile" target="_blank"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">http://llvm.org/svn/llvm-project/openmp/trunk/runtime/Makefile</span></a><br>
<br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">you'll read:</span><br>
<br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">export INCLUDE_PATH=$(libiomp5_path)$(SLASH)..$(SLASH)..$(SLASH)common$(CLASH)include:$(INCLUDE_PATH) ; \</span><br>
<br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Can you see the CLASH use at the end of the string? That makes the include path wrong and CLASH is not defined anywhere.</span><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Also, I am using clang as compiler for building libiomp and the tests and INCLUDE_PATH is not an input environment variable for it. This may also be true for gcc, I have not tried it yet.</span><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">I found out that C_INCLUDE_PATH is instead working for clang (found it here:
</span><a href="https://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html" target="_blank"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">https://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html</span></a><span style="font-size:10.0pt;font-family:"Arial",sans-serif">).</span><br>
<br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Once I fix that line to the following:</span><br>
<br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">export C_INCLUDE_PATH=$(libiomp5_path)$(SLASH)..$(SLASH)..$(SLASH)common$(SLASH)include:$(INCLUDE_PATH) ; \</span><br>
<br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">I still get an error, which (beware!) may be system or environment specific:</span><br>
<br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Testing for "has_openmp":</span><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Generating sources .............. success</span><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Compiling soures ................ success</span><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Running test with 8 threads .sh: ./bin/c/test_has_openmp: Permission denied</span><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">.... failed 100% of the tests</span><br>
<br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Any clues?</span><br>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Thanks!!</span><br>
<br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">-- Carlo</span><br>
<br>
<br>
<img border="0" width="16" height="16" id="_x0000_i1025" src="cid:image001.gif@01D09251.99CB05D0" alt="Inactive hide details for Millad Ghane ---05/18/2015 06:51:01 PM---Hi all, *Jonathan:* Thanks for the commit."><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#424282">Millad
Ghane ---05/18/2015 06:51:01 PM---Hi all, *Jonathan:* Thanks for the commit.</span><br>
<br>
<span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F">From: </span>
<span style="font-size:7.5pt;font-family:"Arial",sans-serif">Millad Ghane <<a href="mailto:millad.mg@gmail.com" target="_blank">millad.mg@gmail.com</a>></span><br>
<span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F">To: </span>
<span style="font-size:7.5pt;font-family:"Arial",sans-serif">"Peyton, Jonathan L" <<a href="mailto:jonathan.l.peyton@intel.com" target="_blank">jonathan.l.peyton@intel.com</a>>, Carlo Bertolli/Watson/IBM@IBMUS</span><br>
<span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F">Cc: </span>
<span style="font-size:7.5pt;font-family:"Arial",sans-serif">Sunita Chandrasekaran <<a href="mailto:sunita@cs.uh.edu" target="_blank">sunita@cs.uh.edu</a>>, "<a href="mailto:openmp-dev@dcs-maillist2.engr.illinois.edu" target="_blank">openmp-dev@dcs-maillist2.engr.illinois.edu</a>"
<<a href="mailto:openmp-dev@dcs-maillist2.engr.illinois.edu" target="_blank">openmp-dev@dcs-maillist2.engr.illinois.edu</a>></span><br>
<span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F">Date: </span>
<span style="font-size:7.5pt;font-family:"Arial",sans-serif">05/18/2015 06:51 PM</span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
<span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F">Subject:
</span><span style="font-size:7.5pt;font-family:"Arial",sans-serif">Re: [Openmp-dev] testsuite script error</span><o:p></o:p></p>
<div class="MsoNormal">
<hr size="2" width="100%" noshade="" style="color:#8091A5" align="left">
</div>
<p class="MsoNormal"><br>
<br>
<br>
<span style="font-family:"Verdana",sans-serif">Hi all,</span><br>
<br>
<b><span style="font-family:"Verdana",sans-serif">Jonathan:</span></b><span style="font-family:"Verdana",sans-serif"> Thanks for the commit.</span><br>
<br>
<b><span style="font-family:"Verdana",sans-serif">Carlo:</span></b><span style="font-family:"Verdana",sans-serif"> Sorry for late response. Sunita and I were looking to find a time slot to meet and discuss the problem. That's why I didn't respond to your email.
Last email from Sunita was the solution to your problem. We are waiting for your feedback.</span><br>
<br>
<br>
<span style="font-family:"Verdana",sans-serif">Regards,</span><br>
<span style="font-family:"Verdana",sans-serif">Millad</span><br>
<br>
<br>
On Mon, May 18, 2015 at 4:44 PM, Peyton, Jonathan L <<a href="mailto:jonathan.l.peyton@intel.com" target="_blank">jonathan.l.peyton@intel.com</a>> wrote:
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I have just committed this:</span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt">Index: runtime/Makefile</span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt">===================================================================</span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt">--- runtime/Makefile (revision 237615)</span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt">+++ runtime/Makefile (working copy)</span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt">@@ -61,6 +61,7 @@</span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt"> if [ -d "$(omp_root)$(SLASH)..$(SLASH)testsuite$(SLASH)LLVM-IR" ] ; then \</span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt"> export TESTSUITE_TEMP=$(realpath $(omp_root))$(SLASH)tmp ; \</span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt"> export LIBRARY_PATH=$(libiomp5_path):$(LIBRARY_PATH) ; \</span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt">+ export INCLUDE_PATH=$(libiomp5_path)$(SLASH)..$(SLASH)..$(SLASH)common$(CLASH)include:$(INCLUDE_PATH) ; \</span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt"> export LD_LIBRARY_PATH=$(libiomp5_path):$(LD_LIBRARY_PATH) ; \</span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt"> export DYLD_LIBRARY_PATH=$(libiomp5_path):$(DYLD_LIBRARY_PATH) ; \</span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt"> cd $(omp_root)$(SLASH)..$(SLASH)testsuite ; \</span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt">Index: testsuite/README_LLVM_OPENMP</span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt">===================================================================</span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt">--- testsuite/README_LLVM_OPENMP (revision 237615)</span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt">+++ testsuite/README_LLVM_OPENMP (working copy)</span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt">@@ -8,7 +8,7 @@</span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt"> </span> <o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt">Two new files have been added to openmp/runtime:
</span><a href="http://check-openmp.pl/" target="_blank"><span style="font-size:10.0pt">check-openmp.pl</span></a><span style="font-size:10.0pt"> and
</span><a href="http://check-openmp-test.pl/" target="_blank"><span style="font-size:10.0pt">check-openmp-test.pl</span></a>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt">Go to /openmp/runtime, run:</span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt">-make test</span> <o:p>
</o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt">+make test compiler=clang</span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt">make test-clean</span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt"> </span> <o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt">------------------------------------------------------------------------------</span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D">-- Johnny</span>
<o:p></o:p></p>
<p style="margin-left:.5in"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span>
<o:p></o:p></p>
<p style="margin-left:.5in"><b><span style="font-size:10.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:10.0pt;font-family:"Calibri",sans-serif"> </span><a href="mailto:sunisg123@gmail.com" target="_blank"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif">sunisg123@gmail.com</span></a><span style="font-size:10.0pt;font-family:"Calibri",sans-serif"> [mailto:</span><a href="mailto:sunisg123@gmail.com" target="_blank"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif">sunisg123@gmail.com</span></a><span style="font-size:10.0pt;font-family:"Calibri",sans-serif">]
<b>On Behalf Of </b>Sunita Chandrasekaran<b><br>
Sent:</b> Monday, May 18, 2015 4:42 PM<b><br>
To:</b> Carlo Bertolli<b><br>
Cc:</b> Peyton, Jonathan L; Millad Ghane; </span><a href="mailto:openmp-dev@dcs-maillist2.engr.illinois.edu" target="_blank"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif">openmp-dev@dcs-maillist2.engr.illinois.edu</span></a><span style="font-size:10.0pt;font-family:"Calibri",sans-serif">;
Sunita Chandrasekaran</span> <o:p></o:p></p>
<p style="margin-left:.5in"><b><br>
Subject:</b> Re: [Openmp-dev] testsuite script error <o:p></o:p></p>
<p style="margin-left:.5in"> <o:p></o:p></p>
<p style="margin-left:.5in">Sounds good, Carlo!! Thanks much Jonathan! <o:p></o:p></p>
<p style="margin-left:.5in">-Sunita <o:p></o:p></p>
<p style="margin-left:.5in"> <o:p></o:p></p>
<p style="margin-left:.5in">On Mon, May 18, 2015 at 4:38 PM, Carlo Bertolli <<a href="mailto:cbertol@us.ibm.com" target="_blank">cbertol@us.ibm.com</a>> wrote:
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Great! Let me wait for Jonathan to update the trunk and I will get it from there.</span><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif"><br>
Thanks</span><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif"><br>
-- Carlo</span><br>
<br>
<br>
<img border="0" width="16" height="16" id="_x0000_i1027" src="cid:image001.gif@01D09251.99CB05D0" alt="Inactive hide details for "Peyton, Jonathan L" ---05/18/2015 05:35:24 PM---I’m on it! -- Johnny"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#424282">"Peyton,
Jonathan L" ---05/18/2015 05:35:24 PM---I’m on it! -- Johnny</span><br>
<span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F"><br>
From: </span><span style="font-size:7.5pt;font-family:"Arial",sans-serif">"Peyton, Jonathan L" <</span><a href="mailto:jonathan.l.peyton@intel.com" target="_blank"><span style="font-size:7.5pt;font-family:"Arial",sans-serif">jonathan.l.peyton@intel.com</span></a><span style="font-size:7.5pt;font-family:"Arial",sans-serif">><span style="color:#5F5F5F"><br>
To: </span>Sunita Chandrasekaran <</span><a href="mailto:sunita@cs.uh.edu" target="_blank"><span style="font-size:7.5pt;font-family:"Arial",sans-serif">sunita@cs.uh.edu</span></a><span style="font-size:7.5pt;font-family:"Arial",sans-serif">>, Carlo Bertolli/Watson/IBM@IBMUS<span style="color:#5F5F5F"><br>
Cc: </span>Millad Ghane <</span><a href="mailto:millad.mg@gmail.com" target="_blank"><span style="font-size:7.5pt;font-family:"Arial",sans-serif">millad.mg@gmail.com</span></a><span style="font-size:7.5pt;font-family:"Arial",sans-serif">>, "</span><a href="mailto:openmp-dev@dcs-maillist2.engr.illinois.edu" target="_blank"><span style="font-size:7.5pt;font-family:"Arial",sans-serif">openmp-dev@dcs-maillist2.engr.illinois.edu</span></a><span style="font-size:7.5pt;font-family:"Arial",sans-serif">"
<</span><a href="mailto:openmp-dev@dcs-maillist2.engr.illinois.edu" target="_blank"><span style="font-size:7.5pt;font-family:"Arial",sans-serif">openmp-dev@dcs-maillist2.engr.illinois.edu</span></a><span style="font-size:7.5pt;font-family:"Arial",sans-serif">><span style="color:#5F5F5F"><br>
Date: </span>05/18/2015 05:35 PM<span style="color:#5F5F5F"><br>
Subject: </span>RE: [Openmp-dev] testsuite script error</span> <o:p></o:p></p>
<p style="margin-left:1.0in"> <o:p></o:p></p>
<div class="MsoNormal" style="margin-left:1.0in">
<hr size="2" width="100%" noshade="" style="color:#A0A0A0" align="left">
</div>
<p style="margin-left:1.0in"><br>
<br>
<span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><br>
I’m on it!<br>
<br>
-- Johnny<br>
</span><b><span style="font-size:10.0pt;font-family:"Calibri",sans-serif"><br>
From:</span></b><span style="font-size:10.0pt;font-family:"Calibri",sans-serif"> </span><a href="mailto:sunisg123@gmail.com" target="_blank"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif">sunisg123@gmail.com</span></a><span style="font-size:10.0pt;font-family:"Calibri",sans-serif"> [</span><a href="mailto:sunisg123@gmail.com" target="_blank"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif">mailto:sunisg123@gmail.com</span></a><span style="font-size:10.0pt;font-family:"Calibri",sans-serif">]
<b>On Behalf Of </b>Sunita Chandrasekaran<b><br>
Sent:</b> Monday, May 18, 2015 3:52 PM<b><br>
To:</b> Carlo Bertolli; Peyton, Jonathan L<b><br>
Cc:</b> Millad Ghane; </span><a href="mailto:openmp-dev@dcs-maillist2.engr.illinois.edu" target="_blank"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif">openmp-dev@dcs-maillist2.engr.illinois.edu</span></a><span style="font-size:10.0pt;font-family:"Calibri",sans-serif">;
Sunita Chandrasekaran<b><br>
Subject:</b> Re: [Openmp-dev] testsuite script error</span><br>
<br>
Hi Carlo <br>
<br>
Sorry for the delay. We were able to fix the problem by adding a line to the Makefile that will fetch omp.h for you, in case your system doesn't find it by default. Not finding omp.h gave you those errors, it should go away now.
<br>
<b><br>
Jonathan</b>: Could you please help us update the Makefile in openmp/runtime/ with the one attached?
<br>
If for some reason, you cannot access this Makefile, please pick it up from <u><span style="color:blue"><br>
</span></u><a href="https://www.dropbox.com/s/5qirpnb6rcupgwp/Makefile?dl=0" target="_blank">https://www.dropbox.com/s/5qirpnb6rcupgwp/Makefile?dl=0</a> <br>
<br>
Once this Makefile is used, the tests will run for completion and the log files will automatically be deleted.
<br>
<br>
Also in /openmp/testsuite/README_LLVM_OPENMP, if you could please mention<br>
make test compiler=clang <br>
instead of <br>
make test <br>
in line 11. <br>
This is more clear. <br>
<br>
Thanks for pointing this out and hope this works. <br>
Please let us know. <br>
<br>
Sunita<br>
<br>
<br>
On Fri, May 15, 2015 at 7:32 PM, Sunita Chandrasekaran <<a href="mailto:sunisg123@gmail.com" target="_blank">sunisg123@gmail.com</a>> wrote:
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.5in"><br>
<a name="14d6de8aa6a0e5a0_14d6d9abae4adfe2_14d68f"></a>Hi Carlo <br>
Thanks for bringing this to our notice. We are checking things at our end, will write back to you shortly with a solution.<br>
Cheers<span style="color:#888888"><br>
Sunita</span><br>
<br>
<br>
On Thu, May 14, 2015 at 10:19 PM, Carlo Bertolli <<a href="mailto:cbertol@us.ibm.com" target="_blank">cbertol@us.ibm.com</a>> wrote:
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:2.0in"><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif"><br>
Hi Millad<br>
<br>
Thanks for your answer, now I see what is happening.<br>
<br>
However, please correct me if I am saying something wrong, I see that these .ll files are generated by the Makefile in the testsuite/bin/ directory.<br>
When I run "make test" in runtime, I get the following errors at the end, after all tests have been compiled and run:<br>
<br>
Makefile:19: recipe for target 'c/orph_ctest_omp_parallel_default' failed<br>
make[2]: *** [c/orph_ctest_omp_parallel_default] Error 1<br>
In file included from c/test_omp_get_wtick.c:4:<br>
c/omp_testsuite.h:11:10: fatal error: 'omp.h' file not found<br>
#include <omp.h><br>
^<br>
1 error generated.<br>
<br>
and similar..<br>
<br>
I guess this is because the setting of the include path is not working (at least on my machine). What is the right place to fix it? testsuite/bin/Makefile? Should I fix it by hand before running make test (in the sense that right now "make test" seems to do
all the work for me)?<br>
<br>
Also, running "make test" in runtime/ fills up my testsuite/ directory with .log files. Is this expected? Incidentally, the .log files for orphaned tests seem to be failing a lot (if not them all).</span><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif"><br>
<br>
Thanks and apologies if I am missing some of the point<br>
<br>
-- Carlo</span><br>
<br>
<br>
<img border="0" width="16" height="16" id="_x0000_i1029" src="cid:image001.gif@01D09251.99CB05D0" alt="Inactive hide details for Millad Ghane ---05/14/2015 08:46:51 PM---Hi Carlo, I am responding on behalf of Sunita."><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#424282">Millad
Ghane ---05/14/2015 08:46:51 PM---Hi Carlo, I am responding on behalf of Sunita.</span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F"><br>
<br>
From: </span><span style="font-size:7.5pt;font-family:"Arial",sans-serif">Millad Ghane <</span><a href="mailto:millad.mg@gmail.com" target="_blank"><span style="font-size:7.5pt;font-family:"Arial",sans-serif">millad.mg@gmail.com</span></a><span style="font-size:7.5pt;font-family:"Arial",sans-serif">><span style="color:#5F5F5F"><br>
To: </span>Carlo Bertolli/Watson/IBM@IBMUS<span style="color:#5F5F5F"><br>
Cc: </span>Sunita Chandrasekaran <</span><a href="mailto:sunita@cs.uh.edu" target="_blank"><span style="font-size:7.5pt;font-family:"Arial",sans-serif">sunita@cs.uh.edu</span></a><span style="font-size:7.5pt;font-family:"Arial",sans-serif">>, "</span><a href="mailto:openmp-dev@dcs-maillist2.engr.illinois.edu" target="_blank"><span style="font-size:7.5pt;font-family:"Arial",sans-serif">openmp-dev@dcs-maillist2.engr.illinois.edu</span></a><span style="font-size:7.5pt;font-family:"Arial",sans-serif">"
<</span><a href="mailto:openmp-dev@dcs-maillist2.engr.illinois.edu" target="_blank"><span style="font-size:7.5pt;font-family:"Arial",sans-serif">openmp-dev@dcs-maillist2.engr.illinois.edu</span></a><span style="font-size:7.5pt;font-family:"Arial",sans-serif">>,
sunita chandrasekaran <</span><a href="mailto:sunisg123@gmail.com" target="_blank"><span style="font-size:7.5pt;font-family:"Arial",sans-serif">sunisg123@gmail.com</span></a><span style="font-size:7.5pt;font-family:"Arial",sans-serif">><span style="color:#5F5F5F"><br>
Date: </span>05/14/2015 08:46 PM<span style="color:#5F5F5F"><br>
Subject: </span>Re: [Openmp-dev] testsuite script error</span> <o:p></o:p></p>
<div class="MsoNormal" style="margin-left:2.0in">
<hr size="2" width="100%" noshade="" style="color:#A0A0A0" align="left">
</div>
<p style="margin-left:2.0in"><br>
<br>
<span style="font-family:"Verdana",sans-serif"><br>
<br>
Hi Carlo,<br>
<br>
I am responding on behalf of Sunita.<br>
<br>
The "make test" command in the runtime folder does not only do the "make ctest". The "make ctest" here actually tries to generate the LL files. And, these LL files are consumed afterwards by llvm-lit command to see whether the test is passed or not. So, "make
test" command is not solely "make ctest" and the test part happens with another command. We did provide this rule, "make test", to make your life easier.
<br>
The peace of code that you mentioned is actually generating the LL files. <br>
<br>
At first, we proposed to put the testing rule (make test) in the testsuite. However, it was rejected. So, we tried to include it in the runtime folder for sake of OpenMP testers.<br>
<br>
And make -j: Simply, it tries to build a package with multiple jobs in parallel in order to speedup building. For example, with (make -j 8), we are trying to speedup the build process with 8 jobs (threads) in parallel. If the number is not provided, like "make
-j", then there is no limit to number jobs and it tries to run it with as many as possible.</span><br>
<span style="font-family:"Verdana",sans-serif"><br>
<br>
Bests Regards,<br>
Millad Ghane</span><br>
<br>
<br>
On Thu, May 14, 2015 at 10:19 AM, Carlo Bertolli <<a href="mailto:cbertol@us.ibm.com" target="_blank">cbertol@us.ibm.com</a>> wrote:
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:2.5in"><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Hi<br>
<br>
After recent commits, I am now able to compile libiomp5.so and use it in the tests.<br>
I noticed that the makefile in the runtime directory ultimately calls "make ctest" in the testsuite directory.<br>
<br>
If I do this manually "make ctest" inside testsuite after having fixed the Makefile (again, in testuite), all selected tests are run and verified, but at the end I see this:<br>
<br>
cd bin/; make -j<br>
make[1]: Entering directory '/gsa/yktgsa-p6/05/llvm-coral-build/repos/ppc64le/libiomp/testsuite/bin'<br>
clang -fopenmp -S -emit-llvm c/test_omp_sections_reduction.c -o c/test_omp_sections_reduction.ll<br>
clang -fopenmp -S -emit-llvm c/orph_ctest_omp_lock.c -o c/orph_ctest_omp_lock.ll<br>
clang -fopenmp -S -emit-llvm c/orph_ctest_omp_parallel_if.c -o c/orph_ctest_omp_parallel_if.ll<br>
<br>
....more similar commands leading to errors..<br>
<br>
Maybe I should not use the makefile in the testsuite directory, but apparently that is what the "make test" command does when run from the runtime directory.<br>
<br>
Do you have any clues about the meaning of that "make -j" command? Why is it there and what is the intended for?<br>
Maybe I am using a wrong repo for updating my local copy..<br>
<br>
<br>
Thanks<br>
<br>
-- Carlo</span><br>
<br>
<br>
<br>
<img border="0" width="16" height="16" id="_x0000_i1031" src="cid:image001.gif@01D09251.99CB05D0" alt="Inactive hide details for Sunita Chandrasekaran ---05/08/2015 03:58:04 PM---Hi Carlo If you could simply use 'make test' from o"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#424282">Sunita
Chandrasekaran ---05/08/2015 03:58:04 PM---Hi Carlo If you could simply use 'make test' from openmp/runtime folder, that is all</span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F"><br>
<br>
From: </span><span style="font-size:7.5pt;font-family:"Arial",sans-serif">Sunita Chandrasekaran <</span><a href="mailto:sunita@cs.uh.edu" target="_blank"><span style="font-size:7.5pt;font-family:"Arial",sans-serif">sunita@cs.uh.edu</span></a><span style="font-size:7.5pt;font-family:"Arial",sans-serif">><span style="color:#5F5F5F"><br>
To: </span>Carlo Bertolli/Watson/IBM@IBMUS<span style="color:#5F5F5F"><br>
Cc: </span>"</span><a href="mailto:openmp-dev@dcs-maillist2.engr.illinois.edu" target="_blank"><span style="font-size:7.5pt;font-family:"Arial",sans-serif">openmp-dev@dcs-maillist2.engr.illinois.edu</span></a><span style="font-size:7.5pt;font-family:"Arial",sans-serif">"
<</span><a href="mailto:openmp-dev@dcs-maillist2.engr.illinois.edu" target="_blank"><span style="font-size:7.5pt;font-family:"Arial",sans-serif">openmp-dev@dcs-maillist2.engr.illinois.edu</span></a><span style="font-size:7.5pt;font-family:"Arial",sans-serif">>,
Millad Ghane <</span><a href="mailto:millad.mg@gmail.com" target="_blank"><span style="font-size:7.5pt;font-family:"Arial",sans-serif">millad.mg@gmail.com</span></a><span style="font-size:7.5pt;font-family:"Arial",sans-serif">><span style="color:#5F5F5F"><br>
Date: </span>05/08/2015 03:58 PM<span style="color:#5F5F5F"><br>
Subject: </span>Re: [Openmp-dev] testsuite script error<span style="color:#5F5F5F"><br>
Sent by: </span></span><a href="mailto:sunisg123@gmail.com" target="_blank"><span style="font-size:7.5pt;font-family:"Arial",sans-serif">sunisg123@gmail.com</span></a>
<o:p></o:p></p>
<div class="MsoNormal" style="margin-left:2.5in">
<hr size="2" width="100%" noshade="" style="color:#A0A0A0" align="left">
</div>
<p style="margin-left:2.5in"><br>
<br>
<br>
<br>
Hi Carlo <br>
<br>
If you could simply use 'make test' from openmp/runtime folder, that is all that is needed.
<br>
<br>
Sorry if the 2 READMEs are creating a confusion. <br>
<br>
Please drop us a note, if you have further issues. <br>
<br>
Thanks<br>
Sunita<br>
P.S: Copied is our Ph.D. student here at UH. <br>
<br>
On Fri, May 8, 2015 at 2:27 PM, Carlo Bertolli <<a href="mailto:cbertol@us.ibm.com" target="_blank">cbertol@us.ibm.com</a>> wrote:
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:3.0in"><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Hi all<br>
<br>
After fetching the latest version of the library from here:<br>
<br>
origin </span><a href="http://llvm.org/git/openmp.git" target="_blank"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">http://llvm.org/git/openmp.git</span></a><span style="font-size:10.0pt;font-family:"Arial",sans-serif"> (fetch)<br>
<br>
<br>
I started seeing the following error when I run "make ctest" in the testsuite directory:<br>
<br>
Testing for "has_openmp":<br>
Generating sources ..........Could not open the sourcefile for the main program ompts_standaloneProc.c at ./</span><a href="http://template_parser_c.pl/" target="_blank"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">template_parser_c.pl</span></a><span style="font-size:10.0pt;font-family:"Arial",sans-serif"> line
51.<br>
Could not open the sourcefile for the main program ompts_standaloneProc.c at ./</span><a href="http://template_parser_c.pl/" target="_blank"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">template_parser_c.pl</span></a><span style="font-size:10.0pt;font-family:"Arial",sans-serif"> line
51.<br>
ERROR: Generation of sourcecode for the test failed.<br>
ERROR: Generation of sourcecode for the crosstest failed.<br>
.... failed<br>
<br>
for all tests. This happens equally on an Intel machine and a PCC64LE one.<br>
<br>
What am I doing wrong?<br>
<br>
<br>
Thanks<span style="color:#888888"><br>
<br>
-- Carlo</span></span><br>
<br>
_______________________________________________<br>
Openmp-dev mailing list<u><span style="color:blue"><br>
</span></u><a href="mailto:Openmp-dev@dcs-maillist2.engr.illinois.edu" target="_blank">Openmp-dev@dcs-maillist2.engr.illinois.edu</a><u><span style="color:blue"><br>
</span></u><a href="http://lists.cs.uiuc.edu/mailman/listinfo/openmp-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/openmp-dev</a><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:2.5in"><br>
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:2.0in"><br>
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.5in"><br>
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><br>
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><br>
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>