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

bad_alloc, Aborted (core dumped) #1

Open
mxxu00 opened this issue Sep 24, 2024 · 1 comment
Open

bad_alloc, Aborted (core dumped) #1

mxxu00 opened this issue Sep 24, 2024 · 1 comment

Comments

@mxxu00
Copy link

mxxu00 commented Sep 24, 2024

bad_alloc, Aborted (core dumped)

$ ./main
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted (core dumped)

while excuting cmake, approximately a hundred of warning message shown just like below:

WARNING: Target "special_packetmath_3" requests linking to directory "/data-ssd/home/mingxi/workspace/eigenGPT/build/_deps/eigen-src/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "special_packetmath_4" requests linking to directory "/data-ssd/home/mingxi/workspace/eigenGPT/build/_deps/eigen-src/".  Targets may link only to libraries.  CMake is dropping the item.
-- Generating done

something wrong?

@mxxu00
Copy link
Author

mxxu00 commented Sep 24, 2024

I found that git not fully fatch submodule(gpt2 and gpt2-tokenizer).
But after confirmed whole submodule is completely downloaded, still have same warning:"Targets may link only to libraries".

when excuting ./main, it have 0% to 100%, and then shows:

./main
terminate called after throwing an instance of 'std::out_of_range'
  what():  _Map_base::at
Aborted (core dumped)

when doing cmake, it shows:

..............

- Performing Test COMPILER_SUPPORT_FASTMATH - Success
-- Could NOT find Boost (missing: Boost_INCLUDE_DIR) (Required is at least version "1.53.0")
-- Could NOT find GoogleHash (missing: GOOGLEHASH_INCLUDES GOOGLEHASH_COMPILE) 
-- Could NOT find Adolc (missing: ADOLC_INCLUDES ADOLC_LIBRARIES) 
-- Could NOT find MPFR (missing: MPFR_INCLUDES MPFR_LIBRARIES MPFR_VERSION_OK) (Required is at least version "1.0.0")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
-- Could NOT find FFTW (missing: FFTW_INCLUDES FFTW_LIBRARIES) 
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (Required is at least version "7.0")
-- Found unsuitable Qt version "" from NOTFOUND
-- Qt4 not found, so disabling the mandelbrot and opengl demos
-- Could NOT find CHOLMOD (missing: CHOLMOD_INCLUDES CHOLMOD_LIBRARIES) 
-- Could NOT find UMFPACK (missing: UMFPACK_INCLUDES UMFPACK_LIBRARIES) 
-- Could NOT find KLU (missing: KLU_INCLUDES KLU_LIBRARIES) 
-- Could NOT find SuperLU (missing: SUPERLU_INCLUDES SUPERLU_LIBRARIE

..............

This is my first time to use Cmake. Is there anything i didn't done?

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