<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;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 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:1353416059;
        mso-list-template-ids:1247161164;}
@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">I have just committed this:<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" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">Index: runtime/Makefile<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">===================================================================<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">--- runtime/Makefile    (revision 237615)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">+++ runtime/Makefile    (working copy)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">@@ -61,6 +61,7 @@<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">         if [ -d "$(omp_root)$(SLASH)..$(SLASH)testsuite$(SLASH)LLVM-IR" ] ; then \<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">                        export TESTSUITE_TEMP=$(realpath $(omp_root))$(SLASH)tmp ; \<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">                        export LIBRARY_PATH=$(libiomp5_path):$(LIBRARY_PATH) ; \<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">+                       export INCLUDE_PATH=$(libiomp5_path)$(SLASH)..$(SLASH)..$(SLASH)common$(CLASH)include:$(INCLUDE_PATH) ; \<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">                        export LD_LIBRARY_PATH=$(libiomp5_path):$(LD_LIBRARY_PATH) ; \<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">                        export DYLD_LIBRARY_PATH=$(libiomp5_path):$(DYLD_LIBRARY_PATH) ; \<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">                        cd $(omp_root)$(SLASH)..$(SLASH)testsuite ; \<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">Index: testsuite/README_LLVM_OPENMP<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">===================================================================<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">--- testsuite/README_LLVM_OPENMP        (revision 237615)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">+++ testsuite/README_LLVM_OPENMP        (working copy)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">@@ -8,7 +8,7 @@<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">Two new files have been added to openmp/runtime: check-openmp.pl and check-openmp-test.pl<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">Go to /openmp/runtime, run:<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">-make test<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">+make test compiler=clang<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">make test-clean<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">------------------------------------------------------------------------------<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> Monday, May 18, 2015 4:42 PM<br>
<b>To:</b> Carlo Bertolli<br>
<b>Cc:</b> Peyton, Jonathan L; Millad Ghane; 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">Sounds good, Carlo!! Thanks much Jonathan!<o:p></o:p></p>
<div>
<p class="MsoNormal">-Sunita<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">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>
<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">Great! Let me wait for Jonathan to update the trunk and I will get it from there.</span><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@01D09189.D7DC7200" 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>
<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">"Peyton, Jonathan L" <<a href="mailto:jonathan.l.peyton@intel.com" target="_blank">jonathan.l.peyton@intel.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">Sunita Chandrasekaran <<a href="mailto:sunita@cs.uh.edu" target="_blank">sunita@cs.uh.edu</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">Millad Ghane <<a href="mailto:millad.mg@gmail.com" target="_blank">millad.mg@gmail.com</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 05:35 PM</span><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>
<div>
<p class="MsoNormal"><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-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I’m on it!</span><br>
<span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><br>
<span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D">-- Johnny</span><br>
<a name="14d68f73f40e6705__MailEndCompose"></a><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><br>
<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"> <a href="mailto:sunisg123@gmail.com" target="_blank">sunisg123@gmail.com</a> [<a href="mailto:sunisg123@gmail.com" target="_blank">mailto:sunisg123@gmail.com</a>]
<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; <a href="mailto:openmp-dev@dcs-maillist2.engr.illinois.edu" target="_blank">
openmp-dev@dcs-maillist2.engr.illinois.edu</a>; 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>
 <br>
<b>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 <br>
<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:.5in">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<br>
<span style="color:#888888">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:1.0in"><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Hi Millad</span><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif"><br>
Thanks for your answer, now I see what is happening.</span><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif"><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:</span><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif"><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.</span><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif"><br>
and similar..</span><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif"><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)?</span><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif"><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>
<br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif"><br>
Thanks and apologies if I am missing some of the point</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@01D09189.D7DC7200" 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><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">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:1.0in">
<hr size="2" width="100%" noshade="" style="color:#A0A0A0" align="left">
</div>
<p class="MsoNormal" style="margin-left:1.0in"><br>
<br>
<br>
<span style="font-family:"Verdana",sans-serif"><br>
Hi Carlo,</span><br>
<span style="font-family:"Verdana",sans-serif"><br>
I am responding on behalf of Sunita.</span><br>
<span style="font-family:"Verdana",sans-serif"><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. </span>
<br>
<span style="font-family:"Verdana",sans-serif"><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.</span><br>
<span style="font-family:"Verdana",sans-serif"><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>
<br>
<span style="font-family:"Verdana",sans-serif"><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:1.5in"><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..</span><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif"><br>
<br>
Thanks<br>
<br>
-- Carlo</span><br>
<br>
<br>
<br>
<img border="0" width="16" height="16" id="_x0000_i1029" src="cid:image001.gif@01D09189.D7DC7200" 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:1.5in">
<hr size="2" width="100%" noshade="" style="color:#A0A0A0" align="left">
</div>
<p class="MsoNormal" style="margin-left:1.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:2.0in"><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:1.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"> <o:p></o:p></p>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>