Re: [OMPI users] issue with column type in language C

2012-08-19 Thread Christian Perrier
Hi, Indeed I try to make the equivalent of this Fortran program in C. The Fortran version works fine but I have problems now in C. I can't get to exchange between 2 processes a single column. Could you try please to compile and execute the following test code wich simply sends a column from the

Re: [OMPI users] issue with column type in language C

2012-08-19 Thread Rayson Ho
Hi Christian, The code you posted is very similar to another school assignment sent to this list 2 years ago: http://www.open-mpi.org/community/lists/users/2010/10/14619.php At that time, the code was written in Fortran, and now it is written in C - however, the variable names, logic, etc are

[OMPI users] MPI/FORTRAN on a cluster system

2012-08-19 Thread Bill Mulberry
Hi I have a large program written in FORTRAN 77 with a couple of routines written in C++. It has MPI commands built into it to run on a large scale multiprocessor IBM systems. I am now having the task of transferring this program over to a cluster system. Both the multiprocessor and

[OMPI users] issue with column type in language C

2012-08-19 Thread Christian Perrier
Hi, I have a problem with MPI_Senrecv communication where I send columns on edges between processes. For debugging, I show you below a basic example where I initialize a 10x10 matrix ("x0" array) with x_domain=4 and y_domain=4. For the test, I simply initialize the 2D array values with x0[i][j] =