Intel compiler error with tuple_storage
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 107
- Forks
- 26
- Avg merge
- 8d 11h
- Merged PRs (30d)
- 2
Description
When compiling RAJA with Intel+OpenMPI (19 or 21), I get the following error:
In file included from /g/g15/neth3/RAJA/include/RAJA/util/camp_aliases.hpp(31),
from /g/g15/neth3/RAJA/include/RAJA/policy/PolicyBase.hpp(21),
from /g/g15/neth3/RAJA/include/RAJA/index/IndexSet.hpp(29),
from /g/g15/neth3/RAJA/include/RAJA/index/IndexSetBuilders.hpp(23),
from /g/g15/neth3/RAJA/src/AlignedRangeIndexSetBuilders.cpp(24):
/g/g15/neth3/libs/include/camp/tuple.hpp(110): error: cannot overload functions distinguished by return type alone
CAMP_HOST_DEVICE CAMP_CONSTEXPR14 Type& get_inner() noexcept { return val; }
^
In file included from /g/g15/neth3/RAJA/include/RAJA/util/camp_aliases.hpp(31),
from /g/g15/neth3/RAJA/include/RAJA/policy/PolicyBase.hpp(21),
from /g/g15/neth3/RAJA/include/RAJA/index/IndexSet.hpp(29),
from /g/g15/neth3/RAJA/include/RAJA/index/IndexSetBuilders.hpp(23),
from /g/g15/neth3/RAJA/src/AlignedRangeIndexSetBuilders.cpp(24):
/g/g15/neth3/libs/include/camp/tuple.hpp(134): error: cannot overload functions distinguished by return type alone
CAMP_HOST_DEVICE CAMP_CONSTEXPR14 Type& get_inner() noexcept
^
make[2]: *** [CMakeFiles/RAJA.dir/src/AlignedRangeIndexSetBuilders.cpp.o] Error 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Intel 19 or 21 plus OpenMPI build failure in camp/tuple.hpp, where errors are reported at get_inner() around lines 110 and 134. Compare the conflicting overloads in that file and verify that the RAJA compilation no longer reports the return-type overload errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100