Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 354993 - sci-libs/arpack-96-r2 does not work with sys-cluster/openmpi-1.4.2
Summary: sci-libs/arpack-96-r2 does not work with sys-cluster/openmpi-1.4.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
: 388469 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-15 10:19 UTC by Yang Zhang
Modified: 2011-10-25 19:59 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild with the issue solved (arpack-96-r3.ebuild,3.09 KB, text/plain)
2011-02-15 10:21 UTC, Yang Zhang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yang Zhang 2011-02-15 10:19:41 UTC
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.
Comment 1 Yang Zhang 2011-02-15 10:21:26 UTC
Created attachment 262585 [details]
Ebuild with the issue solved

Solve the compatibility issue by copying the system mpif.h to workdir
Comment 2 Yang Zhang 2011-02-15 10:24:55 UTC
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.
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2011-03-07 18:01:33 UTC
fixed in cvs. thanks.
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2011-10-25 19:59:11 UTC
*** Bug 388469 has been marked as a duplicate of this bug. ***