On Sun, Mar 17, 2024 at 06:30:27PM +0000, Thorsten Glaser wrote:
> In file included from ../../../../../../opal/mca/btl/ofi/btl_ofi_rdma.c:14:
> ../../../../../../opal/mca/btl/ofi/btl_ofi_rdma.c: In function 
> 'mca_btl_ofi_get':
> ../../../../../../opal/mca/btl/ofi/btl_ofi_rdma.h:33:13: error: implicit 
> declaration of function 'OPAL_THREAD_ADD_FETCH64'; did you mean 
> 'OPAL_THREAD_ADD_FETCH32'? [-Werror=implicit-function-declaration]
>    33 |             OPAL_THREAD_ADD_FETCH64(&(module)->outstanding_rdma, 1);  
>                   \
>       |             ^~~~~~~~~~~~~~~~~~~~~~~
> ../../../../../../opal/mca/btl/ofi/btl_ofi_rdma.c:70:5: note: in expansion of 
> macro 'MCA_BTL_OFI_NUM_RDMA_INC'
>    70 |     MCA_BTL_OFI_NUM_RDMA_INC(ofi_btl);
OPAL_THREAD_ADD_FETCH64 is defined under #if OPAL_HAVE_ATOMIC_MATH_64, and
I suspect not all of its uses also are. And I assume this arch doesn't
have 64-bit atomics.

-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature

Reply via email to