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

Problem building with CPU_ONLY: #2289

Open
Blinsz opened this issue Apr 3, 2024 · 0 comments
Open

Problem building with CPU_ONLY: #2289

Blinsz opened this issue Apr 3, 2024 · 0 comments

Comments

@Blinsz
Copy link

Blinsz commented Apr 3, 2024

Issue Summary

So after successfully set it up on my pc I want to use Openpose on a laptop without a gpu (dell latitude e7470, specs below)
I configured in cmake gui successfully but when I run sudo make -j4 in /openpose/build I run into issues. I tried several non solutions, nothing seems to work. I've set USE_MKL to true and use cdnn t false, complete cache is below. Any idea which path I should go on from here?
If I left out something or you need anything, let me know please and I'll provide it asap.

Executed Command (if any)

cd ./openpose/build
sudo make -j4

End of output

[ 4%] Performing update step for 'MKLDNN_Build'
[ 5%] No patch step for 'MKLDNN_Build'
[ 5%] Performing configure step for 'MKLDNN_Build'
-- MKLDNN_Build configure command succeeded. See also /home/blinsz_dell/openpose/build/caffe/src/openpose_lib-build/MKLDNN_Build-prefix/src/MKLDNN_Build-stamp/MKLDNN_Build-configure-.log
[ 5%] Performing build step for 'MKLDNN_Build'
-- MKLDNN_Build build command succeeded. See also /home/blinsz_dell/openpose/build/caffe/src/openpose_lib-build/MKLDNN_Build-prefix/src/MKLDNN_Build-stamp/MKLDNN_Build-build-
.log
[ 5%] Performing install step for 'MKLDNN_Build'
[ 7%] Linking CXX static library ../../lib/libproto.a
[ 7%] Built target proto
CMake Error at /home/blinsz_dell/openpose/build/caffe/src/openpose_lib-build/MKLDNN_Build-prefix/src/MKLDNN_Build-stamp/MKLDNN_Build-install-Release.cmake:49 (message):
Command failed: 2

'make' 'install' '-j4'

See also

/home/blinsz_dell/openpose/build/caffe/src/openpose_lib-build/MKLDNN_Build-prefix/src/MKLDNN_Build-stamp/MKLDNN_Build-install-*.log

make[5]: *** [CMakeFiles/MKLDNN_Build.dir/build.make:103: MKLDNN_Build-prefix/src/MKLDNN_Build-stamp/MKLDNN_Build-install] Error 1
make[4]: *** [CMakeFiles/Makefile2:331: CMakeFiles/MKLDNN_Build.dir/all] Error 2
make[3]: *** [Makefile:136: all] Error 2
make[2]: *** [CMakeFiles/openpose_lib.dir/build.make:86: caffe/src/openpose_lib-stamp/openpose_lib-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/openpose_lib.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Errors (if any)

this is the error log at /home/blinsz_dell/openpose/build/caffe/src/openpose_lib-build/MKLDNN_Build-prefix/src/MKLDNN_Build-stamp/MKLDNN_Build-install-err.log

https://pastebin.com/e5X7YU5F


Type of Issue

Select the topic(s) on your post, delete the rest:

  • Compilation/installation error
  • Help wanted

Your System Configuration

  1. Whole console output (if errors appeared), paste the error to PasteBin and then paste the link here: https://pastebin.com/KgwW4i1K

  2. OpenPose version: Latest GitHub code? Or specific commit (e.g., d52878f)? Or specific version from Release section (e.g., 1.2.0)?
    Latest I think
    1.7.0

  3. General configuration:

    • Installation mode: (Ubuntu); CMake-gui?

    • Operating system (lsb_release -a in Ubuntu):
      Description: Ubuntu 22.04.4 LTS
      Release: 22.04
      Codename: jammy

    • Release or Debug mode? (by default: release): Release

    • Compiler (): gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0

  4. Non-default settings:
    Cache file:
    GPU_MODE:STRING=CPU_ONLY
    WITH_3D_RENDERER:BOOL=0
    INSTRUCTION_SET:STRING=NONE
    USE_MKL:BOOL=1
    BUILD_PYTHON:BOOL=1
    DOWNLOAD_HAND_MODEL:BOOL=0
    CUDNN_INCLUDE:PATH=CUDNN_INCLUDE-NOTFOUND
    DOWNLOAD_BODY_25_MODEL:BOOL=0
    USE_CUDNN:BOOL=0
    DOWNLOAD_FACE_MODEL:BOOL=0

  5. 3rd-party software:

  6. If CPU-only mode issue:

    • CPU brand & model: *-cpu
      description: CPU
      product: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz
      vendor: Intel Corp.
      physical id: 45
      bus info: cpu@0
      version: 6.78.3
      serial: To Be Filled By O.E.M.
      slot: U3E1
      size: 2900MHz
      capacity: 3GHz
      width: 64 bits
      clock: 100MHz
      capabilities: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp x86-64 constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp vnmi md_clear flush_l1d arch_capabilities cpufreq
      configuration: cores=2 enabledcores=2 microcode=240 threads=4

    • Total RAM memory available: 8GB +2SWAP

  7. If Python API:

    • Python version: Python 3.10.12
    • Numpy version : numpy.version.version '1.26.4'
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