llnl / llnl/RAJAPerf

building error with gcc 9.3.0 nvcc 11.6.55

Open
#229 6 comments 0 reactions 1 assignee View on GitHub

@MrBurmark is already working on this.

Since Apr 7, 2022.

build
Dominant language
Jupyter Notebook
Stars
135
Forks
55
Avg merge
4d 16h
Merged PRs (30d)
5

Description

cuda compute architecture: sm_75
gcc version: 9.3.0
nvcc version: 11.6.55

/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-OMP.cpp: In member function 'virtual void rajaperf::apps::HALOEXCHANGE_FUSED::runOpenMPVariant(rajaperf::VariantID, size_t)':
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-OMP.cpp:132:326: error: invalid application of 'sizeof' to incomplete type 'pack_lambda_type' {aka 'rajaperf::apps::HALOEXCHANGE_FUSED::runOpenMPVariant(rajaperf::VariantID, size_t)::__T3'}
  132 |       HALOEXCHANGE_FUSED_MANUAL_LAMBDA_FUSER_SETUP;
      |                                                                                                                                                                                                                                                                                                                                      ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-OMP.cpp:132:766: error: invalid application of 'sizeof' to incomplete type 'unpack_lambda_type' {aka 'rajaperf::apps::HALOEXCHANGE_FUSED::runOpenMPVariant(rajaperf::VariantID, size_t)::__T5'}
  132 |       HALOEXCHANGE_FUSED_MANUAL_LAMBDA_FUSER_SETUP;
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-OMP.cpp:145:31: error: invalid use of incomplete type 'class rajaperf::apps::HALOEXCHANGE_FUSED::runOpenMPVariant(rajaperf::VariantID, size_t)::__T3'
  145 |             new(&pack_lambdas[pack_index]) pack_lambda_type(make_pack_lambda(buffer, list, var));
      |                               ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-OMP.cpp:132:219: note: forward declaration of 'class rajaperf::apps::HALOEXCHANGE_FUSED::runOpenMPVariant(rajaperf::VariantID, size_t)::__T3'
  132 |       HALOEXCHANGE_FUSED_MANUAL_LAMBDA_FUSER_SETUP;
      |                                                                                                                                                                                                                           ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-OMP.cpp:145:87: error: invalid use of incomplete type 'using pack_lambda_type = class rajaperf::apps::HALOEXCHANGE_FUSED::runOpenMPVariant(rajaperf::VariantID, size_t)::__T3' {aka 'class rajaperf::apps::HALOEXCHANGE_FUSED::runOpenMPVariant(rajaperf::VariantID, size_t)::__T3'}
  145 |             new(&pack_lambdas[pack_index]) pack_lambda_type(make_pack_lambda(buffer, list, var));
      |                                                                                       ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-OMP.cpp:132:219: note: forward declaration of 'using pack_lambda_type = class rajaperf::apps::HALOEXCHANGE_FUSED::runOpenMPVariant(rajaperf::VariantID, size_t)::__T3' {aka 'class rajaperf::apps::HALOEXCHANGE_FUSED::runOpenMPVariant(rajaperf::VariantID, size_t)::__T3'}
  132 |       HALOEXCHANGE_FUSED_MANUAL_LAMBDA_FUSER_SETUP;
      |                                                                                                                                                                                                                           ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-OMP.cpp:157:34: error: invalid use of incomplete type 'class rajaperf::apps::HALOEXCHANGE_FUSED::runOpenMPVariant(rajaperf::VariantID, size_t)::__T3'
  157 |             auto       pack_lambda = pack_lambdas[j];
      |                                  ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-OMP.cpp:132:219: note: forward declaration of 'class rajaperf::apps::HALOEXCHANGE_FUSED::runOpenMPVariant(rajaperf::VariantID, size_t)::__T3'
  132 |       HALOEXCHANGE_FUSED_MANUAL_LAMBDA_FUSER_SETUP;
      |                                                                                                                                                                                                                           ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-OMP.cpp:157:6: error: 'rajaperf::apps::HALOEXCHANGE_FUSED::runOpenMPVariant(rajaperf::VariantID, size_t)::__T3 pack_lambda' has incomplete type
  157 |             auto       pack_lambda = pack_lambdas[j];
      |      ^      ~~~~
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-OMP.cpp:183:35: error: invalid use of incomplete type 'class rajaperf::apps::HALOEXCHANGE_FUSED::runOpenMPVariant(rajaperf::VariantID, size_t)::__T5'
  183 |             new(&unpack_lambdas[unpack_index]) unpack_lambda_type(make_unpack_lambda(buffer, list, var));
      |                                   ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-OMP.cpp:132:651: note: forward declaration of 'class rajaperf::apps::HALOEXCHANGE_FUSED::runOpenMPVariant(rajaperf::VariantID, size_t)::__T5'
  132 |       HALOEXCHANGE_FUSED_MANUAL_LAMBDA_FUSER_SETUP;
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-OMP.cpp:183:95: error: invalid use of incomplete type 'using unpack_lambda_type = class rajaperf::apps::HALOEXCHANGE_FUSED::runOpenMPVariant(rajaperf::VariantID, size_t)::__T5' {aka 'class rajaperf::apps::HALOEXCHANGE_FUSED::runOpenMPVariant(rajaperf::VariantID, size_t)::__T5'}
  183 |             new(&unpack_lambdas[unpack_index]) unpack_lambda_type(make_unpack_lambda(buffer, list, var));
      |                                                                                               ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-OMP.cpp:132:651: note: forward declaration of 'using unpack_lambda_type = class rajaperf::apps::HALOEXCHANGE_FUSED::runOpenMPVariant(rajaperf::VariantID, size_t)::__T5' {aka 'class rajaperf::apps::HALOEXCHANGE_FUSED::runOpenMPVariant(rajaperf::VariantID, size_t)::__T5'}
  132 |       HALOEXCHANGE_FUSED_MANUAL_LAMBDA_FUSER_SETUP;
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-OMP.cpp:195:38: error: invalid use of incomplete type 'class rajaperf::apps::HALOEXCHANGE_FUSED::runOpenMPVariant(rajaperf::VariantID, size_t)::__T5'
  195 |             auto       unpack_lambda = unpack_lambdas[j];
      |                                      ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-OMP.cpp:132:651: note: forward declaration of 'class rajaperf::apps::HALOEXCHANGE_FUSED::runOpenMPVariant(rajaperf::VariantID, size_t)::__T5'
  132 |       HALOEXCHANGE_FUSED_MANUAL_LAMBDA_FUSER_SETUP;
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-OMP.cpp:195:6: error: 'rajaperf::apps::HALOEXCHANGE_FUSED::runOpenMPVariant(rajaperf::VariantID, size_t)::__T5 unpack_lambda' has incomplete type
  195 |             auto       unpack_lambda = unpack_lambdas[j];
      |      ^      ~~~~~~
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-Seq.cpp: In member function 'virtual void rajaperf::apps::HALOEXCHANGE_FUSED::runSeqVariant(rajaperf::VariantID, size_t)':
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-Seq.cpp:95:326: error: invalid application of 'sizeof' to incomplete type 'pack_lambda_type' {aka 'rajaperf::apps::HALOEXCHANGE_FUSED::runSeqVariant(rajaperf::VariantID, size_t)::__T3'}
   95 |       HALOEXCHANGE_FUSED_MANUAL_LAMBDA_FUSER_SETUP;
      |                                                                                                                                                                                                                                                                                                                                      ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-Seq.cpp:95:766: error: invalid application of 'sizeof' to incomplete type 'unpack_lambda_type' {aka 'rajaperf::apps::HALOEXCHANGE_FUSED::runSeqVariant(rajaperf::VariantID, size_t)::__T5'}
   95 |       HALOEXCHANGE_FUSED_MANUAL_LAMBDA_FUSER_SETUP;
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-Seq.cpp:108:31: error: invalid use of incomplete type 'class rajaperf::apps::HALOEXCHANGE_FUSED::runSeqVariant(rajaperf::VariantID, size_t)::__T3'
  108 |             new(&pack_lambdas[pack_index]) pack_lambda_type(make_pack_lambda(buffer, list, var));
      |                               ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-Seq.cpp:95:219: note: forward declaration of 'class rajaperf::apps::HALOEXCHANGE_FUSED::runSeqVariant(rajaperf::VariantID, size_t)::__T3'
   95 |       HALOEXCHANGE_FUSED_MANUAL_LAMBDA_FUSER_SETUP;
      |                                                                                                                                                                                                                           ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-Seq.cpp:108:87: error: invalid use of incomplete type 'using pack_lambda_type = class rajaperf::apps::HALOEXCHANGE_FUSED::runSeqVariant(rajaperf::VariantID, size_t)::__T3' {aka 'class rajaperf::apps::HALOEXCHANGE_FUSED::runSeqVariant(rajaperf::VariantID, size_t)::__T3'}
  108 |             new(&pack_lambdas[pack_index]) pack_lambda_type(make_pack_lambda(buffer, list, var));
      |                                                                                       ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-Seq.cpp:95:219: note: forward declaration of 'using pack_lambda_type = class rajaperf::apps::HALOEXCHANGE_FUSED::runSeqVariant(rajaperf::VariantID, size_t)::__T3' {aka 'class rajaperf::apps::HALOEXCHANGE_FUSED::runSeqVariant(rajaperf::VariantID, size_t)::__T3'}
   95 |       HALOEXCHANGE_FUSED_MANUAL_LAMBDA_FUSER_SETUP;
      |                                                                                                                                                                                                                           ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-Seq.cpp:115:34: error: invalid use of incomplete type 'class rajaperf::apps::HALOEXCHANGE_FUSED::runSeqVariant(rajaperf::VariantID, size_t)::__T3'
  115 |           auto       pack_lambda = pack_lambdas[j];
      |                                  ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-Seq.cpp:95:219: note: forward declaration of 'class rajaperf::apps::HALOEXCHANGE_FUSED::runSeqVariant(rajaperf::VariantID, size_t)::__T3'
   95 |       HALOEXCHANGE_FUSED_MANUAL_LAMBDA_FUSER_SETUP;
      |                                                                                                                                                                                                                           ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-Seq.cpp:115:6: error: 'rajaperf::apps::HALOEXCHANGE_FUSED::runSeqVariant(rajaperf::VariantID, size_t)::__T3 pack_lambda' has incomplete type
  115 |           auto       pack_lambda = pack_lambdas[j];
      |      ^    ~~~~~~
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-Seq.cpp:130:35: error: invalid use of incomplete type 'class rajaperf::apps::HALOEXCHANGE_FUSED::runSeqVariant(rajaperf::VariantID, size_t)::__T5'
  130 |             new(&unpack_lambdas[unpack_index]) unpack_lambda_type(make_unpack_lambda(buffer, list, var));
      |                                   ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-Seq.cpp:95:651: note: forward declaration of 'class rajaperf::apps::HALOEXCHANGE_FUSED::runSeqVariant(rajaperf::VariantID, size_t)::__T5'
   95 |       HALOEXCHANGE_FUSED_MANUAL_LAMBDA_FUSER_SETUP;
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-Seq.cpp:130:95: error: invalid use of incomplete type 'using unpack_lambda_type = class rajaperf::apps::HALOEXCHANGE_FUSED::runSeqVariant(rajaperf::VariantID, size_t)::__T5' {aka 'class rajaperf::apps::HALOEXCHANGE_FUSED::runSeqVariant(rajaperf::VariantID, size_t)::__T5'}
  130 |             new(&unpack_lambdas[unpack_index]) unpack_lambda_type(make_unpack_lambda(buffer, list, var));
      |                                                                                               ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-Seq.cpp:95:651: note: forward declaration of 'using unpack_lambda_type = class rajaperf::apps::HALOEXCHANGE_FUSED::runSeqVariant(rajaperf::VariantID, size_t)::__T5' {aka 'class rajaperf::apps::HALOEXCHANGE_FUSED::runSeqVariant(rajaperf::VariantID, size_t)::__T5'}
   95 |       HALOEXCHANGE_FUSED_MANUAL_LAMBDA_FUSER_SETUP;
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-Seq.cpp:137:38: error: invalid use of incomplete type 'class rajaperf::apps::HALOEXCHANGE_FUSED::runSeqVariant(rajaperf::VariantID, size_t)::__T5'
  137 |           auto       unpack_lambda = unpack_lambdas[j];
      |                                      ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-Seq.cpp:95:651: note: forward declaration of 'class rajaperf::apps::HALOEXCHANGE_FUSED::runSeqVariant(rajaperf::VariantID, size_t)::__T5'
   95 |       HALOEXCHANGE_FUSED_MANUAL_LAMBDA_FUSER_SETUP;
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ^
/root/repos/RAJA-PERFSUITE/RAJAPerf/src/apps/HALOEXCHANGE_FUSED-Seq.cpp:137:6: error: 'rajaperf::apps::HALOEXCHANGE_FUSED::runSeqVariant(rajaperf::VariantID, size_t)::__T5 unpack_lambda' has incomplete type
  137 |           auto       unpack_lambda = unpack_lambdas[j];
      |      ^    ~~~~~~~~
[ 82%] Building CUDA object src/apps/CMakeFiles/apps.dir/LTIMES-OMP.cpp.o
make[2]: *** [src/apps/CMakeFiles/apps.dir/build.make:518: src/apps/CMakeFiles/apps.dir/HALOEXCHANGE_FUSED-OMP.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 83%] Building CUDA object src/apps/CMakeFiles/apps.dir/LTIMES-OMPTarget.cpp.o
make[2]: *** [src/apps/CMakeFiles/apps.dir/build.make:479: src/apps/CMakeFiles/apps.dir/HALOEXCHANGE_FUSED-Seq.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:505: src/apps/CMakeFiles/apps.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.