diff --git a/ompi/mca/btl/smcuda/btl_smcuda.c b/ompi/mca/btl/smcuda/btl_smcuda.c index c127d86427..d1bd855cdf 100644 --- a/ompi/mca/btl/smcuda/btl_smcuda.c +++ b/ompi/mca/btl/smcuda/btl_smcuda.c @@ -669,8 +669,8 @@ int mca_btl_smcuda_add_procs( mca_btl_smcuda_component.num_smp_procs += n_local_procs; /* make sure we have enough eager fragmnents for each process */ - return_code = ompi_free_list_resize(&mca_btl_smcuda_component.sm_frags_eager, - mca_btl_smcuda_component.num_smp_procs * 2); + return_code = ompi_free_list_resize_mt(&mca_btl_smcuda_component.sm_frags_eager, + mca_btl_smcuda_component.num_smp_procs * 2); if (OMPI_SUCCESS != return_code) goto CLEANUP;