[mvapich-discuss] MPI version bug in OSU Benchmarks

Jonathan Perkins perkinjo at cse.ohio-state.edu
Fri Oct 3 19:33:32 EDT 2014


FYI, the 4.4 branch is located at
https://scm.mvapich.cse.ohio-state.edu/svn/mpi-benchmarks/branches/4.4/

Please let us know if this works well for you.

On Fri, Oct 03, 2014 at 06:44:55PM -0400, Jonathan Perkins wrote:
> Hi Adam.  Thanks for your report.  We actually had a similar patch as
> well as a getopt return value patch pending.  I've just applied these to
> the 4.4 branch and they will be available in the next OMB release.
> 
> On Fri, Oct 03, 2014 at 01:19:21PM -0700, Adam T. Moody wrote:
> > Hello MVAPICH team,
> > Ignacio was compiling the latest OSU Benchmarks using an older MPI and ran
> > into this compile error:
> > 
> > osu_1sc.c: In function 'process_options':
> > osu_1sc.c:308: error: 'WIN_ALLOCATE' undeclared (first use in this function)
> > osu_1sc.c:308: error: (Each undeclared identifier is reported only once
> > osu_1sc.c:308: error: for each function it appears in.)
> > make[2]: *** [osu_1sc.o] Error 1
> > 
> > This file is missing a #if guard to look for MPI 3.  The following fix
> > resolves the issue:
> > 
> >        if ((options.rank0 == 'D' || options.rank1 == 'D')
> > #if MPI_VERSION >= 3
> >            && *win == WIN_ALLOCATE)
> > #else
> >            )
> > #endif
> > 
> > -Adam
> > _______________________________________________
> > mvapich-discuss mailing list
> > mvapich-discuss at cse.ohio-state.edu
> > http://mailman.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
> 
> -- 
> Jonathan Perkins

-- 
Jonathan Perkins


More information about the mvapich-discuss mailing list