- 
                Notifications
    You must be signed in to change notification settings 
- Fork 929
Closed
Description
This breaks openmpi builds in other cases as it is used in various places:
ompi/mca/osc/portals4/osc_portals4_active_target.c: OPAL_THREAD_ADD64(&module->opcount, 1);
ompi/mca/osc/portals4/osc_portals4_active_target.c: OPAL_THREAD_ADD64(&module->opcount, 1);
ompi/mca/osc/pt2pt/osc_pt2pt_passive_target.c: lock->serial_number = OPAL_THREAD_ADD64((int64_t ) &module->lock_serial_number, 1);
ompi/mca/btl/portals4/btl_portals4.c: frag->segments[0].key = OPAL_THREAD_ADD64(&(portals4_btl->portals_rdma_key), 1);
ompi/mca/btl/portals4/btl_portals4.c: frag->segments[0].key = OPAL_THREAD_ADD64(&(portals4_btl->portals_rdma_key), 1);
ompi/mca/mtl/portals4/mtl_portals4_recv.c: ptl_request->opcount = OPAL_THREAD_ADD64((int64_t) &ompi_mtl_portals4.recv_opcount, 1);
ompi/mca/mtl/portals4/mtl_portals4_send.c: ptl_request->opcount = OPAL_THREAD_ADD64((int64_t*)&ompi_mtl_portals4.opcount, 1);
When compiling on armv5 I get:
/home/iurt/rpmbuild/BUILD/openmpi-1.10.0/ompi/.libs/libmpi.so: undefined reference to `OPAL_THREAD_ADD64'