Ignore:
Timestamp:
Sep 1, 2013, 9:23:52 PM (11 years ago)
Author:
steve
Message:

Changed number of recv buffers to 20

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga_parallel/pypar_extras/mpiextras.c

    r8519 r8962  
    463463/*************************************************************/
    464464static PyObject *send_recv_via_dicts(PyObject *self, PyObject *args) {
     465
    465466  PyObject *send_dict;
    466467  PyObject *recv_dict;
     
    479480
    480481  int ierr;
    481   MPI_Request requests[20];
    482   MPI_Status statuses[20];
     482  MPI_Request requests[40];
     483  MPI_Status statuses[40];
    483484
    484485  Py_ssize_t pos = 0;
     
    500501  num_recv = PyDict_Size(recv_dict);
    501502  //printf("num_recv = %d\n",num_recv);
    502   if (num_recv>10) {
     503  if (num_recv>20) {
    503504    PyErr_SetString(PyExc_RuntimeError,
    504505                    "mpiextras.c; Number of recv communication buffers > 10");
     
    533534  num_send = PyDict_Size(send_dict);
    534535  //printf("num_send = %d\n",num_send);
    535   if (num_send>10) {
     536  if (num_send>20) {
    536537    PyErr_SetString(PyExc_RuntimeError,
    537538                    "mpiextras.c; Number of send communication buffers > 10");
Note: See TracChangeset for help on using the changeset viewer.