nv-morpheus/Morpheus

[BUG]: Build C++ examples in `developer_guide` failed in release container

Closed this issue · 0 comments

Version

24.06

Which installation method(s) does this occur on?

Docker

Describe the bug.

  • Build release container: ./docker/build_container_release.sh
  • Run release container: ./docker/run_container_release.sh
  • Update conda env inside the container: conda env update --solver=libmamba -n morpheus --file /workspace/conda/environments/all_cuda-121_arch-x86_64.yaml
  • Run developer guide compile script: cd /workspace/examples/developer_guide/3_simple_cpp_stage && ./compile.sh

The build failed:

In file included from /opt/conda/envs/morpheus/include/cudf/column/column_view.hpp:19,
from /opt/conda/envs/morpheus/include/cudf/table/table_view.hpp:18,
from /opt/conda/envs/morpheus/include/morpheus/objects/table_info_data.hpp:20,
from /opt/conda/envs/morpheus/include/morpheus/objects/table_info.hpp:23,
from /opt/conda/envs/morpheus/include/morpheus/messages/meta.hpp:22,
from /opt/conda/envs/morpheus/include/morpheus/messages/multi.hpp:21,
from /workspace/examples/developer_guide/3_simple_cpp_stage/src/simple_cpp_stage/_lib/pass_thru.hpp:21,
from /workspace/examples/developer_guide/3_simple_cpp_stage/src/simple_cpp_stage/_lib/pass_thru.cpp:18:
/opt/conda/envs/morpheus/include/cudf/utilities/error.hpp:21:10: fatal error: cuda.h: No such file or directory
21 | #include <cuda.h>
| ^~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.

Minimum reproducible example

No response

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