Skip to content

openmpi fails to compile #217

@Borketh

Description

@Borketh

Not sure if I'm missing a dependency or something, but it's missing a function and doesn't want to proceed.

In file included from /home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:51,
                 from /home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_endpoint.c:11:
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h: In function 'ompi_mtl_ofi_context_progress':
In file included from /home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:51,
                 from /home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_isend_opt.c:11:
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h: In function 'ompi_mtl_ofi_context_progress':
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_request.h:19:5: error: implicit declaration of function 'container_of' [-Wimplicit-function-declaration]
   19 |     container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)
      |     ^~~~~~~~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:152:27: note: in expansion of macro 'TO_OFI_REQ'
  152 |                 ofi_req = TO_OFI_REQ(ompi_mtl_ofi_wc[i].op_context);
      |                           ^~~~~~~~~~
In file included from /home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:51,
                 from /home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_improbe_opt.c:11:
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h: In function 'ompi_mtl_ofi_context_progress':
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_request.h:19:30: error: expected expression before 'struct'
   19 |     container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)
      |                              ^~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:152:27: note: in expansion of macro 'TO_OFI_REQ'
  152 |                 ofi_req = TO_OFI_REQ(ompi_mtl_ofi_wc[i].op_context);
      |                           ^~~~~~~~~~
In file included from /home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:51,
                 from /home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_irecv_opt.c:11:
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h: In function 'ompi_mtl_ofi_context_progress':
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_request.h:19:5: error: implicit declaration of function 'container_of' [-Wimplicit-function-declaration]
   19 |     container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)
      |     ^~~~~~~~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:152:27: note: in expansion of macro 'TO_OFI_REQ'
  152 |                 ofi_req = TO_OFI_REQ(ompi_mtl_ofi_wc[i].op_context);
      |                           ^~~~~~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_request.h:19:30: error: expected expression before 'struct'
   19 |     container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)
      |                              ^~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:152:27: note: in expansion of macro 'TO_OFI_REQ'
  152 |                 ofi_req = TO_OFI_REQ(ompi_mtl_ofi_wc[i].op_context);
      |                           ^~~~~~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_request.h:19:5: error: implicit declaration of function 'container_of' [-Wimplicit-function-declaration]
   19 |     container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)
      |     ^~~~~~~~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:152:27: note: in expansion of macro 'TO_OFI_REQ'
  152 |                 ofi_req = TO_OFI_REQ(ompi_mtl_ofi_wc[i].op_context);
      |                           ^~~~~~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_request.h:19:5: error: implicit declaration of function 'container_of' [-Wimplicit-function-declaration]
   19 |     container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)
      |     ^~~~~~~~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:152:27: note: in expansion of macro 'TO_OFI_REQ'
  152 |                 ofi_req = TO_OFI_REQ(ompi_mtl_ofi_wc[i].op_context);
      |                           ^~~~~~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_request.h:19:30: error: expected expression before 'struct'
   19 |     container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)
      |                              ^~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:200:19: note: in expansion of macro 'TO_OFI_REQ'
  200 |         ofi_req = TO_OFI_REQ(error.op_context);
      |                   ^~~~~~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_request.h:19:30: error: expected expression before 'struct'
   19 |     container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)
      |                              ^~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:152:27: note: in expansion of macro 'TO_OFI_REQ'
  152 |                 ofi_req = TO_OFI_REQ(ompi_mtl_ofi_wc[i].op_context);
      |                           ^~~~~~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_request.h:19:30: error: expected expression before 'struct'
   19 |     container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)
      |                              ^~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:152:27: note: in expansion of macro 'TO_OFI_REQ'
  152 |                 ofi_req = TO_OFI_REQ(ompi_mtl_ofi_wc[i].op_context);
      |                           ^~~~~~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_request.h:19:30: error: expected expression before 'struct'
   19 |     container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)
      |                              ^~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:200:19: note: in expansion of macro 'TO_OFI_REQ'
  200 |         ofi_req = TO_OFI_REQ(error.op_context);
      |                   ^~~~~~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_request.h:19:30: error: expected expression before 'struct'
   19 |     container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)
      |                              ^~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:200:19: note: in expansion of macro 'TO_OFI_REQ'
  200 |         ofi_req = TO_OFI_REQ(error.op_context);
      |                   ^~~~~~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_request.h:19:30: error: expected expression before 'struct'
   19 |     container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)
      |                              ^~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:200:19: note: in expansion of macro 'TO_OFI_REQ'
  200 |         ofi_req = TO_OFI_REQ(error.op_context);
      |                   ^~~~~~~~~~
In file included from /home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:51,
                 from /home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_send_opt.c:11:
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h: In function 'ompi_mtl_ofi_context_progress':
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_request.h:19:5: error: implicit declaration of function 'container_of' [-Wimplicit-function-declaration]
   19 |     container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)
      |     ^~~~~~~~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:152:27: note: in expansion of macro 'TO_OFI_REQ'
  152 |                 ofi_req = TO_OFI_REQ(ompi_mtl_ofi_wc[i].op_context);
      |                           ^~~~~~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_request.h:19:30: error: expected expression before 'struct'
   19 |     container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)
      |                              ^~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:152:27: note: in expansion of macro 'TO_OFI_REQ'
  152 |                 ofi_req = TO_OFI_REQ(ompi_mtl_ofi_wc[i].op_context);
      |                           ^~~~~~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_request.h:19:30: error: expected expression before 'struct'
   19 |     container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)
      |                              ^~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:200:19: note: in expansion of macro 'TO_OFI_REQ'
  200 |         ofi_req = TO_OFI_REQ(error.op_context);
      |                   ^~~~~~~~~~
In file included from /home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:51,
                 from /home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_iprobe_opt.c:11:
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h: In function 'ompi_mtl_ofi_context_progress':
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_request.h:19:5: error: implicit declaration of function 'container_of' [-Wimplicit-function-declaration]
   19 |     container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)
      |     ^~~~~~~~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:152:27: note: in expansion of macro 'TO_OFI_REQ'
  152 |                 ofi_req = TO_OFI_REQ(ompi_mtl_ofi_wc[i].op_context);
      |                           ^~~~~~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_request.h:19:30: error: expected expression before 'struct'
   19 |     container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)
      |                              ^~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:152:27: note: in expansion of macro 'TO_OFI_REQ'
  152 |                 ofi_req = TO_OFI_REQ(ompi_mtl_ofi_wc[i].op_context);
      |                           ^~~~~~~~~~
In file included from /home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:51,
                 from /home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.c:13:
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h: In function 'ompi_mtl_ofi_context_progress':
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_request.h:19:5: error: implicit declaration of function 'container_of' [-Wimplicit-function-declaration]
   19 |     container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)
      |     ^~~~~~~~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:152:27: note: in expansion of macro 'TO_OFI_REQ'
  152 |                 ofi_req = TO_OFI_REQ(ompi_mtl_ofi_wc[i].op_context);
      |                           ^~~~~~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_request.h:19:30: error: expected expression before 'struct'
   19 |     container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)
      |                              ^~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:200:19: note: in expansion of macro 'TO_OFI_REQ'
  200 |         ofi_req = TO_OFI_REQ(error.op_context);
      |                   ^~~~~~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_request.h:19:30: error: expected expression before 'struct'
   19 |     container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)
      |                              ^~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:152:27: note: in expansion of macro 'TO_OFI_REQ'
  152 |                 ofi_req = TO_OFI_REQ(ompi_mtl_ofi_wc[i].op_context);
      |                           ^~~~~~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_request.h:19:30: error: expected expression before 'struct'
   19 |     container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)
      |                              ^~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:200:19: note: in expansion of macro 'TO_OFI_REQ'
  200 |         ofi_req = TO_OFI_REQ(error.op_context);
      |                   ^~~~~~~~~~
make[2]: *** [Makefile:1603: mtl_ofi_endpoint.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:51,
                 from /home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_component.c:19:
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h: In function 'ompi_mtl_ofi_context_progress':
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_request.h:19:5: error: implicit declaration of function 'container_of' [-Wimplicit-function-declaration]
   19 |     container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)
      |     ^~~~~~~~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:152:27: note: in expansion of macro 'TO_OFI_REQ'
  152 |                 ofi_req = TO_OFI_REQ(ompi_mtl_ofi_wc[i].op_context);
      |                           ^~~~~~~~~~
make[2]: *** [Makefile:1603: mtl_ofi_improbe_opt.lo] Error 1
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_request.h:19:30: error: expected expression before 'struct'
   19 |     container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)
      |                              ^~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:152:27: note: in expansion of macro 'TO_OFI_REQ'
  152 |                 ofi_req = TO_OFI_REQ(ompi_mtl_ofi_wc[i].op_context);
      |                           ^~~~~~~~~~
make[2]: *** [Makefile:1603: mtl_ofi_irecv_opt.lo] Error 1
make[2]: *** [Makefile:1603: mtl_ofi_isend_opt.lo] Error 1
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_request.h:19:30: error: expected expression before 'struct'
   19 |     container_of((_ptr_ctx), struct ompi_mtl_ofi_request_t, ctx)
      |                              ^~~~~~
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi.h:200:19: note: in expansion of macro 'TO_OFI_REQ'
  200 |         ofi_req = TO_OFI_REQ(error.op_context);
      |                   ^~~~~~~~~~
make[2]: *** [Makefile:1603: mtl_ofi_send_opt.lo] Error 1
make[2]: *** [Makefile:1603: mtl_ofi_iprobe_opt.lo] Error 1
make[2]: *** [Makefile:1603: mtl_ofi.lo] Error 1
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_component.c: In function 'ompi_mtl_ofi_component_init':
/home/floof/fucking_around/rocm_sdk_builder/src_projects/openmpi/ompi/mca/mtl/ofi/mtl_ofi_component.c:992:13: warning: 'FI_MR_BASIC' is deprecated
  992 |          prov->domain_attr->mr_mode = FI_MR_BASIC;
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:1603: mtl_ofi_component.lo] Error 1
make[2]: Leaving directory '/home/floof/fucking_around/rocm_sdk_builder/builddir/015_04_openmpi/ompi/mca/mtl/ofi'
make[1]: *** [Makefile:2710: all-recursive] Error 1
make[1]: Leaving directory '/home/floof/fucking_around/rocm_sdk_builder/builddir/015_04_openmpi/ompi'
make: *** [Makefile:1545: all-recursive] Error 1
build failed: openmpi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions