-
Notifications
You must be signed in to change notification settings - Fork 2.4k
[email protected] (and @0.9.2) +cuda fails on ARM, POWER, and AMD64: runtimes/expressions/ascent_execution_policies.hpp(135): error: namespace "RAJA" has no member "cuda_exec" #38045
Copy link
Copy link
Closed as not planned
Description
Steps to reproduce the issue
[email protected] +cuda build fails on ARM and PPC64LE using:
spack@develop(9ee2d79 fromTue May 16 13:32:26 2023 -0500)- Ubuntu 20.04, ARM64, PPC64LE
- GCC 11.1.0
- CUDA 11.8
Concretization
- [email protected]%[email protected]~adios2~babelflow+blt_find_mpi~caliper+cuda~doc~dray~fides+fortran~ipo~mfem+mpi+openmp~python+raja+serial+shared+test+umpire~vtkh build_system=cmake build_type=Release cuda_arch=75 generator=make arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu20.04-aarch64 [+] ^ca-certificates-mozilla@2023-01-10%[email protected] build_system=generic arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]+cpanm+open+shared+threads build_system=generic arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]~debug~pic+shared build_system=generic arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected] build_system=autotools arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]+optimize+pic+shared build_system=makefile arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]~adios+blt_find_mpi~caliper~doc~doxygen+examples+fortran+hdf5+hdf5_compat~ipo+mpi+parmetis~python+shared~silo+test+utilities~zfp build_system=cmake build_type=Release generator=make arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]~cxx+fortran+hl~ipo+mpi+shared~szip~threadsafe+tools api=default build_system=cmake build_type=Release generator=make patches=0e20187,b61e2f0 arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]~gdb~int64~ipo~real64+shared build_system=cmake build_type=Release generator=make patches=4991da9,93a7903,b1225da arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]~gdb~int64~ipo+shared build_system=cmake build_type=Release generator=make patches=4f89253,50ed208,704b84f arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]~allow-unsupported-compilers~dev build_system=generic arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]~python build_system=autotools arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected] build_system=autotools libs=shared,static arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]+pic build_system=autotools libs=shared,static arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]~guile build_system=autotools arch=linux-ubuntu20.04-aarch64 [+] ^gnuconfig@2022-09-17%[email protected] build_system=generic arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]~argobots~cuda+fortran~hwloc+hydra+libxml2+pci~rocm+romio~slurm~two_level_namespace~vci~verbs~wrapperrpath build_system=autotools datatype-engine=auto device=ch4 netmod=ofi pmi=pmi arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected] build_system=autotools patches=440b954 arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]~debug~kdreg build_system=autotools fabrics=rxm,sockets,tcp,udp arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected] build_system=autotools arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected] build_system=autotools arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected] build_system=autotools arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected] build_system=autotools arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]~cuda~rocm build_system=autotools arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected] build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected] build_system=autotools arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected] build_system=autotools arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected] build_system=autotools arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,f2fd060 arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]+libbsd build_system=autotools arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected] build_system=autotools arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected] build_system=autotools arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected] build_system=autotools zip=pigz arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected] build_system=makefile arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected] build_system=autotools arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]~obsolete_api build_system=autotools arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected] build_system=autotools patches=bbf97f1 arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected] build_system=autotools arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]~cuda+examples+exercises~ipo+openmp~rocm+shared~tests build_system=cmake build_type=Release generator=make arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected] build_system=generic arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]~cuda~ipo+openmp~rocm~tests build_system=cmake build_type=Release generator=make arch=linux-ubuntu20.04-aarch64 [+] ^[email protected]%[email protected]+c~cuda+device_alloc~deviceconst+examples~fortran~ipo~numa~openmp~rocm+shared build_system=cmake build_type=Release generator=make tests=none arch=linux-ubuntu20.04-aarch64
Error:
==> Installing ascent-0.9.1-ly3uzxgnijn5kmpd2qnwbhpkohdpn7fh
==> No binary for ascent-0.9.1-ly3uzxgnijn5kmpd2qnwbhpkohdpn7fh found: installing from source
==> Using cached archive: /spack/var/spack/cache/_source-cache/git//Alpine-DAV/ascent.git/v0.9.1.tar.gz
==> No patches needed for ascent
==> Warning: Fetching from mirror without a checksum!
This package is normally checked out from a version control system, but it has been archived on a spack mirror. This means we cannot know a checksum for the tarball in advance. Be sure that your connection to this mirror is secure!
==> ascent: Executing phase: 'cmake'
==> ascent: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
'<abbreviated>/linux-ubuntu20.04-aarch64/gcc-11.1.0/gmake-4.4.1-vrtzue4kj63kpno5orvem33e63lnzo7f/bin/make' '-j16'
...
>> 609 /tmp/root/spack-stage/spack-stage-ascent-0.9.1-ly3uzxgnijn5kmpd2qnwbhpkohdpn7fh/spack-src/src/libs/ascent/runtimes/expressions/ascent_execution_policies.hpp(135): error: namespace
"RAJA" has no member "cuda_exec"
610
>> 611 /tmp/root/spack-stage/spack-stage-ascent-0.9.1-ly3uzxgnijn5kmpd2qnwbhpkohdpn7fh/spack-src/src/libs/ascent/runtimes/expressions/ascent_execution_policies.hpp(135): error: expected
a ";"
612
>> 613 /tmp/root/spack-stage/spack-stage-ascent-0.9.1-ly3uzxgnijn5kmpd2qnwbhpkohdpn7fh/spack-src/src/libs/ascent/runtimes/expressions/ascent_execution_policies.hpp(136): error: namespace
"RAJA" has no member "cuda_reduce"
614
>> 615 /tmp/root/spack-stage/spack-stage-ascent-0.9.1-ly3uzxgnijn5kmpd2qnwbhpkohdpn7fh/spack-src/src/libs/ascent/runtimes/expressions/ascent_execution_policies.hpp(137): error: namespace
"RAJA" has no member "cuda_atomic"
616
>> 617 /tmp/root/spack-stage/spack-stage-ascent-0.9.1-ly3uzxgnijn5kmpd2qnwbhpkohdpn7fh/spack-src/src/libs/ascent/runtimes/expressions/ascent_execution_policies.hpp(181): error: namespace
"RAJA" has no member "cuda_reduce"
618
>> 619 /tmp/root/spack-stage/spack-stage-ascent-0.9.1-ly3uzxgnijn5kmpd2qnwbhpkohdpn7fh/spack-src/src/libs/ascent/runtimes/expressions/ascent_execution_policies.hpp(193): error: namespace
"RAJA" has no member "cuda_exec"
...
>> 667 /tmp/root/spack-stage/spack-stage-ascent-0.9.1-ly3uzxgnijn5kmpd2qnwbhpkohdpn7fh/spack-src/src/libs/ascent/runtimes/expressions/ascent_conduit_reductions.cpp(414): error: incomplet
e type is not allowed
668 detected during:
669 instantiation of "conduit::Node ascent::runtime::expressions::detail::MaxFunctor::operator()(ascent::MemoryAccessor<T>, const Exec &) const [with T=float, Exec=ascent:
:SerialExec]"
670 (128): here
671 instantiation of "conduit::Node ascent::runtime::expressions::detail::dispatch_memory(const conduit::Node &, std::string, const Function &, const Exec &) [with Functio
n=ascent::runtime::expressions::detail::MaxFunctor, Exec=ascent::SerialExec]"
672 (167): here
673 instantiation of "conduit::Node ascent::runtime::expressions::detail::exec_dispatch(const conduit::Node &, std::string, const Function &) [with Function=ascent::runtim
e::expressions::detail::MaxFunctor]"
674 (652): here
675
>> 676 /spack/opt/spack/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/
__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholde/linux-ubuntu20.04-aarch64/gcc-11.1.0/raja-2022.10.4-5wch4k4ykppclseiojrfmgmbotva7vf4/include/RAJA/pat
tern/forall.hpp(537): error: no instance of overloaded function "RAJA::wrap::forall" matches the argument list
677 argument types are: (camp::resources::v1::Host, ascent::SerialExec::for_policy, RAJA::RangeSegment, <error-type>, RAJA::expt::ForallParamPack<>)
678 detected during:
679 instantiation of "camp::concepts::enable_if_t<camp::resources::v1::EventProxy<Res>, camp::concepts::negate<RAJA::type_traits::is_indexset_policy<ExecutionPolicy>>, cam
p::concepts::negate<RAJA::type_traits::is_multi_policy<ExecutionPolicy>>, camp::type_traits::is_range<Container>> RAJA::policy_by_value_interface::forall(ExecutionPolicy &&, Res,
Container &&, Params &&...) [with ExecutionPolicy=ascent::SerialExec::for_policy, Res=camp::resources::v1::Host, Container=RAJA::RangeSegment, Params=<lambda [](ascent::index_t)->
void>]"
680 (579): here
681 instantiation of "camp::resources::v1::EventProxy<Res> RAJA::forall<ExecutionPolicy,Args...,Res>(Args &&...) [with ExecutionPolicy=ascent::SerialExec::for_policy, Args
=<RAJA::RangeSegment, lambda [](ascent::index_t)->void>, Res=camp::resources::v1::Host]"
682 /tmp/root/spack-stage/spack-stage-ascent-0.9.1-ly3uzxgnijn5kmpd2qnwbhpkohdpn7fh/spack-src/src/libs/ascent/runtimes/expressions/ascent_execution_policies.hpp(238): here
...
>> 1986 make[2]: *** [libs/ascent/CMakeFiles/ascent.dir/build.make:249: libs/ascent/CMakeFiles/ascent.dir/runtimes/expressions/ascent_conduit_reductions.cpp.o] Error 1
1987 [ 20%] Linking CXX shared library ../../../../lib/libgtest.so
1988 cd /tmp/root/spack-stage/spack-stage-ascent-0.9.1-ly3uzxgnijn5kmpd2qnwbhpkohdpn7fh/spack-build-ly3uzxg/blt/thirdparty_builtin/googletest-master-2020-01-07/googletest && /spack/opt
/spack/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_pa
th_placeholder__/__spack_path_placeholder__/__spack_path_placeholde/linux-ubuntu20.04-aarch64/gcc-11.1.0/cmake-3.26.3-7fcfio7un2wrsto7dn7mj4tof7jkea44/bin/cmake -E cmake_link_scri
pt CMakeFiles/gtest.dir/link.txt --verbose=1
1989 /usr/bin/g++ -fPIC -O3 -DNDEBUG -shared -Wl,-soname,libgtest.so -o ../../../../lib/libgtest.so "CMakeFiles/gtest.dir/src/gtest-all.cc.o" -lpthread
1990 make[2]: Leaving directory '/tmp/root/spack-stage/spack-stage-ascent-0.9.1-ly3uzxgnijn5kmpd2qnwbhpkohdpn7fh/spack-build-ly3uzxg'
1991 [ 20%] Built target gtest
1992 /spack/opt/spack/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/
__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholde/linux-ubuntu20.04-aarch64/gcc-11.1.0/gmake-4.4.1-vrtzue4kj63kpno5orvem33e63lnzo7f/bin/make -f blt/th
irdparty_builtin/googletest-master-2020-01-07/googletest/CMakeFiles/gtest_main.dir/build.make blt/thirdparty_builtin/googletest-master-2020-01-07/googletest/CMakeFiles/gtest_main.
dir/depend
...
2037 [ 23%] Linking CXX executable ../../../tests/blt_gtest_smoke
2038 cd /tmp/root/spack-stage/spack-stage-ascent-0.9.1-ly3uzxgnijn5kmpd2qnwbhpkohdpn7fh/spack-build-ly3uzxg/blt/tests/smoke && /spack/opt/spack/__spack_path_placeholder__/__spack_path_
placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__s
pack_path_placeholde/linux-ubuntu20.04-aarch64/gcc-11.1.0/cmake-3.26.3-7fcfio7un2wrsto7dn7mj4tof7jkea44/bin/cmake -E cmake_link_script CMakeFiles/blt_gtest_smoke.dir/link.txt --ve
rbose=1
2039 /usr/bin/g++ -O3 -DNDEBUG CMakeFiles/blt_gtest_smoke.dir/blt_gtest_smoke.cpp.o -o ../../../tests/blt_gtest_smoke -Wl,-rpath,/tmp/root/spack-stage/spack-stage-ascent-0.9.1-ly3uzxg
nijn5kmpd2qnwbhpkohdpn7fh/spack-build-ly3uzxg/lib ../../../lib/libgtest_main.so ../../../lib/libgtest.so -lpthread -lpthread
2040 make[2]: Leaving directory '/tmp/root/spack-stage/spack-stage-ascent-0.9.1-ly3uzxgnijn5kmpd2qnwbhpkohdpn7fh/spack-build-ly3uzxg'
2041 [ 23%] Built target blt_gtest_smoke
2042 make[2]: Leaving directory '/tmp/root/spack-stage/spack-stage-ascent-0.9.1-ly3uzxgnijn5kmpd2qnwbhpkohdpn7fh/spack-build-ly3uzxg'
>> 2043 make[1]: *** [CMakeFiles/Makefile2:1314: libs/
Error message
Error message
... see above
Information on your system
- Spack: 0.20.0.dev0 (0dc6c42)
- Python: 3.8.10
- Platform: linux-ubuntu20.04-neoverse_n1
- Concretizer: clingo
Additional information
spack-build-env.txt
spack-build-out.txt
@cyrush @kwryankrattiger @wspear @nchaimov
General information
- I have run
spack debug reportand reported the version of Spack/Python/Platform - I have run
spack maintainers <name-of-the-package>and @mentioned any maintainers - I have uploaded the build log and environment files
- I have searched the issues of this repo and believe this is not a duplicate
Reactions are currently unavailable