@@ -316,7 +316,7 @@ ucs_status_t mca_btl_uct_am_handler (void *arg, void *data, size_t length, unsig
316316 return UCS_OK ;
317317}
318318
319- #if UCT_API > UCT_VERSION (1 , 7 )
319+ #if UCT_API >= UCT_VERSION (1 , 7 )
320320static int mca_btl_uct_component_process_uct_md (uct_component_h component , uct_md_resource_desc_t * md_desc ,
321321 char * * allowed_ifaces )
322322#else
@@ -356,7 +356,7 @@ static int mca_btl_uct_component_process_uct_md (uct_md_resource_desc_t *md_desc
356356 md = OBJ_NEW (mca_btl_uct_md_t );
357357
358358
359- #if UCT_API > UCT_VERSION (1 , 7 )
359+ #if UCT_API >= UCT_VERSION (1 , 7 )
360360 uct_md_config_read (component , NULL , NULL , & uct_config );
361361 uct_md_open (component , md_desc -> md_name , uct_config , & md -> uct_md );
362362#else
@@ -388,7 +388,7 @@ static int mca_btl_uct_component_process_uct_md (uct_md_resource_desc_t *md_desc
388388 return OPAL_ERR_NOT_AVAILABLE ;
389389 }
390390
391- #if UCT_API > UCT_VERSION (1 , 7 )
391+ #if UCT_API >= UCT_VERSION (1 , 7 )
392392 module -> uct_component = component ;
393393#endif
394394
@@ -417,7 +417,7 @@ static int mca_btl_uct_component_process_uct_md (uct_md_resource_desc_t *md_desc
417417 return OPAL_SUCCESS ;
418418}
419419
420- #if UCT_API > UCT_VERSION (1 , 7 )
420+ #if UCT_API >= UCT_VERSION (1 , 7 )
421421static int mca_btl_uct_component_process_uct_component (uct_component_h component , char * * allowed_ifaces )
422422{
423423 uct_component_attr_t attr = {.field_mask = UCT_COMPONENT_ATTR_FIELD_NAME |
@@ -451,7 +451,7 @@ static int mca_btl_uct_component_process_uct_component (uct_component_h componen
451451
452452 return OPAL_SUCCESS ;
453453}
454- #endif /* UCT_API > UCT_VERSION(1, 7) */
454+ #endif /* UCT_API >= UCT_VERSION(1, 7) */
455455
456456/*
457457 * UCT component initialization:
@@ -487,7 +487,7 @@ static mca_btl_base_module_t **mca_btl_uct_component_init (int *num_btl_modules,
487487
488488 mca_btl_uct_component .module_count = 0 ;
489489
490- #if UCT_API > UCT_VERSION (1 , 7 )
490+ #if UCT_API >= UCT_VERSION (1 , 7 )
491491 uct_component_h * components ;
492492 unsigned num_components ;
493493
@@ -521,7 +521,7 @@ static mca_btl_base_module_t **mca_btl_uct_component_init (int *num_btl_modules,
521521
522522 uct_release_md_resource_list (resources );
523523
524- #endif /* UCT_API > UCT_VERSION(1, 7) */
524+ #endif /* UCT_API >= UCT_VERSION(1, 7) */
525525
526526 opal_argv_free (allowed_ifaces );
527527 mca_btl_uct_modex_send ();
0 commit comments