You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two issues I'm currently having with respect to CL DOCA UROM, these are simple enough to manually fix but just documenting the errors here for now:
The m4 configuration file (config/m4/doca_urom.m4) when configuring with --with-doca_urom=/opt/mellanox/doca looks for the doca library files in /opt/mellanox/doca/lib. However, DOCA library files are installed in /opt/mellanox/doca/lib/x86_64-linux-gnu/ for an x86_64 system or /opt/mellanox/doca/lib/aarch64-linux-gnu/ for an ARM system. These install directories are likely specific to my machine and could be different with various users. May be beneficial to provide a --with-doca_urom-lib option on configure to allow for a user to provide a specific library path if needed.
If using a strict compiler, the following error will occur:
make[3]: Entering directory '/workspace/ucc/src/components/cl/doca_urom'
CC libucc_cl_doca_urom_la-cl_doca_urom_common.lo
CC libucc_cl_doca_urom_la-cl_doca_urom.lo
CC libucc_cl_doca_urom_la-cl_doca_urom_lib.lo
CC libucc_cl_doca_urom_la-cl_doca_urom_context.lo
CC libucc_cl_doca_urom_la-cl_doca_urom_worker_ucc.lo
CC libucc_cl_doca_urom_la-cl_doca_urom_team.lo
cl_doca_urom_context.c: In function 'ucc_status_to_doca_error':
cl_doca_urom_context.c:15:5: error: enumeration value 'UCC_ERR_MEM_MAP_FAILURE' not handled in switch [-Werror=switch]
15 | switch (status) {
| ^~~~~~
cc1: all warnings being treated as errors
make[3]: *** [Makefile:633: libucc_cl_doca_urom_la-cl_doca_urom_context.lo] Error 1
The text was updated successfully, but these errors were encountered:
There are two issues I'm currently having with respect to CL DOCA UROM, these are simple enough to manually fix but just documenting the errors here for now:
config/m4/doca_urom.m4
) when configuring with--with-doca_urom=/opt/mellanox/doca
looks for the doca library files in/opt/mellanox/doca/lib
. However, DOCA library files are installed in/opt/mellanox/doca/lib/x86_64-linux-gnu/
for an x86_64 system or/opt/mellanox/doca/lib/aarch64-linux-gnu/
for an ARM system. These install directories are likely specific to my machine and could be different with various users. May be beneficial to provide a--with-doca_urom-lib
option on configure to allow for a user to provide a specific library path if needed.The text was updated successfully, but these errors were encountered: