[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Condor-users] Passing pointer to int list between MPI_Send and MPI_Recv
- Date: Wed, 3 Jan 2007 19:34:49 -0500
- From: "Christopher Jon Jursa" <cjursa@xxxxxxxxxxxx>
- Subject: [Condor-users] Passing pointer to int list between MPI_Send and MPI_Recv
I have a simple program to pass an array and the array size between two
The main function works as follows. If the rank is 0, it is the
coordinator, if greater than 0, it is the worker.
I have the coordinator dynamically allocate memory to an int pointer. I am
trying to pass this pointer between the coordinator and the worker. I think
I am having an syntactical issue.
My code is at http://gis.sis.pitt.edu/temp/chris/mpi/simple2/test.c
The output is at http://gis.sis.pitt.edu/temp/chris/mpi/simple2/test2.out
What am I doing wrong? This had me tied up for hours.
Christopher Jon Jursa
School of Information Sciences
University of Pittsburgh