[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.0.3-20-g89fb23e
mysql vizuser
noreply at mpich.org
Wed Apr 17 10:15:34 CDT 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".
The branch, master has been updated
via 89fb23ebb2ae5af69d75fb75e590c4c57e81d238 (commit)
from baaea3c6d08c7f248b6c94aff1dcc5332402428c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/89fb23ebb2ae5af69d75fb75e590c4c57e81d238
commit 89fb23ebb2ae5af69d75fb75e590c4c57e81d238
Author: James Dinan <dinan at mcs.anl.gov>
Date: Wed Apr 17 09:59:55 2013 -0500
Squash ARMCI-MPI build warnings
diff --git a/src/armci/src/buffer.c b/src/armci/src/buffer.c
index f69bb5d..d34be31 100644
--- a/src/armci/src/buffer.c
+++ b/src/armci/src/buffer.c
@@ -309,7 +309,7 @@ int ARMCII_Buf_acc_is_scaled(int datatype, void *scale) {
*/
void ARMCII_Buf_acc_scale(void *buf_in, void *buf_out, int size, int datatype, void *scale) {
int j, nelem;
- int type_size;
+ int type_size = -1;
MPI_Datatype type;
switch (datatype) {
diff --git a/src/armci/src/parmci.c b/src/armci/src/parmci.c
index 69ab556..d7d3e4c 100644
--- a/src/armci/src/parmci.c
+++ b/src/armci/src/parmci.c
@@ -49,27 +49,32 @@ int ARMCI_Free_local(void *ptr) {
#pragma weak ARMCI_Barrier
void ARMCI_Barrier(void) {
- return PARMCI_Barrier();
+ PARMCI_Barrier();
+ return;
}
#pragma weak ARMCI_Fence
void ARMCI_Fence(int proc) {
- return PARMCI_Fence(proc);
+ PARMCI_Fence(proc);
+ return;
}
#pragma weak ARMCI_AllFence
void ARMCI_AllFence(void) {
- return PARMCI_AllFence();
+ PARMCI_AllFence();
+ return;
}
#pragma weak ARMCI_Access_begin
void ARMCI_Access_begin(void *ptr) {
- return PARMCI_Access_begin(ptr);
+ PARMCI_Access_begin(ptr);
+ return;
}
#pragma weak ARMCI_Access_end
void ARMCI_Access_end(void *ptr) {
- return PARMCI_Access_end(ptr);
+ PARMCI_Access_end(ptr);
+ return;
}
#pragma weak ARMCI_Get
@@ -259,12 +264,14 @@ int ARMCI_Destroy_mutexes(void) {
#pragma weak ARMCI_Lock
void ARMCI_Lock(int mutex, int proc) {
- return PARMCI_Lock(mutex, proc);
+ PARMCI_Lock(mutex, proc);
+ return;
}
#pragma weak ARMCI_Unlock
void ARMCI_Unlock(int mutex, int proc) {
- return PARMCI_Unlock(mutex, proc);
+ PARMCI_Unlock(mutex, proc);
+ return;
}
#pragma weak ARMCI_Rmw
@@ -274,12 +281,14 @@ int ARMCI_Rmw(int op, void *ploc, void *prem, int value, int proc) {
#pragma weak armci_msg_barrier
void armci_msg_barrier(void) {
- return parmci_msg_barrier();
+ parmci_msg_barrier();
+ return;
}
#pragma weak armci_msg_group_barrier
void armci_msg_group_barrier(ARMCI_Group *group) {
- return parmci_msg_group_barrier(group);
+ parmci_msg_group_barrier(group);
+ return;
}
#endif
-----------------------------------------------------------------------
Summary of changes:
src/armci/src/buffer.c | 2 +-
src/armci/src/parmci.c | 27 ++++++++++++++++++---------
2 files changed, 19 insertions(+), 10 deletions(-)
hooks/post-receive
--
MPICH primary repository
More information about the commits
mailing list