[Openmp-dev] Erros from ninja check-libomptarget-nvptx on Power

Itaru Kitayama via Openmp-dev openmp-dev at lists.llvm.org
Sat Dec 21 20:47:20 PST 2019


Sorry for the noise. On a POWER8 compute node with GPUs, tests ran fine.

[...]
[100%] Running libomptarget-nvptx tests

Testing Time: 104.18s
  Expected Passes    : 12
[100%] Built target check-libomptarget-nvptx

I can not still understand as to why the app build with the Debug Clang is
too slow.

On Sun, Dec 22, 2019 at 11:06 AM Itaru Kitayama <itaru.kitayama at gmail.com>
wrote:

> Can the offloading experts look at the failures?
>
>
> [kitayama1 at juron1-adm 201912220241]$ ninja check-libomptarget-nvptx
> [1/2] Running libomptarget-nvptx tests
> FAIL: libomptarget-nvptx :: api/ignored.c (1 of 12)
> ******************** TEST 'libomptarget-nvptx :: api/ignored.c' FAILED
> ********************
> Script:
> --
> : 'RUN: at line 1';   /tmp/201912220241/./bin/clang -fopenmp
> -fopenmp-targets=nvptx64-nvidia-cuda  -I
> /tmp/201912220241/projects/openmp/libomptarget/../runtime/src -L
> /tmp/201912220241/lib --libomptarget-nvptx-path=/tmp/201912220241/lib
>  /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/api/ignored.c
> -o
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/api/Output/ignored.c.tmp
> &&
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/api/Output/ignored.c.tmp
> | /tmp/201912220241/./bin/FileCheck
> /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/api/ignored.c
> --
> Exit Code: 2
>
> Command Output (stdout):
> --
> $ ":" "RUN: at line 1"
> $ "/tmp/201912220241/./bin/clang" "-fopenmp"
> "-fopenmp-targets=nvptx64-nvidia-cuda" "-I"
> "/tmp/201912220241/projects/openmp/libomptarget/../runtime/src" "-L"
> "/tmp/201912220241/lib" "--libomptarget-nvptx-path=/tmp/201912220241/lib"
> "/p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/api/ignored.c"
> "-o"
> "/tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/api/Output/ignored.c.tmp"
> $
> "/tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/api/Output/ignored.c.tmp"
> # command stderr:
> Libomptarget fatal error 1: failure of target construct while offloading
> is mandatory
>
> error: command failed with exit status: 1
> $ "/tmp/201912220241/./bin/FileCheck"
> "/p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/api/ignored.c"
> # command stderr:
> FileCheck error: '-' is empty.
> FileCheck command line:  /tmp/201912220241/./bin/FileCheck
> /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/api/ignored.c
>
> error: command failed with exit status: 2
>
> --
>
> ********************
> FAIL: libomptarget-nvptx :: api/max_threads.c (2 of 12)
> ******************** TEST 'libomptarget-nvptx :: api/max_threads.c' FAILED
> ********************
> Script:
> --
> : 'RUN: at line 1';   /tmp/201912220241/./bin/clang -fopenmp
> -fopenmp-targets=nvptx64-nvidia-cuda  -I
> /tmp/201912220241/projects/openmp/libomptarget/../runtime/src -L
> /tmp/201912220241/lib --libomptarget-nvptx-path=/tmp/201912220241/lib
>  /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/api/max_threads.c
> -o
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/api/Output/max_threads.c.tmp
> &&
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/api/Output/max_threads.c.tmp
> | /tmp/201912220241/./bin/FileCheck
> /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/api/max_threads.c
> --
> Exit Code: 2
>
> Command Output (stdout):
> --
> $ ":" "RUN: at line 1"
> $ "/tmp/201912220241/./bin/clang" "-fopenmp"
> "-fopenmp-targets=nvptx64-nvidia-cuda" "-I"
> "/tmp/201912220241/projects/openmp/libomptarget/../runtime/src" "-L"
> "/tmp/201912220241/lib" "--libomptarget-nvptx-path=/tmp/201912220241/lib"
> "/p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/api/max_threads.c"
> "-o"
> "/tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/api/Output/max_threads.c.tmp"
> # command stderr:
> ptxas /tmp/max_threads-64893b.s, line 4909; warning : Instruction 'vote'
> without '.sync' is deprecated since PTX ISA version 6.0 and will be
> discontinued in a future PTX ISA version
>
> $
> "/tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/api/Output/max_threads.c.tmp"
> # command stderr:
> Libomptarget fatal error 1: failure of target construct while offloading
> is mandatory
>
> error: command failed with exit status: 1
> $ "/tmp/201912220241/./bin/FileCheck"
> "/p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/api/max_threads.c"
> # command stderr:
> FileCheck error: '-' is empty.
> FileCheck command line:  /tmp/201912220241/./bin/FileCheck
> /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/api/max_threads.c
>
> error: command failed with exit status: 2
>
> --
>
> ********************
> FAIL: libomptarget-nvptx :: api/thread_limit.c (3 of 12)
> ******************** TEST 'libomptarget-nvptx :: api/thread_limit.c'
> FAILED ********************
> Script:
> --
> : 'RUN: at line 1';   /tmp/201912220241/./bin/clang -fopenmp
> -fopenmp-targets=nvptx64-nvidia-cuda  -I
> /tmp/201912220241/projects/openmp/libomptarget/../runtime/src -L
> /tmp/201912220241/lib --libomptarget-nvptx-path=/tmp/201912220241/lib
>  /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/api/thread_limit.c
> -o
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/api/Output/thread_limit.c.tmp
> &&
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/api/Output/thread_limit.c.tmp
> | /tmp/201912220241/./bin/FileCheck
> /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/api/thread_limit.c
> --
> Exit Code: 2
>
> Command Output (stdout):
> --
> $ ":" "RUN: at line 1"
> $ "/tmp/201912220241/./bin/clang" "-fopenmp"
> "-fopenmp-targets=nvptx64-nvidia-cuda" "-I"
> "/tmp/201912220241/projects/openmp/libomptarget/../runtime/src" "-L"
> "/tmp/201912220241/lib" "--libomptarget-nvptx-path=/tmp/201912220241/lib"
> "/p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/api/thread_limit.c"
> "-o"
> "/tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/api/Output/thread_limit.c.tmp"
> # command stderr:
> ptxas /tmp/thread_limit-2f51a7.s, line 6262; warning : Instruction 'vote'
> without '.sync' is deprecated since PTX ISA version 6.0 and will be
> discontinued in a future PTX ISA version
>
> $
> "/tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/api/Output/thread_limit.c.tmp"
> # command stderr:
> Libomptarget fatal error 1: failure of target construct while offloading
> is mandatory
>
> error: command failed with exit status: 1
> $ "/tmp/201912220241/./bin/FileCheck"
> "/p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/api/thread_limit.c"
> # command stderr:
> FileCheck error: '-' is empty.
> FileCheck command line:  /tmp/201912220241/./bin/FileCheck
> /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/api/thread_limit.c
>
> error: command failed with exit status: 2
>
> --
>
> ********************
> FAIL: libomptarget-nvptx :: data_sharing/alignment.c (4 of 12)
> ******************** TEST 'libomptarget-nvptx :: data_sharing/alignment.c'
> FAILED ********************
> Script:
> --
> : 'RUN: at line 1';   /tmp/201912220241/./bin/clang -fopenmp
> -fopenmp-targets=nvptx64-nvidia-cuda  -I
> /tmp/201912220241/projects/openmp/libomptarget/../runtime/src -L
> /tmp/201912220241/lib --libomptarget-nvptx-path=/tmp/201912220241/lib
>  /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/data_sharing/alignment.c
> -o
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/data_sharing/Output/alignment.c.tmp
> &&
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/data_sharing/Output/alignment.c.tmp
> | /tmp/201912220241/./bin/FileCheck
> /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/data_sharing/alignment.c
> --
> Exit Code: 2
>
> Command Output (stdout):
> --
> $ ":" "RUN: at line 1"
> $ "/tmp/201912220241/./bin/clang" "-fopenmp"
> "-fopenmp-targets=nvptx64-nvidia-cuda" "-I"
> "/tmp/201912220241/projects/openmp/libomptarget/../runtime/src" "-L"
> "/tmp/201912220241/lib" "--libomptarget-nvptx-path=/tmp/201912220241/lib"
> "/p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/data_sharing/alignment.c"
> "-o"
> "/tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/data_sharing/Output/alignment.c.tmp"
> # command stderr:
> ptxas /tmp/alignment-a2b0d7.s, line 1467; warning : Instruction 'vote'
> without '.sync' is deprecated since PTX ISA version 6.0 and will be
> discontinued in a future PTX ISA version
>
> $
> "/tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/data_sharing/Output/alignment.c.tmp"
> # command stderr:
> Libomptarget fatal error 1: failure of target construct while offloading
> is mandatory
>
> error: command failed with exit status: 1
> $ "/tmp/201912220241/./bin/FileCheck"
> "/p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/data_sharing/alignment.c"
> # command stderr:
> FileCheck error: '-' is empty.
> FileCheck command line:  /tmp/201912220241/./bin/FileCheck
> /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/data_sharing/alignment.c
>
> error: command failed with exit status: 2
>
> --
>
> ********************
> FAIL: libomptarget-nvptx :: parallel/barrier.c (5 of 12)
> ******************** TEST 'libomptarget-nvptx :: parallel/barrier.c'
> FAILED ********************
> Script:
> --
> : 'RUN: at line 1';   /tmp/201912220241/./bin/clang -fopenmp
> -fopenmp-targets=nvptx64-nvidia-cuda  -I
> /tmp/201912220241/projects/openmp/libomptarget/../runtime/src -L
> /tmp/201912220241/lib --libomptarget-nvptx-path=/tmp/201912220241/lib
>  /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/barrier.c
> -o
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/barrier.c.tmp
> &&
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/barrier.c.tmp
> | /tmp/201912220241/./bin/FileCheck
> /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/barrier.c
> --
> Exit Code: 2
>
> Command Output (stdout):
> --
> $ ":" "RUN: at line 1"
> $ "/tmp/201912220241/./bin/clang" "-fopenmp"
> "-fopenmp-targets=nvptx64-nvidia-cuda" "-I"
> "/tmp/201912220241/projects/openmp/libomptarget/../runtime/src" "-L"
> "/tmp/201912220241/lib" "--libomptarget-nvptx-path=/tmp/201912220241/lib"
> "/p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/barrier.c"
> "-o"
> "/tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/barrier.c.tmp"
> $
> "/tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/barrier.c.tmp"
> # command stderr:
> Libomptarget fatal error 1: failure of target construct while offloading
> is mandatory
>
> error: command failed with exit status: 1
> $ "/tmp/201912220241/./bin/FileCheck"
> "/p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/barrier.c"
> # command stderr:
> FileCheck error: '-' is empty.
> FileCheck command line:  /tmp/201912220241/./bin/FileCheck
> /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/barrier.c
>
> error: command failed with exit status: 2
>
> --
>
> ********************
> FAIL: libomptarget-nvptx :: parallel/flush.c (6 of 12)
> ******************** TEST 'libomptarget-nvptx :: parallel/flush.c' FAILED
> ********************
> Script:
> --
> : 'RUN: at line 1';   /tmp/201912220241/./bin/clang -fopenmp
> -fopenmp-targets=nvptx64-nvidia-cuda  -I
> /tmp/201912220241/projects/openmp/libomptarget/../runtime/src -L
> /tmp/201912220241/lib --libomptarget-nvptx-path=/tmp/201912220241/lib
>  /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/flush.c
> -o
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/flush.c.tmp
> &&
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/flush.c.tmp
> | /tmp/201912220241/./bin/FileCheck
> /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/flush.c
> --
> Exit Code: 2
>
> Command Output (stdout):
> --
> $ ":" "RUN: at line 1"
> $ "/tmp/201912220241/./bin/clang" "-fopenmp"
> "-fopenmp-targets=nvptx64-nvidia-cuda" "-I"
> "/tmp/201912220241/projects/openmp/libomptarget/../runtime/src" "-L"
> "/tmp/201912220241/lib" "--libomptarget-nvptx-path=/tmp/201912220241/lib"
> "/p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/flush.c"
> "-o"
> "/tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/flush.c.tmp"
> $
> "/tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/flush.c.tmp"
> # command stderr:
> Libomptarget fatal error 1: failure of target construct while offloading
> is mandatory
>
> error: command failed with exit status: 1
> $ "/tmp/201912220241/./bin/FileCheck"
> "/p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/flush.c"
> # command stderr:
> FileCheck error: '-' is empty.
> FileCheck command line:  /tmp/201912220241/./bin/FileCheck
> /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/flush.c
>
> error: command failed with exit status: 2
>
> --
>
> ********************
> FAIL: libomptarget-nvptx :: parallel/level.c (7 of 12)
> ******************** TEST 'libomptarget-nvptx :: parallel/level.c' FAILED
> ********************
> Script:
> --
> : 'RUN: at line 1';   /tmp/201912220241/./bin/clang -fopenmp
> -fopenmp-targets=nvptx64-nvidia-cuda  -I
> /tmp/201912220241/projects/openmp/libomptarget/../runtime/src -L
> /tmp/201912220241/lib --libomptarget-nvptx-path=/tmp/201912220241/lib
>  /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/level.c
> -o
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/level.c.tmp
> &&
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/level.c.tmp
> | /tmp/201912220241/./bin/FileCheck
> /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/level.c
> --
> Exit Code: 2
>
> Command Output (stdout):
> --
> $ ":" "RUN: at line 1"
> $ "/tmp/201912220241/./bin/clang" "-fopenmp"
> "-fopenmp-targets=nvptx64-nvidia-cuda" "-I"
> "/tmp/201912220241/projects/openmp/libomptarget/../runtime/src" "-L"
> "/tmp/201912220241/lib" "--libomptarget-nvptx-path=/tmp/201912220241/lib"
> "/p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/level.c"
> "-o"
> "/tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/level.c.tmp"
> # command stderr:
> ptxas /tmp/level-8f38d6.s, line 4651; warning : Instruction 'vote' without
> '.sync' is deprecated since PTX ISA version 6.0 and will be discontinued in
> a future PTX ISA version
>
> $
> "/tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/level.c.tmp"
> # command stderr:
> Libomptarget fatal error 1: failure of target construct while offloading
> is mandatory
>
> error: command failed with exit status: 1
> $ "/tmp/201912220241/./bin/FileCheck"
> "/p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/level.c"
> # command stderr:
> FileCheck error: '-' is empty.
> FileCheck command line:  /tmp/201912220241/./bin/FileCheck
> /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/level.c
>
> error: command failed with exit status: 2
>
> --
>
> ********************
> FAIL: libomptarget-nvptx :: parallel/nested.c (8 of 12)
> ******************** TEST 'libomptarget-nvptx :: parallel/nested.c' FAILED
> ********************
> Script:
> --
> : 'RUN: at line 1';   /tmp/201912220241/./bin/clang -fopenmp
> -fopenmp-targets=nvptx64-nvidia-cuda  -I
> /tmp/201912220241/projects/openmp/libomptarget/../runtime/src -L
> /tmp/201912220241/lib --libomptarget-nvptx-path=/tmp/201912220241/lib
>  /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/nested.c
> -o
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/nested.c.tmp
> &&
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/nested.c.tmp
> | /tmp/201912220241/./bin/FileCheck
> /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/nested.c
> --
> Exit Code: 2
>
> Command Output (stdout):
> --
> $ ":" "RUN: at line 1"
> $ "/tmp/201912220241/./bin/clang" "-fopenmp"
> "-fopenmp-targets=nvptx64-nvidia-cuda" "-I"
> "/tmp/201912220241/projects/openmp/libomptarget/../runtime/src" "-L"
> "/tmp/201912220241/lib" "--libomptarget-nvptx-path=/tmp/201912220241/lib"
> "/p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/nested.c"
> "-o"
> "/tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/nested.c.tmp"
> # command stderr:
> ptxas /tmp/nested-a39cef.s, line 2928; warning : Instruction 'vote'
> without '.sync' is deprecated since PTX ISA version 6.0 and will be
> discontinued in a future PTX ISA version
>
> $
> "/tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/nested.c.tmp"
> # command stderr:
> Libomptarget fatal error 1: failure of target construct while offloading
> is mandatory
>
> error: command failed with exit status: 1
> $ "/tmp/201912220241/./bin/FileCheck"
> "/p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/nested.c"
> # command stderr:
> FileCheck error: '-' is empty.
> FileCheck command line:  /tmp/201912220241/./bin/FileCheck
> /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/nested.c
>
> error: command failed with exit status: 2
>
> --
>
> ********************
> FAIL: libomptarget-nvptx :: parallel/num_threads.c (9 of 12)
> ******************** TEST 'libomptarget-nvptx :: parallel/num_threads.c'
> FAILED ********************
> Script:
> --
> : 'RUN: at line 1';   /tmp/201912220241/./bin/clang -fopenmp
> -fopenmp-targets=nvptx64-nvidia-cuda  -I
> /tmp/201912220241/projects/openmp/libomptarget/../runtime/src -L
> /tmp/201912220241/lib --libomptarget-nvptx-path=/tmp/201912220241/lib
>  /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/num_threads.c
> -o
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/num_threads.c.tmp
> &&
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/num_threads.c.tmp
> | /tmp/201912220241/./bin/FileCheck
> /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/num_threads.c
> --
> Exit Code: 2
>
> Command Output (stdout):
> --
> $ ":" "RUN: at line 1"
> $ "/tmp/201912220241/./bin/clang" "-fopenmp"
> "-fopenmp-targets=nvptx64-nvidia-cuda" "-I"
> "/tmp/201912220241/projects/openmp/libomptarget/../runtime/src" "-L"
> "/tmp/201912220241/lib" "--libomptarget-nvptx-path=/tmp/201912220241/lib"
> "/p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/num_threads.c"
> "-o"
> "/tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/num_threads.c.tmp"
> $
> "/tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/num_threads.c.tmp"
> # command stderr:
> Libomptarget fatal error 1: failure of target construct while offloading
> is mandatory
>
> error: command failed with exit status: 1
> $ "/tmp/201912220241/./bin/FileCheck"
> "/p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/num_threads.c"
> # command stderr:
> FileCheck error: '-' is empty.
> FileCheck command line:  /tmp/201912220241/./bin/FileCheck
> /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/num_threads.c
>
> error: command failed with exit status: 2
>
> --
>
> ********************
> FAIL: libomptarget-nvptx :: parallel/spmd_parallel_regions.cpp (10 of 12)
> ******************** TEST 'libomptarget-nvptx ::
> parallel/spmd_parallel_regions.cpp' FAILED ********************
> Script:
> --
> : 'RUN: at line 1';   /tmp/201912220241/./bin/clang++ -fopenmp
> -fopenmp-targets=nvptx64-nvidia-cuda  -I
> /tmp/201912220241/projects/openmp/libomptarget/../runtime/src -L
> /tmp/201912220241/lib --libomptarget-nvptx-path=/tmp/201912220241/lib
>  /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/spmd_parallel_regions.cpp
> -o
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/spmd_parallel_regions.cpp.tmp
> &&
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/spmd_parallel_regions.cpp.tmp
> | /tmp/201912220241/./bin/FileCheck
> /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/spmd_parallel_regions.cpp
> --
> Exit Code: 2
>
> Command Output (stdout):
> --
> $ ":" "RUN: at line 1"
> $ "/tmp/201912220241/./bin/clang++" "-fopenmp"
> "-fopenmp-targets=nvptx64-nvidia-cuda" "-I"
> "/tmp/201912220241/projects/openmp/libomptarget/../runtime/src" "-L"
> "/tmp/201912220241/lib" "--libomptarget-nvptx-path=/tmp/201912220241/lib"
> "/p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/spmd_parallel_regions.cpp"
> "-o"
> "/tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/spmd_parallel_regions.cpp.tmp"
> # command stderr:
> ptxas /tmp/spmd_parallel_regions-ae8998.s, line 3092; warning :
> Instruction 'vote' without '.sync' is deprecated since PTX ISA version 6.0
> and will be discontinued in a future PTX ISA version
>
> $
> "/tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/spmd_parallel_regions.cpp.tmp"
> # command stderr:
> Libomptarget fatal error 1: failure of target construct while offloading
> is mandatory
>
> error: command failed with exit status: 1
> $ "/tmp/201912220241/./bin/FileCheck"
> "/p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/spmd_parallel_regions.cpp"
> # command stderr:
> FileCheck error: '-' is empty.
> FileCheck command line:  /tmp/201912220241/./bin/FileCheck
> /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/spmd_parallel_regions.cpp
>
> error: command failed with exit status: 2
>
> --
>
> ********************
> FAIL: libomptarget-nvptx :: parallel/thread_limit.c (11 of 12)
> ******************** TEST 'libomptarget-nvptx :: parallel/thread_limit.c'
> FAILED ********************
> Script:
> --
> : 'RUN: at line 1';   /tmp/201912220241/./bin/clang -fopenmp
> -fopenmp-targets=nvptx64-nvidia-cuda  -I
> /tmp/201912220241/projects/openmp/libomptarget/../runtime/src -L
> /tmp/201912220241/lib --libomptarget-nvptx-path=/tmp/201912220241/lib
>  /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/thread_limit.c
> -o
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/thread_limit.c.tmp
> &&
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/thread_limit.c.tmp
> | /tmp/201912220241/./bin/FileCheck
> /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/thread_limit.c
> --
> Exit Code: 2
>
> Command Output (stdout):
> --
> $ ":" "RUN: at line 1"
> $ "/tmp/201912220241/./bin/clang" "-fopenmp"
> "-fopenmp-targets=nvptx64-nvidia-cuda" "-I"
> "/tmp/201912220241/projects/openmp/libomptarget/../runtime/src" "-L"
> "/tmp/201912220241/lib" "--libomptarget-nvptx-path=/tmp/201912220241/lib"
> "/p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/thread_limit.c"
> "-o"
> "/tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/thread_limit.c.tmp"
> $
> "/tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/thread_limit.c.tmp"
> # command stderr:
> Libomptarget fatal error 1: failure of target construct while offloading
> is mandatory
>
> error: command failed with exit status: 1
> $ "/tmp/201912220241/./bin/FileCheck"
> "/p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/thread_limit.c"
> # command stderr:
> FileCheck error: '-' is empty.
> FileCheck command line:  /tmp/201912220241/./bin/FileCheck
> /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/thread_limit.c
>
> error: command failed with exit status: 2
>
> --
>
> ********************
> FAIL: libomptarget-nvptx :: parallel/tripcount.c (12 of 12)
> ******************** TEST 'libomptarget-nvptx :: parallel/tripcount.c'
> FAILED ********************
> Script:
> --
> : 'RUN: at line 1';   /tmp/201912220241/./bin/clang -fopenmp
> -fopenmp-targets=nvptx64-nvidia-cuda  -I
> /tmp/201912220241/projects/openmp/libomptarget/../runtime/src -L
> /tmp/201912220241/lib --libomptarget-nvptx-path=/tmp/201912220241/lib
>  /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/tripcount.c
> -o
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/tripcount.c.tmp
> &&
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/tripcount.c.tmp
> | /tmp/201912220241/./bin/FileCheck
> /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/tripcount.c
> --
> Exit Code: 2
>
> Command Output (stdout):
> --
> $ ":" "RUN: at line 1"
> $ "/tmp/201912220241/./bin/clang" "-fopenmp"
> "-fopenmp-targets=nvptx64-nvidia-cuda" "-I"
> "/tmp/201912220241/projects/openmp/libomptarget/../runtime/src" "-L"
> "/tmp/201912220241/lib" "--libomptarget-nvptx-path=/tmp/201912220241/lib"
> "/p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/tripcount.c"
> "-o"
> "/tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/tripcount.c.tmp"
> $
> "/tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/Output/tripcount.c.tmp"
> # command stderr:
> Libomptarget fatal error 1: failure of target construct while offloading
> is mandatory
> Libomptarget fatal error 1: failure of target construct while offloading
> is mandatory
>
> error: command failed with exit status: 1
> $ "/tmp/201912220241/./bin/FileCheck"
> "/p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/tripcount.c"
> # command stderr:
> FileCheck error: '-' is empty.
> FileCheck command line:  /tmp/201912220241/./bin/FileCheck
> /p/scratch/cpcp0/pcp0151/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/tripcount.c
>
> error: command failed with exit status: 2
>
> --
>
> ********************
>
> Testing Time: 42.63s
> ********************
> Failing Tests (12):
>     libomptarget-nvptx :: api/ignored.c
>     libomptarget-nvptx :: api/max_threads.c
>     libomptarget-nvptx :: api/thread_limit.c
>     libomptarget-nvptx :: data_sharing/alignment.c
>     libomptarget-nvptx :: parallel/barrier.c
>     libomptarget-nvptx :: parallel/flush.c
>     libomptarget-nvptx :: parallel/level.c
>     libomptarget-nvptx :: parallel/nested.c
>     libomptarget-nvptx :: parallel/num_threads.c
>     libomptarget-nvptx :: parallel/spmd_parallel_regions.cpp
>     libomptarget-nvptx :: parallel/thread_limit.c
>     libomptarget-nvptx :: parallel/tripcount.c
>
>   Unexpected Failures: 12
> FAILED:
> projects/openmp/libomptarget/deviceRTLs/nvptx/test/CMakeFiles/check-libomptarget-nvptx
> cd /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test &&
> /usr/bin/python /tmp/201912220241/./bin/llvm-lit -j1 -sv
> /tmp/201912220241/projects/openmp/libomptarget/deviceRTLs/nvptx/test
> ninja: build stopped: subcommand failed.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20191222/30876244/attachment-0001.html>


More information about the Openmp-dev mailing list