Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot build cunumeric with bounds checks on #647

Closed
rohany opened this issue Oct 8, 2022 · 0 comments · Fixed by #648
Closed

cannot build cunumeric with bounds checks on #647

rohany opened this issue Oct 8, 2022 · 0 comments · Fixed by #648

Comments

@rohany
Copy link
Member

rohany commented Oct 8, 2022

I installed legate core with

LEGION_DIR=... ../quickstart/build.sh --clean --check-bounds

Then, i tried to install cunumeric using

../quickstart/build.sh --clean

I saw large stream of errors looking like:

    /g/g15/yadav2/nvidia/cunumeric/src/cunumeric/unary/scalar_unary_red_template.inl:159:14:   required from 'void cunumeric::scalar_unary_red_template(legate::TaskContext&) [with cunumeric::VariantKind KIND = (cunumeric::VariantKind)1]'
    /g/g15/yadav2/nvidia/cunumeric/src/cunumeric/unary/scalar_unary_red_omp.cc:25:54:   required from here
    /g/g15/yadav2/nvidia/cunumeric/src/cunumeric/unary/scalar_unary_red_template.inl:114:94: error: return-statement with a value, in function returning 'void' [-fpermissive]
    /g/g15/yadav2/nvidia/cunumeric/src/cunumeric/unary/scalar_unary_red_template.inl: In instantiation of 'void cunumeric::ScalarUnaryRed<KIND, OP_CODE, CODE, DIM>::execute() const [with cunumeric::VariantKind KIND = (cunumeric::VariantKind)1; cunumeric::UnaryRedCode OP_CODE = (cunumeric::UnaryRedCode)10; legate_core_type_code_t CODE = (legate_core_type_code_t)3; int DIM = 4]':
    /g/g15/yadav2/nvidia/cunumeric/src/cunumeric/unary/scalar_unary_red_template.inl:126:7:   required from 'void cunumeric::ScalarUnaryRedImpl<KIND, OP_CODE>::operator()(cunumeric::ScalarUnaryRedArgs&) const [with legate_core_type_code_t CODE = (legate_core_type_code_t)3; int DIM = 4; cunumeric::VariantKind KIND = (cunumeric::VariantKind)1; cunumeric::UnaryRedCode OP_CODE = (cunumeric::UnaryRedCode)10]'
    /g/g15/yadav2/nvidia/legate.core/src/core/utilities/dispatch.h:39:98:   required from 'constexpr decltype(auto) legate::inner_type_dispatch_fn<DIM>::operator()(legate::LegateTypeCode, Functor, Fnargs&& ...) [with Functor = cunumeric::ScalarUnaryRedImpl<(cunumeric::VariantKind)1, (cunumeric::UnaryRedCode)10>; Fnargs = {cunumeric::ScalarUnaryRedArgs&}; int DIM = 4; legate::LegateTypeCode = legate_core_type_code_t]'
    /g/g15/yadav2/nvidia/legate.core/src/core/utilities/dispatch.h:156:41:   required from 'constexpr decltype(auto) legate::double_dispatch(int, legate::LegateTypeCode, Functor, Fnargs&& ...) [with Functor = cunumeric::ScalarUnaryRedImpl<(cunumeric::VariantKind)1, (cunumeric::UnaryRedCode)10>; Fnargs = {cunumeric::ScalarUnaryRedArgs&}; legate::LegateTypeCode = legate_core_type_code_t]'
    /g/g15/yadav2/nvidia/cunumeric/src/cunumeric/unary/scalar_unary_red_template.inl:137:20:   required from 'void cunumeric::ScalarUnaryRedDispatch<KIND>::operator()(cunumeric::ScalarUnaryRedArgs&) const [with cunumeric::UnaryRedCode OP_CODE = (cunumeric::UnaryRedCode)10; cunumeric::VariantKind KIND = (cunumeric::VariantKind)1]'
    /g/g15/yadav2/nvidia/cunumeric/src/cunumeric/unary/unary_red_util.h:71:84:   required from 'constexpr decltype(auto) cunumeric::op_dispatch(cunumeric::UnaryRedCode, Functor, Fnargs&& ...) [with Functor = cunumeric::ScalarUnaryRedDispatch<(cunumeric::VariantKind)1>; Fnargs = {cunumeric::ScalarUnaryRedArgs&}]'
    /g/g15/yadav2/nvidia/cunumeric/src/cunumeric/unary/scalar_unary_red_template.inl:159:14:   required from 'void cunumeric::scalar_unary_red_template(legate::TaskContext&) [with cunumeric::VariantKind KIND = (cunumeric::VariantKind)1]'
    /g/g15/yadav2/nvidia/cunumeric/src/cunumeric/unary/scalar_unary_red_omp.cc:25:54:   required from here
    /g/g15/yadav2/nvidia/cunumeric/src/cunumeric/unary/scalar_unary_red_template.inl:114:94: error: return-statement with a value, in function returning 'void' [-fpermissive]
    /g/g15/yadav2/nvidia/cunumeric/src/cunumeric/unary/scalar_unary_red_template.inl: In instantiation of 'void cunumeric::ScalarUnaryRed<KIND, OP_CODE, CODE, DIM>::execute() const [with cunumeric::VariantKind KIND = (cunumeric::VariantKind)1; cunumeric::UnaryRedCode OP_CODE = (cunumeric::UnaryRedCode)10; legate_core_type_code_t CODE = (legate_core_type_code_t)4; int DIM = 4]':
    /g/g15/yadav2/nvidia/cunumeric/src/cunumeric/unary/scalar_unary_red_template.inl:126:7:   required from 'void cunumeric::ScalarUnaryRedImpl<KIND, OP_CODE>::operator()(cunumeric::ScalarUnaryRedArgs&) const [with legate_core_type_code_t CODE = (legate_core_type_code_t)4; int DIM = 4; cunumeric::VariantKind KIND = (cunumeric::VariantKind)1; cunumeric::UnaryRedCode OP_CODE = (cunumeric::UnaryRedCode)10]'
    /g/g15/yadav2/nvidia/legate.core/src/core/utilities/dispatch.h:42:98:   required from 'constexpr decltype(auto) legate::inner_type_dispatch_fn<DIM>::operator()(legate::LegateTypeCode, Functor, Fnargs&& ...) [with Functor = cunumeric::ScalarUnaryRedImpl<(cunumeric::VariantKind)1, (cunumeric::UnaryRedCode)10>; Fnargs = {cunumeric::ScalarUnaryRedArgs&}; int DIM = 4; legate::LegateTypeCode = legate_core_type_code_t]'
    /g/g15/yadav2/nvidia/legate.core/src/core/utilities/dispatch.h:156:41:   required from 'constexpr decltype(auto) legate::double_dispatch(int, legate::LegateTypeCode, Functor, Fnargs&& ...) [with Functor = cunumeric::ScalarUnaryRedImpl<(cunumeric::VariantKind)1, (cunumeric::UnaryRedCode)10>; Fnargs = {cunumeric::ScalarUnaryRedArgs&}; legate::LegateTypeCode = legate_core_type_code_t]'
    /g/g15/yadav2/nvidia/cunumeric/src/cunumeric/unary/scalar_unary_red_template.inl:137:20:   required from 'void cunumeric::ScalarUnaryRedDispatch<KIND>::operator()(cunumeric::ScalarUnaryRedArgs&) const [with cunumeric::UnaryRedCode OP_CODE = (cunumeric::UnaryRedCode)10; cunumeric::VariantKind KIND = (cunumeric::VariantKind)1]'
    /g/g15/yadav2/nvidia/cunumeric/src/cunumeric/unary/unary_red_util.h:71:84:   required from 'constexpr decltype(auto) cunumeric::op_dispatch(cunumeric::UnaryRedCode, Functor, Fnargs&& ...) [with Functor = cunumeric::ScalarUnaryRedDispatch<(cunumeric::VariantKind)1>; Fnargs = {cunumeric::ScalarUnaryRedArgs&}]'
    /g/g15/yadav2/nvidia/cunumeric/src/cunumeric/unary/scalar_unary_red_template.inl:159:14:   required from 'void cunumeric::scalar_unary_red_template(legate::TaskContext&) [with cunumeric::VariantKind KIND = (cunumeric::VariantKind)1]'
    /g/g15/yadav2/nvidia/cunumeric/src/cunumeric/unary/scalar_unary_red_omp.cc:25:54:   required from here
    /g/g15/yadav2/nvidia/cunumeric/src/cunumeric/unary/scalar_unary_red_template.inl:114:94: error: return-statement with a value, in function returning 'void' [-fpermissive]
    /g/g15/yadav2/nvidia/cunumeric/src/cunumeric/unary/scalar_unary_red_template.inl: In instantiation of 'void cunumeric::ScalarUnaryRed<KIND, OP_CODE, CODE, DIM>::execute() const [with cunumeric::VariantKind KIND = (cunumeric::VariantKind)1; cunumeric::UnaryRedCode OP_CODE = (cunumeric::UnaryRedCode)10; legate_core_type_code_t CODE = (legate_core_type_code_t)5; int DIM = 4]':
    /g/g15/yadav2/nvidia/cunumeric/src/cunumeric/unary/scalar_unary_red_template.inl:126:7:   required from 'void cunumeric::ScalarUnaryRedImpl<KIND, OP_CODE>::operator()(cunumeric::ScalarUnaryRedArgs&) const [with legate_core_type_code_t CODE = (legate_core_type_code_t)5; int DIM = 4; cunumeric::VariantKind KIND = (cunumeric::VariantKind)1; cunumeric::UnaryRedCode OP_CODE = (cunumeric::UnaryRedCode)10]'
    /g/g15/yadav2/nvidia/legate.core/src/core/utilities/dispatch.h:45:98:   required from 'constexpr decltype(auto) legate::inner_type_dispatch_fn<DIM>::operator()(legate::LegateTypeCode, Functor, Fnargs&& ...) [with Functor = cunumeric::ScalarUnaryRedImpl<(cunumeric::VariantKind)1, (cunumeric::UnaryRedCode)10>; Fnargs = {cunumeric::ScalarUnaryRedArgs&}; int DIM = 4; legate::LegateTypeCode = legate_core_type_code_t]'
    /g/g15/yadav2/nvidia/legate.core/src/core/utilities/dispatch.h:156:41:   required from 'constexpr decltype(auto) legate::double_dispatch(int, legate::LegateTypeCode, Functor, Fnargs&& ...) [with Functor = cunumeric::ScalarUnaryRedImpl<(cunumeric::VariantKind)1, (cunumeric::UnaryRedCode)10>; Fnargs = {cunumeric::ScalarUnaryRedArgs&}; legate::LegateTypeCode = legate_core_type_code_t]'
    /g/g15/yadav2/nvidia/cunumeric/src/cunumeric/unary/scalar_unary_red_template.inl:137:20:   required from 'void cunumeric::ScalarUnaryRedDispatch<KIND>::operator()(cunumeric::ScalarUnaryRedArgs&) const [with cunumeric::UnaryRedCode OP_CODE = (cunumeric::UnaryRedCode)10; cunumeric::VariantKind KIND = (cunumeric::VariantKind)1]'
    /g/g15/yadav2/nvidia/cunumeric/src/cunumeric/unary/unary_red_util.h:71:84:   required from 'constexpr decltype(auto) cunumeric::op_dispatch(cunumeric::UnaryRedCode, Functor, Fnargs&& ...) [with Functor = cunumeric::ScalarUnaryRedDispatch<(cunumeric::VariantKind)1>; Fnargs = {cunumeric::ScalarUnaryRedArgs&}]'
    ```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant