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

[BUG]: DOCA build failure on ARM #2092

Open
2 tasks done
dagardner-nv opened this issue Jan 2, 2025 · 1 comment
Open
2 tasks done

[BUG]: DOCA build failure on ARM #2092

dagardner-nv opened this issue Jan 2, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@dagardner-nv
Copy link
Contributor

Version

25.02

Which installation method(s) does this occur on?

Docker

Describe the bug.

-- [morpheus.python.morpheus.morpheus._lib.libmd.rapids.cpm.find] CPM: Adding package [email protected] (1.0.4 to /Morpheus/.cache/cpm/md/5c907728cd0baebae9b9f7496806e4d7338ed05a)
-- [morpheus.python.morpheus.morpheus._lib.libmd] libmd was not installed and will be built from source
-- [morpheus.python.morpheus.morpheus._lib.libbsd.rapids.cpm.find] CPM: Adding package [email protected] (0.11.7 to /Morpheus/.cache/cpm/bsd/120b2246daf5c47f371af3f83399e8ed828b56d8)
-- [morpheus.python.morpheus.morpheus._lib.libbsd] libbsd was not installed and will be built from source
-- [morpheus.python.morpheus.morpheus._lib] Could NOT find libdpdk (missing: rte_eal_LIBRARY) 
CMake Error at /opt/conda/envs/morpheus/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find doca (missing: libdpdk_FOUND doca_eth_LIBRARY
  doca_flow_LIBRARY doca_gpunetio_LIBRARY doca_gpunetio_device_LIBRARY)
  (found version "")
Call Stack (most recent call first):
  /opt/conda/envs/morpheus/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  cmake/package_search/Finddoca.cmake:110 (find_package_handle_standard_args)
  python/morpheus/morpheus/_lib/doca/CMakeLists.txt:20 (find_package)

Minimum reproducible example

Relevant log output

Click here to see error details

[Paste the error here, it will be hidden by default]

Full env printout

Click here to see environment details

[Paste the results of print_env.sh here, it will be hidden by default]

Other/Misc.

No response

Code of Conduct

  • I agree to follow Morpheus' Code of Conduct
  • I have searched the open bugs and have found no duplicates for this bug report
@dagardner-nv dagardner-nv added the bug Something isn't working label Jan 2, 2025
rapids-bot bot pushed a commit that referenced this issue Jan 16, 2025
* Add Arm64 build and test stages to CI
* Refactor CI docker images as a multi-arch container
* Add Arm64 Conda package output
* Add Arm64 (`aarch64`) to `dependencies.yaml` matrix
* Skip DOCA builds for arm (#2092).
* Skip tests for ARM conda builds, this avoids the need for an ARM GPU runner.
* The following packages are x86_64 specific: include-what-you-use (later versions support ARM), vale, milvus and pymilvus.
* The following packages have arm builds on pypi but not on conda-forge: pypdfium2, newspaper3k (package is no-arch but some deps are x86_64 only). For these we obtain them via pip on arm, but continue to install via conda for x86_64.
* pytorch cuda builds exist for ARM but lack the same meta-data that the x86_64 builds do. For now the cpu version of torch is installed for ARM #2095 

Related to nv-morpheus/utilities#90
Requires nv-morpheus/MRC#524 to be merged first
Closes [#2094](#2094)

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - Michael Demoret (https://github.com/mdemoret-nv)

URL: #2093
@dagardner-nv
Copy link
Contributor Author

Likely caused by this line in cmake/package_search/Findlibdpdk.cmake:

INTERFACE_INCLUDE_DIRECTORIES "${libdpdk_INCLUDE_DIR};${libdpdk_INCLUDE_DIR}/../x86_64-linux-gnu/dpdk"

Also lines like cmake/package_search/Finddoca.cmake make it clear we need to be defining CMAKE_LIBRARY_ARCHITECTURE:

  # CMAKE_LIBRARY_ARCHITECTURE needs to be set for this to work correctly. Will be restored at the end of the block
  if(NOT DEFINED CMAKE_LIBRARY_ARCHITECTURE)
    set(CMAKE_LIBRARY_ARCHITECTURE x86_64-linux-gnu)
  endif()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant