Hi Hatem,
I am very probably gone today by 5.30, can we maybe reschedule our
meeting for tomorrow, maybe 11am?
Best regards
Edgar
brbar...@osl.iu.edu wrote:
Author: brbarret
Date: 2005-10-27 14:45:14 -0500 (Thu, 27 Oct 2005)
New Revision: 422
Added:
trunk/ibm/onesided/c_create_no_free.c
Modified:
trunk/ibm/onesided/Makefile.am
Log:
* add test to make sure something somewhat interesting happens if we forget to
free a window
Modified: trunk/ibm/onesided/Makefile.am
===================================================================
--- trunk/ibm/onesided/Makefile.am 2005-10-27 15:53:14 UTC (rev 421)
+++ trunk/ibm/onesided/Makefile.am 2005-10-27 19:45:14 UTC (rev 422)
@@ -13,6 +13,7 @@
c_programs = \
c_create \
c_create_info \
+ c_create_no_free \
c_win_attr \
c_win_errhandler \
c_fence_simple \
@@ -48,6 +49,10 @@
c_create_info_LDADD = $(libs)
c_create_info_DEPENDENCIES = $(deps)
+c_create_no_free_SOURCES = c_create_no_free.c
+c_create_no_free_LDADD = $(libs)
+c_create_no_free_DEPENDENCIES = $(deps)
+
c_win_attr_SOURCES = c_win_attr.c
c_win_attr_LDADD = $(libs)
c_win_attr_DEPENDENCIES = $(deps)
Added: trunk/ibm/onesided/c_create_no_free.c
===================================================================
--- trunk/ibm/onesided/c_create_no_free.c 2005-10-27 15:53:14 UTC (rev
421)
+++ trunk/ibm/onesided/c_create_no_free.c 2005-10-27 19:45:14 UTC (rev
422)
@@ -0,0 +1,31 @@
+/*
+ * $HEADER$
+ *
+ * Purpose of test:
+ * - check that simple window create / destroy works properly
+ */
+
+#include <mpi.h>
+
+#include "ompitest_error.h"
+
+int
+main(int argc, char *argv[])
+{
+ int buffer, rank, size;
+ MPI_Win Win;
+ MPI_Aint sizeOfInt;
+
+ MPI_Init(&argc, &argv);
+
+ MPI_Comm_rank(MPI_COMM_WORLD, &rank);
+ MPI_Comm_size(MPI_COMM_WORLD, &size);
+
+ MPI_Type_extent(MPI_INT, &sizeOfInt);
+
+ MPI_Win_create(&buffer, sizeOfInt, 1, MPI_INFO_NULL,
+ MPI_COMM_WORLD, &Win);
+
+ MPI_Finalize();
+ return 0;
+}
_______________________________________________
svn mailing list
s...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/svn
--
Edgar Gabriel
Assistant Professor
Department of Computer Science email:gabr...@cs.uh.edu
University of Houston http://www.cs.uh.edu/~gabriel
Philip G. Hoffman Hall, Room 524 Tel: +1 (713) 743-3857
Houston, TX-77204, USA Fax: +1 (713) 743-3335