biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix warnings with Intel 2021.4
[alexxy/gromacs.git]
/
src
/
external
/
thread_mpi
/
src
/
scatter.cpp
diff --git
a/src/external/thread_mpi/src/scatter.cpp
b/src/external/thread_mpi/src/scatter.cpp
index 03117a34b977c75529c8fb0216b105ba791e65bf..0c1a60762f8d0a49ad7e1603f321fc617016019e 100644
(file)
--- a/
src/external/thread_mpi/src/scatter.cpp
+++ b/
src/external/thread_mpi/src/scatter.cpp
@@
-56,7
+56,7
@@
#include "impl.h"
#include "collective.h"
#include "impl.h"
#include "collective.h"
-
+#include "unused.h"
int tMPI_Scatter(const void* sendbuf, int sendcount, tMPI_Datatype sendtype,
int tMPI_Scatter(const void* sendbuf, int sendcount, tMPI_Datatype sendtype,
@@
-90,7
+90,7
@@
int tMPI_Scatter(const void* sendbuf, int sendcount, tMPI_Datatype sendtype,
{
int i;
size_t sendsize = sendtype->size*sendcount;
{
int i;
size_t sendsize = sendtype->size*sendcount;
- size_t total_send_size = 0;
+
tmpi_unused
size_t total_send_size = 0;
#ifdef USE_COLLECTIVE_COPY_BUFFER
tmpi_bool using_cb;
#endif
#ifdef USE_COLLECTIVE_COPY_BUFFER
tmpi_bool using_cb;
#endif
@@
-227,7
+227,7
@@
int tMPI_Scatterv(const void* sendbuf, int *sendcounts, int *displs,
if (myrank == root)
{
int i;
if (myrank == root)
{
int i;
- size_t total_send_size = 0;
+
tmpi_unused
size_t total_send_size = 0;
#ifdef USE_COLLECTIVE_COPY_BUFFER
tmpi_bool using_cb;
#endif
#ifdef USE_COLLECTIVE_COPY_BUFFER
tmpi_bool using_cb;
#endif