Skip to content

Commit

Permalink
Merge pull request #1923 from edgargabriel/pr/aggregator-cleanup
Browse files Browse the repository at this point in the history
io/ompio: move aggregator selection code to a separate file
  • Loading branch information
edgargabriel authored Aug 1, 2016
2 parents 21e7f31 + c0bd872 commit cb00866
Show file tree
Hide file tree
Showing 8 changed files with 1,411 additions and 1,236 deletions.
2 changes: 1 addition & 1 deletion ompi/mca/common/ompio/common_ompio_file_open.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ int mca_common_ompio_file_open (ompi_communicator_t *comm,

ompio_fh->f_get_num_aggregators=mca_io_ompio_get_num_aggregators;
ompio_fh->f_get_bytes_per_agg=mca_io_ompio_get_bytes_per_agg;
ompio_fh->f_set_aggregator_props=ompi_io_ompio_set_aggregator_props;
ompio_fh->f_set_aggregator_props=mca_io_ompio_set_aggregator_props;

/* This fix is needed for data seiving to work with
two-phase collective I/O */
Expand Down
12 changes: 8 additions & 4 deletions ompi/mca/io/ompio/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,25 @@ endif

mcacomponentdir = $(ompilibdir)
mcacomponent_LTLIBRARIES = $(component_install)
mca_io_ompio_la_SOURCES = $(sources)
mca_io_ompio_la_SOURCES = $(headers) $(sources)
mca_io_ompio_la_LDFLAGS = -module -avoid-version
mca_io_ompio_la_LIBADD = $(io_ompio_LIBS) \
$(OMPI_TOP_BUILDDIR)/ompi/mca/common/ompio/lib@OPAL_LIB_PREFIX@mca_common_ompio.la

noinst_LTLIBRARIES = $(component_noinst)
libmca_io_ompio_la_SOURCES = $(sources)
libmca_io_ompio_la_SOURCES = $(headers) $(sources)
libmca_io_ompio_la_LDFLAGS = -module -avoid-version

# Source files

headers = \
io_ompio.h \
io_ompio_request.h \
io_ompio_aggregators.h

sources = \
io_ompio.h \
io_ompio_request.h \
io_ompio.c \
io_ompio_aggregators.c \
io_ompio_component.c \
io_ompio_module.c \
io_ompio_file_set_view.c \
Expand Down
Loading

0 comments on commit cb00866

Please sign in to comment.