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

RunTime errors when I test band code in Sunspot #26

Open
rayhe88 opened this issue Feb 20, 2024 · 0 comments
Open

RunTime errors when I test band code in Sunspot #26

rayhe88 opened this issue Feb 20, 2024 · 0 comments

Comments

@rayhe88
Copy link

rayhe88 commented Feb 20, 2024

 ========================== iteration ==========================
      >>> iteration started at Mon Feb 19 17:20:11 2024  <<<
 iter.             Energy       DeltaE     DeltaPsi     DeltaIon
 ---------------------------------------------------------------

Thread 1 "pwdft" hit Breakpoint 1, 0x000000000064a270 in pwdft::syclSetMatrixAsync(int, int, unsigned long, void const*, int, void*, int, sycl::_V1::queue*) ()
(gdb) l
1 ../sysdeps/x86_64/start.S: No such file or directory.
(gdb) list
1 in ../sysdeps/x86_64/start.S
(gdb) continue
Continuing.
terminate called after throwing an instance of 'std::runtime_error'
what(): dpct_memcpy: invalid direction value

Thread 1 "pwdft" received signal SIGABRT, Aborted.
0x00001555103c7c6b in raise () from /lib64/libc.so.6
(gdb) where
#0 0x00001555103c7c6b in raise () from /lib64/libc.so.6
#1 0x00001555103c9305 in abort () from /lib64/libc.so.6
#2 0x000015551082ff5a in __gnu_cxx::__verbose_terminate_handler ()
at ../../../../cpe-gcc-11.2.0-202108140355.9bf1fd589a5c1/libstdc++-v3/libsupc++/vterminate.cc:95
#3 0x000015551083b7ba in __cxxabiv1::__terminate (handler=)
at ../../../../cpe-gcc-11.2.0-202108140355.9bf1fd589a5c1/libstdc++-v3/libsupc++/eh_terminate.cc:48
#4 0x000015551083b825 in std::terminate ()
at ../../../../cpe-gcc-11.2.0-202108140355.9bf1fd589a5c1/libstdc++-v3/libsupc++/eh_terminate.cc:58
#5 0x000015551083bab8 in __cxxabiv1::__cxa_throw (obj=,
tinfo=0x11c8820 <typeinfo for std::runtime_error@GLIBCXX_3.4>,
dest=0x40c730 std::runtime_error::~runtime_error()@plt)
at ../../../../cpe-gcc-11.2.0-202108140355.9bf1fd589a5c1/libstdc++-v3/libsupc++/eh_throw.cc:95
#6 0x0000000000648f6d in pwdft::detail::dpct_memcpy(sycl::_V1::queue&, void*, void const*, sycl::_V1::range<3>, sycl::_V1::range<3>, sycl::_V1::id<3>, sycl::_V1::id<3>, sycl::_V1::range<3>, pwdft::detail::memcpy_direction, std::vector<sycl::_V1::event, std::allocatorsycl::_V1::event > const&) ()
#7 0x000000000064802c in pwdft::detail::dpct_memcpy(sycl::_V1::queue&, void*, void const*, sycl::_V1::range<3>, sycl::_V1::range<3>, sycl::_V1::id<3>, sycl::_V1::id<3>, sycl::_V1::range<3>, pwdft::detail::memcpy_direction, std::vector<sycl::_V1::event, std::allocatorsycl::_V1::event > const&) ()
#8 0x0000000000647b8a in pwdft::detail::dpct_memcpy(sycl::_V1::queue&, void*, void const*, unsigned long, unsigned long, unsigned long, unsigned long, pwdft::detail::memcpy_direction) ()
#9 0x000000000064a31b in pwdft::syclSetMatrixAsync(int, int, unsigned long, void const*, int, void*, int, sycl::_V1::queue*) ()
#10 0x0000000000645f58 in pwdft::gdevice2::psi_copy_host2gpu(int, int, double*) ()
#11 0x0000000000450570 in pwdft::CPseudopotential::v_nonlocal_fion(double*, double*, bool, double*) ()
#12 0x0000000000454ac6 in pwdft::cpsi_H(pwdft::Cneb*, pwdft::cKinetic_Operator*, pwdft::CPseudopotential*, double*, double*, double*, double*, double*, double*, bool, double*) ()
#13 0x0000000000445485 in pwdft::band_inner_loop(pwdft::Control2&, pwdft::Cneb*, pwdft::Ion*, pwdft::cKinetic_Operator*, pwdft::cCoulomb_Operator*, pwdft::cXC_Operator*, pwdft::CPseudopotential*, pwdft::CStrfac*, pwdft::Ewald*, double*, double*, double*, double*, double*, double*, double*, double*, double*, double*, double*) ()
#14 0x000000000043dddb in pwdft::band_cpsd(int, std::__cxx11::basic_string<char, std::char_traits, std::allocator >&) ()
#15 0x00000000004279ce in main ()
(gdb) q
A debugging session is active.

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

No branches or pull requests

1 participant