[Openmp-dev] testsuite script error

Peyton, Jonathan L jonathan.l.peyton at intel.com
Fri May 8 13:32:31 PDT 2015


Here is the fix.

diff --git a/runtime/src/makefile.mk b/runtime/src/makefile.mk
index c3af993..8acdf44 100644
--- a/runtime/src/makefile.mk
+++ b/runtime/src/makefile.mk
@@ -877,9 +877,16 @@ out_lib_files  = $(addprefix $(out_lib_dir),$(lib_file) $(imp_file) $(pdb_file)
out_inc_files  = $(addprefix $(out_ptf_dir)include_compat/,iomp_lib.h)
out_mod_files  = \
     $(addprefix $(out_ptf_dir)include/,omp_lib.mod omp_lib_kinds.mod)
+ifeq "$(OMPT_SUPPORT)" "on"
out_cmn_files  = \
     $(addprefix $(out_cmn_dir)include/,omp.h ompt.h omp_lib.h omp_lib.f omp_lib.f90) \
     $(addprefix $(out_cmn_dir)include_compat/,iomp.h)
+else
+out_cmn_files  = \
+    $(addprefix $(out_cmn_dir)include/,omp.h omp_lib.h omp_lib.f omp_lib.f90) \
+    $(addprefix $(out_cmn_dir)include_compat/,iomp.h)
+endif
+
ifneq "$(out_lib_fat_dir)" ""
     out_lib_fat_files  = $(addprefix $(out_lib_fat_dir),$(lib_file) $(imp_file))
endif

I don't have commit rights so you'll have to apply this manually until Monday.

-- Johnny

From: openmp-dev-bounces at cs.uiuc.edu [mailto:openmp-dev-bounces at cs.uiuc.edu] On Behalf Of Peyton, Jonathan L
Sent: Friday, May 8, 2015 3:25 PM
To: Carlo Bertolli; Sunita Chandrasekaran
Cc: openmp-dev at dcs-maillist2.engr.illinois.edu
Subject: Re: [Openmp-dev] testsuite script error

That's not a problem with the testsuite; it is a problem with our makefile.  I'll take a look at it.

-- Johnny

From: openmp-dev-bounces at cs.uiuc.edu<mailto:openmp-dev-bounces at cs.uiuc.edu> [mailto:openmp-dev-bounces at cs.uiuc.edu] On Behalf Of Carlo Bertolli
Sent: Friday, May 8, 2015 3:11 PM
To: Sunita Chandrasekaran
Cc: openmp-dev at dcs-maillist2.engr.illinois.edu<mailto:openmp-dev at dcs-maillist2.engr.illinois.edu>
Subject: Re: [Openmp-dev] testsuite script error


Hi

Thanks for the quick answer.

Running "make test" in openmp/runtime on a x86 machine returns this error:

make[1]: *** No rule to make target `/gsa/yktgsa/projects/l/llvm-coral-build/repos/ppc64le/libiomp/runtime/exports/common/include/ompt.h', needed by `common'.  Stop.

Still doing something wrong apparently, and I cannot figure out where that file comes from.

Thanks!

-- Carlo

[Inactive hide details for Sunita Chandrasekaran ---05/08/2015 03:58:04 PM---Hi Carlo If you could simply use 'make test' from o]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

From: Sunita Chandrasekaran <sunita at cs.uh.edu<mailto:sunita at cs.uh.edu>>
To: Carlo Bertolli/Watson/IBM at IBMUS
Cc: "openmp-dev at dcs-maillist2.engr.illinois.edu<mailto:openmp-dev at dcs-maillist2.engr.illinois.edu>" <openmp-dev at dcs-maillist2.engr.illinois.edu<mailto:openmp-dev at dcs-maillist2.engr.illinois.edu>>, Millad Ghane <millad.mg at gmail.com<mailto:millad.mg at gmail.com>>
Date: 05/08/2015 03:58 PM
Subject: Re: [Openmp-dev] testsuite script error
Sent by: sunisg123 at gmail.com<mailto:sunisg123 at gmail.com>

________________________________



Hi Carlo

If you could simply use 'make test' from openmp/runtime folder, that is all that is needed.

Sorry if the 2 READMEs are creating a confusion.

Please drop us a note, if you have further issues.

Thanks
Sunita
P.S: Copied is our Ph.D. student here at UH.

On Fri, May 8, 2015 at 2:27 PM, Carlo Bertolli <cbertol at us.ibm.com<mailto:cbertol at us.ibm.com>> wrote:
Hi all

After fetching the latest version of the library from here:

origin http://llvm.org/git/openmp.git (fetch)


I started seeing the following error when I run "make ctest" in the testsuite directory:

Testing for "has_openmp":
Generating sources ..........Could not open the sourcefile for the main program ompts_standaloneProc.c at ./template_parser_c.pl<http://template_parser_c.pl/> line 51.
Could not open the sourcefile for the main program ompts_standaloneProc.c at ./template_parser_c.pl<http://template_parser_c.pl/> line 51.
ERROR: Generation of sourcecode for the test failed.
ERROR: Generation of sourcecode for the crosstest failed.
.... failed

for all tests. This happens equally on an Intel machine and a PCC64LE one.

What am I doing wrong?


Thanks

-- Carlo

_______________________________________________
Openmp-dev mailing list
Openmp-dev at dcs-maillist2.engr.illinois.edu<mailto:Openmp-dev at dcs-maillist2.engr.illinois.edu>
http://lists.cs.uiuc.edu/mailman/listinfo/openmp-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20150508/9d2e91d0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 105 bytes
Desc: image001.gif
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20150508/9d2e91d0/attachment.gif>


More information about the Openmp-dev mailing list