Changeset 8962 for trunk/anuga_core/source/anuga_parallel
- Timestamp:
- Sep 1, 2013, 9:23:52 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga_parallel/pypar_extras/mpiextras.c
r8519 r8962 463 463 /*************************************************************/ 464 464 static PyObject *send_recv_via_dicts(PyObject *self, PyObject *args) { 465 465 466 PyObject *send_dict; 466 467 PyObject *recv_dict; … … 479 480 480 481 int ierr; 481 MPI_Request requests[ 20];482 MPI_Status statuses[ 20];482 MPI_Request requests[40]; 483 MPI_Status statuses[40]; 483 484 484 485 Py_ssize_t pos = 0; … … 500 501 num_recv = PyDict_Size(recv_dict); 501 502 //printf("num_recv = %d\n",num_recv); 502 if (num_recv> 10) {503 if (num_recv>20) { 503 504 PyErr_SetString(PyExc_RuntimeError, 504 505 "mpiextras.c; Number of recv communication buffers > 10"); … … 533 534 num_send = PyDict_Size(send_dict); 534 535 //printf("num_send = %d\n",num_send); 535 if (num_send> 10) {536 if (num_send>20) { 536 537 PyErr_SetString(PyExc_RuntimeError, 537 538 "mpiextras.c; Number of send communication buffers > 10");
Note: See TracChangeset
for help on using the changeset viewer.