intel / mpi-benchmarks

145 stars 63 forks source link

Undeclared IMB_Barrier() warnings #14

Closed jsquyres closed 5 years ago

jsquyres commented 5 years ago

Compiling the v2019.1 tarball results in many warnings about IMB_Barrier() not being declared. For example:

In file included from IMB_allreduce.c:73:
IMB_allreduce.c: In function ‘IMB_allreduce’:
IMB_declare.h:257:17: warning: implicit declaration of function ‘IMB_Barrier’; did you mean ‘IMB_barrier’? [-Wimplicit-function-declaration]
                 IMB_Barrier(comm);          \
                 ^~~~~~~~~~~
IMB_allreduce.c:150:9: note: in expansion of macro ‘IMB_do_n_barriers’
         IMB_do_n_barriers(c_info->communicator, N_BARR);
         ^~~~~~~~~~~~~~~~~
VinnitskiV commented 5 years ago

Hi @jsquyres Thank you for the contribution. This problem will be fixed in next release.

VinnitskiV commented 5 years ago

Fixed.