[Openmp-commits] [PATCH] D16715: [OMPT] Create infrastructure and add first tests for OMPT

Jonathan Peyton via Openmp-commits openmp-commits at lists.llvm.org
Mon Mar 21 10:20:09 PDT 2016


jlpeyton added a comment.

When I applied the patch, clang-3.8 tested fine, but gcc 4.8 gave this failure:

  FAIL: libomp :: ompt/omp_parallel_serialized.c (3 of 74)
  ******************** TEST 'libomp :: ompt/omp_parallel_serialized.c' FAILED ********************
  Script:
  --
  /usr/bin/cc -fopenmp -I /nfs/fx/proj/openmp/users/jlpeyton/openmp_llvm_commit/itt/libomp_llvm/runtime/test -I /nfs/fx/proj/openmp/users/jlpeyton/openmp_llvm_commit/itt/libomp_llvm/runtime/build/src -L /nfs/fx/proj/openmp/users/jlpeyton/openmp_llvm_commit/itt/libomp_llvm/runtime/build/src  /nfs/fx/proj/openmp/users/jlpeyton/openmp_llvm_commit/itt/libomp_llvm/runtime/test/ompt/omp_parallel_serialized.c -o /nfs/fx/proj/openmp/users/jlpeyton/openmp_llvm_commit/itt/libomp_llvm/runtime/build/test/ompt/Output/omp_parallel_serialized.c.tmp -lm && /nfs/fx/proj/openmp/users/jlpeyton/openmp_llvm_commit/itt/libomp_llvm/runtime/build/test/ompt/Output/omp_parallel_serialized.c.tmp | /nfs/fx/proj/openmp/users/jlpeyton/llvm/build/linux/bin/FileCheck /nfs/fx/proj/openmp/users/jlpeyton/openmp_llvm_commit/itt/libomp_llvm/runtime/test/ompt/omp_parallel_serialized.c
  --
  Exit Code: 1
  
  Command Output (stdout):
  --
  Command 0: "/usr/bin/cc" "-fopenmp" "-I" "/nfs/fx/proj/openmp/users/jlpeyton/openmp_llvm_commit/itt/libomp_llvm/runtime/test" "-I" "/nfs/fx/proj/openmp/users/jlpeyton/openmp_llvm_commit/itt/libomp_llvm/runtime/build/src" "-L" "/nfs/fx/proj/openmp/users/jlpeyton/openmp_llvm_commit/itt/libomp_llvm/runtime/build/src" "/nfs/fx/proj/openmp/users/jlpeyton/openmp_llvm_commit/itt/libomp_llvm/runtime/test/ompt/omp_parallel_serialized.c" "-o" "/nfs/fx/proj/openmp/users/jlpeyton/openmp_llvm_commit/itt/libomp_llvm/runtime/build/test/ompt/Output/omp_parallel_serialized.c.tmp" "-lm"
  Command 0 Result: 0
  Command 0 Output:
  
  
  Command 0 Stderr:
  
  
  Command 1: "/nfs/fx/proj/openmp/users/jlpeyton/openmp_llvm_commit/itt/libomp_llvm/runtime/build/test/ompt/Output/omp_parallel_serialized.c.tmp"
  Command 1 Result: 0
  Command 1 Output:
  
  
  Command 1 Stderr:
  
  
  Command 2: "/nfs/fx/proj/openmp/users/jlpeyton/llvm/build/linux/bin/FileCheck" "/nfs/fx/proj/openmp/users/jlpeyton/openmp_llvm_commit/itt/libomp_llvm/runtime/test/ompt/omp_parallel_serialized.c"
  Command 2 Result: 1
  Command 2 Output:
  
  
  Command 2 Stderr:
  /nfs/fx/proj/openmp/users/jlpeyton/openmp_llvm_commit/itt/libomp_llvm/runtime/test/ompt/omp_parallel_serialized.c:16:12: error: expected string not found in input
   // CHECK: {{^}}[[MASTER_ID]]: ompt_event_parallel_end: parallel_id=[[PARALLEL_ID]], task_id=[[PARENT_TASK_ID]], invoker=[[PARALLEL_INVOKER]]
             ^
  <stdin>:4:1: note: scanning from here
  1: ompt_event_parallel_end: parallel_id=2, task_id=4, invoker=0
  ^
  <stdin>:4:1: note: with variable "MASTER_ID" equal to "1"
  1: ompt_event_parallel_end: parallel_id=2, task_id=4, invoker=0
  ^
  <stdin>:4:1: note: with variable "PARALLEL_ID" equal to "2"
  1: ompt_event_parallel_end: parallel_id=2, task_id=4, invoker=0
  ^
  <stdin>:4:1: note: with variable "PARENT_TASK_ID" equal to "3"
  1: ompt_event_parallel_end: parallel_id=2, task_id=4, invoker=0
  ^
  <stdin>:4:1: note: with variable "PARALLEL_INVOKER" equal to "0"
  1: ompt_event_parallel_end: parallel_id=2, task_id=4, invoker=0
  ^
  
  
  
  --
  
  ********************

Does this have to do with the previous patch: http://reviews.llvm.org/D16714 ?


http://reviews.llvm.org/D16715





More information about the Openmp-commits mailing list