Skip to content

Commit 435b993

Browse files
committed
coll/han: workaround for nvcc compiler
the nvcc compiler seems to have problems with static initialization of 'c' structs with certain kinds of pointers. This patch addresses that issue. Related to #11384 Signed-off-by: Howard Pritchard <howardp@lanl.gov>
1 parent ff1f1b7 commit 435b993

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ompi/mca/coll/han/coll_han_component.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ mca_coll_han_component_t mca_coll_han_component = {
9090
/* han-component specific information */
9191

9292
/* (default) priority */
93-
20,
93+
.han_priority = 20,
94+
/* workaround for nvcc compiler */
95+
.dynamic_rules_filename = NULL,
9496
};
9597

9698
/*

0 commit comments

Comments
 (0)