How were you trying to link your code with PETSc? Did you use mpif90 or mpif77 wrappers or were you using cc or mpicc wrappers? I ran some basic tests that test the usage of MPI_STATUS_IGNORE using mpif90 (and mpif77) and it works fine. However I was able to generate a similar error as you did when tried to link things with the cc program.
If you are using cc to link could you possibly try to use mpif90 to link your code?
Date: Tue, 07 Oct 2008 16:55:14 +0200
From: "Yann JOBIC" <jobic_at_[hidden]>
Subject: [OMPI users] OMPI link error with petsc 2.3.3
To: Open MPI Users <users_at_[hidden]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
I'm using openmpi 1.3r19400 (ClusterTools 8.0), with sun studio 12, and
I've got this error when linking a PETSc code :
ld: warning: symbol `mpi_fortran_status_ignore_' has differing sizes:
(file /opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so value=0x8; file
/opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so definition taken
Isn't it very strange ?
Have you got any idea on the way to solve it ?