sci-libs/arpack-96-r2 compiles correctly with openmpi, but when you use it in an application, it will result in the following error: MPI_ERR_OP: invalid reduce operation A similar error can be found at http://linuxtoolkit.blogspot.com/2010/08/mpierrorsarefatal-for-arpack-running.html The webpage above shows that this is an compatibility issue of old arpack w.r.t new MPI implementation. And this issue can be solved by forcing the arpack building system to use system mpif.h instead of the bundled one.
Created attachment 262585 [details] Ebuild with the issue solved Solve the compatibility issue by copying the system mpif.h to workdir
Please forgive my laziness. I chose to copy directly the system mpif*.h to PARPACK/SRC/MPI for a straight-forward solution. A cleaner solution can be to remove PARPACK/SRC/MPI/mpif.h and use mpif77 af MPIF77/F77.
fixed in cvs. thanks.
*** Bug 388469 has been marked as a duplicate of this bug. ***